public class AutoThresholder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AutoThresholder.Method |
Constructor and Description |
---|
AutoThresholder() |
Modifier and Type | Method and Description |
---|---|
static String[] |
getMethods() |
int |
getThreshold(AutoThresholder.Method method,
int[] histogram)
Calculates and returns a threshold using the specified
method and 256 bin histogram.
|
int |
getThreshold(String mString,
int[] histogram) |
public static String[] getMethods()
public int getThreshold(AutoThresholder.Method method, int[] histogram)
public int getThreshold(String mString, int[] histogram)