Enum OpenCVFeatures2d
- java.lang.Object
-
- java.lang.Enum<OpenCVFeatures2d>
-
- science.aist.imaging.opencv.imageprocessing.domain.OpenCVFeatures2d
-
- All Implemented Interfaces:
Serializable
,Comparable<OpenCVFeatures2d>
public enum OpenCVFeatures2d extends Enum<OpenCVFeatures2d>
Enum which specifies the opencv output image creation
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
Output image matrix will be created (Mat::create), i.e.DRAW_OVER_OUTIMG
Output image matrix will not be created (Mat::create).DRAW_RICH_KEYPOINTS
For each keypoint the circle around keypoint with keypoint size and orientation will be drawn.NOT_DRAW_SINGLE_POINTS
Single keypoints will not be drawn.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpenCVFeatures2d
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpenCVFeatures2d[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final OpenCVFeatures2d DEFAULT
Output image matrix will be created (Mat::create), i.e. existing memory of output image may be reused. Two source image, matches and single keypoints will be drawn. For each keypoint only the center point will be drawn (without the circle around keypoint with keypoint size and orientation).
-
DRAW_OVER_OUTIMG
public static final OpenCVFeatures2d DRAW_OVER_OUTIMG
Output image matrix will not be created (Mat::create). Matches will be drawn on existing content of output image.
-
NOT_DRAW_SINGLE_POINTS
public static final OpenCVFeatures2d NOT_DRAW_SINGLE_POINTS
Single keypoints will not be drawn.
-
DRAW_RICH_KEYPOINTS
public static final OpenCVFeatures2d DRAW_RICH_KEYPOINTS
For each keypoint the circle around keypoint with keypoint size and orientation will be drawn.
-
-
Method Detail
-
values
public static OpenCVFeatures2d[] 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 (OpenCVFeatures2d c : OpenCVFeatures2d.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenCVFeatures2d 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
-
-