Skip to content
Snippets Groups Projects
Commit d3667e48 authored by Céline  TREBEAU's avatar Céline TREBEAU
Browse files

Refactor

parent a051e183
No related branches found
No related tags found
1 merge request!41Resolve "Consider rescaling (binning) large images"
......@@ -134,11 +134,11 @@ public class Classification< T extends RealType< T > & NativeType< T > >
/* Classification according to maximum amplitude */
Img< BitType > amplitudeImg = AmplitudeClassification.run( input, factory, amplitudeThreshold );
ImageJFunctions.show( amplitudeImg );
ImageJFunctions.show( amplitudeImg, "amplitude image" );
/* Classification according to local intensity*/
Img< BitType > otsuImg = OtsuClassification.run( input, factory, otsuThreshold );
ImageJFunctions.show( Objects.requireNonNull( otsuImg ) );
ImageJFunctions.show( Objects.requireNonNull( otsuImg ), "otsu output" );
/* Intersection of both classification */
this.output = interClassification( amplitudeImg, amplitudeImg.factory(), otsuImg );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment