Enum ConnectedComponentsTypesEnum
- java.lang.Object
-
- java.lang.Enum<ConnectedComponentsTypesEnum>
-
- edu.wpi.grip.generated.opencv_imgproc.enumeration.ConnectedComponentsTypesEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ConnectedComponentsTypesEnum>
public enum ConnectedComponentsTypesEnum extends java.lang.Enum<ConnectedComponentsTypesEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CC_STAT_AREA
The total area (in pixels) of the connected componentCC_STAT_HEIGHT
The vertical size of the bounding boxCC_STAT_LEFT
The leftmost (x) coordinate which is the inclusive start of the bounding box in the horizontal direction.CC_STAT_MAX
CC_STAT_TOP
The topmost (y) coordinate which is the inclusive start of the bounding box in the vertical direction.CC_STAT_WIDTH
The horizontal size of the bounding box
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectedComponentsTypesEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConnectedComponentsTypesEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CC_STAT_LEFT
public static final ConnectedComponentsTypesEnum CC_STAT_LEFT
The leftmost (x) coordinate which is the inclusive start of the bounding box in the horizontal direction.
-
CC_STAT_TOP
public static final ConnectedComponentsTypesEnum CC_STAT_TOP
The topmost (y) coordinate which is the inclusive start of the bounding box in the vertical direction.
-
CC_STAT_WIDTH
public static final ConnectedComponentsTypesEnum CC_STAT_WIDTH
The horizontal size of the bounding box
-
CC_STAT_HEIGHT
public static final ConnectedComponentsTypesEnum CC_STAT_HEIGHT
The vertical size of the bounding box
-
CC_STAT_AREA
public static final ConnectedComponentsTypesEnum CC_STAT_AREA
The total area (in pixels) of the connected component
-
CC_STAT_MAX
public static final ConnectedComponentsTypesEnum CC_STAT_MAX
-
-
Method Detail
-
values
public static ConnectedComponentsTypesEnum[] 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 (ConnectedComponentsTypesEnum c : ConnectedComponentsTypesEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectedComponentsTypesEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-