Enum OpenCVThresholdType
- java.lang.Object
-
- java.lang.Enum<OpenCVThresholdType>
-
- science.aist.imaging.opencv.imageprocessing.domain.OpenCVThresholdType
-
- All Implemented Interfaces:
Serializable
,Comparable<OpenCVThresholdType>
public enum OpenCVThresholdType extends Enum<OpenCVThresholdType>
OpenCV Threshold type
OpenCV ThresholdFunction types- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARY
BINARY_INV
MASK
OTSU
TOZERO
TOZERO_INV
TRIANLGE
TRUNC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpenCVThresholdType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpenCVThresholdType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BINARY
public static final OpenCVThresholdType BINARY
-
BINARY_INV
public static final OpenCVThresholdType BINARY_INV
-
OTSU
public static final OpenCVThresholdType OTSU
-
MASK
public static final OpenCVThresholdType MASK
-
TOZERO
public static final OpenCVThresholdType TOZERO
-
TOZERO_INV
public static final OpenCVThresholdType TOZERO_INV
-
TRIANLGE
public static final OpenCVThresholdType TRIANLGE
-
TRUNC
public static final OpenCVThresholdType TRUNC
-
-
Method Detail
-
values
public static OpenCVThresholdType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OpenCVThresholdType c : OpenCVThresholdType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenCVThresholdType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-