File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/net/imglib2/algorithm/gradient Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -180,8 +180,8 @@ public static < T extends NumericType< T > > void gradientCentralDifference( fin
180180 shiftback [ d ] = min [ d ] - max [ d ];
181181
182182 final RandomAccess < T > result = gradient .randomAccess ();
183- final RandomAccess < T > back = source .randomAccess ( Intervals .translate ( gradient , 1 , dimension ) );
184- final RandomAccess < T > front = source .randomAccess ( Intervals .translate ( gradient , - 1 , dimension ) );
183+ final RandomAccess < T > back = source .randomAccess ( Intervals .translate ( gradient , - 1 , dimension ) );
184+ final RandomAccess < T > front = source .randomAccess ( Intervals .translate ( gradient , 1 , dimension ) );
185185
186186 result .setPosition ( min );
187187 back .setPosition ( min );
You can’t perform that action at this time.
0 commit comments