File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/test/java/net/imglib2/algorithm/hough Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -119,8 +119,8 @@ public < T extends RealType< T > > void testHoughLineTransformToTarget() throws
119119 HoughTransforms .voteLines ( tpImg , votespace );
120120
121121 // compare expected / actual dimensions
122- int height = groundTruth .getHeight ();
123- int width = groundTruth .getWidth ();
122+ final int height = groundTruth .getHeight ();
123+ final int width = groundTruth .getWidth ();
124124 assertEquals ( "Ground truth and result height do not match." , height , outputDims [ 1 ] );
125125 assertEquals ( "Ground truth and result width do not match." , width , outputDims [ 0 ] );
126126
@@ -154,8 +154,8 @@ public < T extends RealType< T > > void testPickPeaks()
154154 final UnsignedByteType minPeak = Util .getTypeFromInterval ( votespace ).createVariable ();
155155 minPeak .setReal ( 10 );
156156
157- List < Point > peaks = HoughTransforms .pickLinePeaks ( votespace , minPeak );
158- for ( Point p : peaks )
157+ final List < Point > peaks = HoughTransforms .pickLinePeaks ( votespace , minPeak );
158+ for ( final Point p : peaks )
159159 {
160160 // assert dimension 0
161161 assertEquals ( expected [ index ++ ], p .getLongPosition ( 0 ), 0 );
You can’t perform that action at this time.
0 commit comments