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

refactor

parent 1ef15b55
No related branches found
No related tags found
2 merge requests!47Feature : Multi-channel and Binning,!41Resolve "Consider rescaling (binning) large images"
...@@ -122,7 +122,7 @@ public class AmplitudeClassification< T extends RealType< T > & NativeType< T > ...@@ -122,7 +122,7 @@ public class AmplitudeClassification< T extends RealType< T > & NativeType< T >
{ {
AmplitudeClassification< T > classification = AmplitudeClassification< T > classification =
new AmplitudeClassification<>( input, factory ); new AmplitudeClassification<>( input, factory );
return classification.getAmplitudeImg(); return classification.computeAmplitudeImg();
} }
/** /**
* @param max the image containing only the values of local maximums * @param max the image containing only the values of local maximums
...@@ -238,7 +238,7 @@ public class AmplitudeClassification< T extends RealType< T > & NativeType< T > ...@@ -238,7 +238,7 @@ public class AmplitudeClassification< T extends RealType< T > & NativeType< T >
return output; return output;
} }
public Img< T > getAmplitudeImg() throws DataValidationException public Img< T > computeAmplitudeImg() throws DataValidationException
{ {
Img< T > maximums = ExtremaDetection.findMaxima( input, factory ); Img< T > maximums = ExtremaDetection.findMaxima( input, factory );
Img< T > minimums = ExtremaDetection.findMinima( input, factory ); Img< T > minimums = ExtremaDetection.findMinima( input, factory );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment