public enum ThresholdingMethod extends Enum<ThresholdingMethod>
Enum Constant and Description |
---|
BERNSEN
Bernsen's local thresholding.
|
CONTRAST
Landini's contrast-based local thresholding.
|
FIXED
Threshold using a fixed, user-provided value.
|
HUANG
Huang's fuzzy thresholding method.
|
IJ_ISODATA
ImageJ's original implementation of the IsoData algorithm.
|
INTERMODES
Intermodes thresholding method.
|
ISODATA
Iterative procedure based on the isodata algorithm.
|
LI
Li's minimum cross entropy thresholding method.
|
MAX_ENTROPY
Kapur-Sahoo-Wrong's maximum entropy thresholding method.
|
MEAN
Threshold as mean of the greyscale data.
|
MEAN_LOCAL
Mean-based local thresholding.
|
MEDIAN
Median-based local thresholding.
|
MIDGREY
Local thresholding based on the mean of minimum and maximum values.
|
MIN_ERROR
Minimum error thresholding.
|
MINIMUM
Minimum thresholding for bimodal histograms.
|
MOMENTS
Moment-preserving thresholding.
|
NIBLACK
Niblack's local thresholding.
|
OTSU
Otsu's thresholding algorithm.
|
OTSU_LOCAL
Local variant of Otsu's thresholding algorithm.
|
PERCENTILE
Percentile thresholding.
|
PHANSALKAR
Phansalkar's adaptive local thresholding.
|
RENYI_ENTROPY
Threshold selection using Renyi's entropy.
|
SAUVOLA
Sauvola's local thresholding.
|
TRIANGLE
Triangle method of thresholding.
|
YEN
Yen's thresholdong method.
|
Modifier and Type | Method and Description |
---|---|
static ThresholdingMethod |
fromString(String s) |
ij.process.AutoThresholder.Method |
toGlobalMethod()
Translate this value to a
AutoThresholder.Method value. |
String |
toLocalMethod()
Translate this value to a string representation of a local thresholding
algorithm.
|
static ThresholdingMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThresholdingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThresholdingMethod FIXED
public static final ThresholdingMethod HUANG
public static final ThresholdingMethod IJ_ISODATA
public static final ThresholdingMethod INTERMODES
public static final ThresholdingMethod ISODATA
public static final ThresholdingMethod LI
public static final ThresholdingMethod MAX_ENTROPY
public static final ThresholdingMethod MEAN
public static final ThresholdingMethod MIN_ERROR
public static final ThresholdingMethod MINIMUM
public static final ThresholdingMethod MOMENTS
public static final ThresholdingMethod OTSU
public static final ThresholdingMethod PERCENTILE
public static final ThresholdingMethod RENYI_ENTROPY
public static final ThresholdingMethod TRIANGLE
public static final ThresholdingMethod YEN
public static final ThresholdingMethod BERNSEN
public static final ThresholdingMethod CONTRAST
public static final ThresholdingMethod MEAN_LOCAL
public static final ThresholdingMethod MEDIAN
public static final ThresholdingMethod MIDGREY
public static final ThresholdingMethod NIBLACK
public static final ThresholdingMethod OTSU_LOCAL
public static final ThresholdingMethod PHANSALKAR
public static final ThresholdingMethod SAUVOLA
public static ThresholdingMethod[] values()
for (ThresholdingMethod c : ThresholdingMethod.values()) System.out.println(c);
public static ThresholdingMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ij.process.AutoThresholder.Method toGlobalMethod()
AutoThresholder.Method
value.
This method allows to get a value suitable to be used as argument to the
AutoThresholder.getThreshold(ij.process.AutoThresholder.Method, int[])
method.public String toLocalMethod()
Auto_Local_Threshold.exec(ij.ImagePlus, java.lang.String, int, double, double, boolean)
method.public static ThresholdingMethod fromString(String s)
Copyright © 2021. All rights reserved.