Skip to content

Commit bf6e56a

Browse files
committed
DefaultShadows: cleanup
Removed testing printlines and imports
1 parent 96daac5 commit bf6e56a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 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.Ops;
@@ -65,7 +63,6 @@ public RandomAccessibleInterval<T> calculate(
6563
}
6664

6765
}
68-
System.out.println("done");
6966

7067
return output;
7168

@@ -80,17 +77,13 @@ private void computePlanar(final Position planePos,
8077
final double cosTheta = Math.cos(theta);
8178
final double sinTheta = Math.sin(theta);
8279

83-
System.out.println("Theta = (" + cosTheta + ", " + sinTheta + ")");
84-
8580
// kernel equal to unit vector of (x dot angle)
8681
for (int i = 0; i < kernel.length; i++) {
8782
kernel[i] = 2 * (cos[i] * cosTheta + sin[i] * sinTheta);
8883
}
8984
// N.B. the rules of the surrounding pixels do not apply to the center pixel
9085
kernel[4] = 1;
9186

92-
System.out.println(Arrays.toString(kernel));
93-
9487
scale = 0;
9588
for (final double d : kernel)
9689
scale += d;

0 commit comments

Comments
 (0)