java.lang.Object
ij.process.AutoThresholder
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static doubleA(int[] y, int j) protected static doubleB(int[] y, int j) intbilevel(int[] data) static booleanbimodalTest(double[] y) protected static doubleC(int[] y, int j) static String[]intgetThreshold(AutoThresholder.Method method, int[] histogram) Calculates and returns a threshold using the specified method and histogram.intgetThreshold(String mString, int[] histogram) static intHuang(int[] data) static intHuang2(int[] data) static intIJDefault(int[] data) static intIntermodes(int[] data) static intIsoData(int[] data) static intLi(int[] data) static intMaxEntropy(int[] data) static intMean(int[] data) static intMinErrorI(int[] data) static intMinimum(int[] data) static intMoments(int[] data) static intOtsu(int[] data) protected static doublepartialSum(int[] y, int j) static intPercentile(int[] data) static intRenyiEntropy(int[] data) voidsetBilevelSubractOne(boolean b) static intShanbhag(int[] data) static intTriangle(int[] data) static intYen(int[] data)
-
Constructor Details
-
AutoThresholder
public AutoThresholder()
-
-
Method Details
-
getMethods
-
getThreshold
Calculates and returns a threshold using the specified method and histogram. -
getThreshold
-
bilevel
public int bilevel(int[] data) -
IJDefault
public static int IJDefault(int[] data) -
Huang
public static int Huang(int[] data) -
Huang2
public static int Huang2(int[] data) -
bimodalTest
public static boolean bimodalTest(double[] y) -
Intermodes
public static int Intermodes(int[] data) -
IsoData
public static int IsoData(int[] data) -
Li
public static int Li(int[] data) -
MaxEntropy
public static int MaxEntropy(int[] data) -
Mean
public static int Mean(int[] data) -
MinErrorI
public static int MinErrorI(int[] data) -
A
protected static double A(int[] y, int j) -
B
protected static double B(int[] y, int j) -
C
protected static double C(int[] y, int j) -
Minimum
public static int Minimum(int[] data) -
Moments
public static int Moments(int[] data) -
Otsu
public static int Otsu(int[] data) -
Percentile
public static int Percentile(int[] data) -
partialSum
protected static double partialSum(int[] y, int j) -
RenyiEntropy
public static int RenyiEntropy(int[] data) -
Shanbhag
public static int Shanbhag(int[] data) -
Triangle
public static int Triangle(int[] data) -
Yen
public static int Yen(int[] data) -
setBilevelSubractOne
public void setBilevelSubractOne(boolean b)
-