File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
src/main/java/net/imagej/ops/filter/shadow Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 11
22package net .imagej .ops .filter .shadow ;
33
4- import java .util .Arrays ;
5-
64import net .imagej .Extents ;
75import net .imagej .Position ;
86import 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 ;
You can’t perform that action at this time.
0 commit comments