File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
src/main/java/net/imagej/ops/filter/shadow Expand file tree Collapse file tree 1 file changed +0
-6
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 .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 ;
You can’t perform that action at this time.
0 commit comments