Enum HoughModesEnum
- java.lang.Object
-
- java.lang.Enum<HoughModesEnum>
-
- edu.wpi.grip.generated.opencv_imgproc.enumeration.HoughModesEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HoughModesEnum>
public enum HoughModesEnum extends java.lang.Enum<HoughModesEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HOUGH_GRADIENT
basically *21HT*, described in @cite Yuen90HOUGH_MULTI_SCALE
multi-scale variant of the classical Hough transform.HOUGH_PROBABILISTIC
probabilistic Hough transform (more efficient in case if the picture contains a few long linear segments).HOUGH_STANDARD
classical or standard Hough transform.
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HoughModesEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HoughModesEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HOUGH_STANDARD
public static final HoughModesEnum HOUGH_STANDARD
classical or standard Hough transform. Every line is represented by two floating-point numbers \f$(\rho, \theta)\f$ , where \f$\rho\f$ is a distance between (0,0) point and the line, and \f$\theta\f$ is the angle between x-axis and the normal to the line. Thus, the matrix must be (the created sequence will be) of CV_32FC2 type
-
HOUGH_PROBABILISTIC
public static final HoughModesEnum HOUGH_PROBABILISTIC
probabilistic Hough transform (more efficient in case if the picture contains a few long linear segments). It returns line segments rather than the whole line. Each segment is represented by starting and ending points, and the matrix must be (the created sequence will be) of the CV_32SC4 type.
-
HOUGH_MULTI_SCALE
public static final HoughModesEnum HOUGH_MULTI_SCALE
multi-scale variant of the classical Hough transform. The lines are encoded the same way as HOUGH_STANDARD.
-
HOUGH_GRADIENT
public static final HoughModesEnum HOUGH_GRADIENT
basically *21HT*, described in @cite Yuen90
-
-
Method Detail
-
values
public static HoughModesEnum[] 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 (HoughModesEnum c : HoughModesEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HoughModesEnum 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
-
-