Enum OpenCVBorderMode
- java.lang.Object
-
- java.lang.Enum<OpenCVBorderMode>
-
- science.aist.imaging.opencv.imageprocessing.domain.OpenCVBorderMode
-
- All Implemented Interfaces:
Serializable
,Comparable<OpenCVBorderMode>
public enum OpenCVBorderMode extends Enum<OpenCVBorderMode>
opencv border mode types
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BORDER_CONSTANT
BORDER_DEFAULT
BORDER_ISOLATED
BORDER_REFLECT
BORDER_REFLECT_101
BORDER_REFLECT101
BORDER_REPLICATE
BORDER_TRANSPARENT
BORDER_WRAP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpenCVBorderMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpenCVBorderMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BORDER_CONSTANT
public static final OpenCVBorderMode BORDER_CONSTANT
-
BORDER_REPLICATE
public static final OpenCVBorderMode BORDER_REPLICATE
-
BORDER_TRANSPARENT
public static final OpenCVBorderMode BORDER_TRANSPARENT
-
BORDER_ISOLATED
public static final OpenCVBorderMode BORDER_ISOLATED
-
BORDER_DEFAULT
public static final OpenCVBorderMode BORDER_DEFAULT
-
BORDER_REFLECT
public static final OpenCVBorderMode BORDER_REFLECT
-
BORDER_REFLECT101
public static final OpenCVBorderMode BORDER_REFLECT101
-
BORDER_REFLECT_101
public static final OpenCVBorderMode BORDER_REFLECT_101
-
BORDER_WRAP
public static final OpenCVBorderMode BORDER_WRAP
-
-
Method Detail
-
values
public static OpenCVBorderMode[] 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 (OpenCVBorderMode c : OpenCVBorderMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenCVBorderMode 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
-
-