- java.lang.Object
-
- ij.process.AutoThresholder
-
public class AutoThresholder extends java.lang.Object
Autothresholding methods (limited to 256 bin histograms) from the Auto_Threshold plugin (http://fiji.sc/Auto_Threshold) by G.Landini at bham dot ac dot uk).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AutoThresholder.Method
-
Constructor Summary
Constructors Constructor Description AutoThresholder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String[]
getMethods()
int
getThreshold(AutoThresholder.Method method, int[] histogram)
Calculates and returns a threshold using the specified method and 256 bin histogram.int
getThreshold(java.lang.String mString, int[] histogram)
-
-
-
Method Detail
-
getMethods
public static java.lang.String[] getMethods()
-
getThreshold
public int getThreshold(AutoThresholder.Method method, int[] histogram)
Calculates and returns a threshold using the specified method and 256 bin histogram.
-
getThreshold
public int getThreshold(java.lang.String mString, int[] histogram)
-
-