Package org.openpnp.vision
Enum FluentCv.ColorCode
- java.lang.Object
-
- java.lang.Enum<FluentCv.ColorCode>
-
- org.openpnp.vision.FluentCv.ColorCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FluentCv.ColorCode>
- Enclosing class:
- FluentCv
public static enum FluentCv.ColorCode extends java.lang.Enum<FluentCv.ColorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Bgr2GrayBgr2HlsBgr2HlsFullBgr2HsvBgr2HsvFullGray2BgrGray2RgbHls2BgrHls2BgrFullHsv2BgrHsv2BgrFullRgb2Gray
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()FluentCv.ColorSpacegetResultingColorSpace()static FluentCv.ColorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FluentCv.ColorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Bgr2Gray
public static final FluentCv.ColorCode Bgr2Gray
-
Rgb2Gray
public static final FluentCv.ColorCode Rgb2Gray
-
Gray2Bgr
public static final FluentCv.ColorCode Gray2Bgr
-
Gray2Rgb
public static final FluentCv.ColorCode Gray2Rgb
-
Bgr2Hls
public static final FluentCv.ColorCode Bgr2Hls
-
Hls2Bgr
public static final FluentCv.ColorCode Hls2Bgr
-
Bgr2HlsFull
public static final FluentCv.ColorCode Bgr2HlsFull
-
Hls2BgrFull
public static final FluentCv.ColorCode Hls2BgrFull
-
Bgr2Hsv
public static final FluentCv.ColorCode Bgr2Hsv
-
Hsv2Bgr
public static final FluentCv.ColorCode Hsv2Bgr
-
Bgr2HsvFull
public static final FluentCv.ColorCode Bgr2HsvFull
-
Hsv2BgrFull
public static final FluentCv.ColorCode Hsv2BgrFull
-
-
Method Detail
-
values
public static FluentCv.ColorCode[] 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 (FluentCv.ColorCode c : FluentCv.ColorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FluentCv.ColorCode 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
-
getCode
public int getCode()
-
getResultingColorSpace
public FluentCv.ColorSpace getResultingColorSpace()
-
-