public static enum FluentCv.ColorCode extends java.lang.Enum<FluentCv.ColorCode>
Enum Constant and Description |
---|
Bgr2Gray |
Bgr2Hls |
Bgr2HlsFull |
Bgr2Hsv |
Bgr2HsvFull |
Gray2Bgr |
Gray2Rgb |
Hls2Bgr |
Hls2BgrFull |
Hsv2Bgr |
Hsv2BgrFull |
Rgb2Gray |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
FluentCv.ColorSpace |
getResultingColorSpace() |
static FluentCv.ColorCode |
valueOf(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.
|
public static final FluentCv.ColorCode Bgr2Gray
public static final FluentCv.ColorCode Rgb2Gray
public static final FluentCv.ColorCode Gray2Bgr
public static final FluentCv.ColorCode Gray2Rgb
public static final FluentCv.ColorCode Bgr2Hls
public static final FluentCv.ColorCode Hls2Bgr
public static final FluentCv.ColorCode Bgr2HlsFull
public static final FluentCv.ColorCode Hls2BgrFull
public static final FluentCv.ColorCode Bgr2Hsv
public static final FluentCv.ColorCode Hsv2Bgr
public static final FluentCv.ColorCode Bgr2HsvFull
public static final FluentCv.ColorCode Hsv2BgrFull
public static FluentCv.ColorCode[] values()
for (FluentCv.ColorCode c : FluentCv.ColorCode.values()) System.out.println(c);
public static FluentCv.ColorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
public FluentCv.ColorSpace getResultingColorSpace()