Skip to content

Commit 2eabf99

Browse files
committed
DefaultShadows: cleanup
Removed testing printlines and imports
1 parent 7bf30c3 commit 2eabf99

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/net/imagej/ops/filter/shadow/DefaultShadows.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11

22
package net.imagej.ops.filter.shadow;
33

4-
import java.util.Arrays;
5-
64
import net.imagej.Extents;
75
import net.imagej.Position;
86
import net.imagej.ops.OpService;
@@ -84,17 +82,13 @@ private void computePlanar(final Position planePos,
8482
final double cosTheta = Math.cos(theta);
8583
final double sinTheta = Math.sin(theta);
8684

87-
System.out.println("Theta = (" + cosTheta + ", " + sinTheta + ")");
88-
8985
// kernel equal to unit vector of (x dot angle)
9086
for (int i = 0; i < kernel.length; i++) {
9187
kernel[i] = 2 * (cos[i] * cosTheta + sin[i] * sinTheta);
9288
}
9389
// N.B. the rules of the surrounding pixels do not apply to the center pixel
9490
kernel[4] = 1;
9591

96-
System.out.println(Arrays.toString(kernel));
97-
9892
scale = 0;
9993
for (final double d : kernel)
10094
scale += d;

0 commit comments

Comments
 (0)