Package net.haesleinhuepf.clij2.plugins
Class AutoThresholderImageJ1
- java.lang.Object
-
- net.haesleinhuepf.clij2.plugins.AutoThresholderImageJ1
-
public class AutoThresholderImageJ1 extends Object
Copied from https://github.com/imagej/imagej1/blob/master/ij/process/AutoThresholder.java To reduce dependencies towards ImageJ1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAutoThresholderImageJ1.Method
-
Constructor Summary
Constructors Constructor Description AutoThresholderImageJ1()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String[]getMethods()intgetThreshold(AutoThresholder.Method method, int[] histogram)Calculates and returns a threshold using the specified method and 256 bin histogram.intgetThreshold(String mString, int[] histogram)
-
-
-
Method Detail
-
getMethods
public static 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(String mString, int[] histogram)
-
-