Enum Class OColorConversion
- All Implemented Interfaces:
Serializable,Comparable<OColorConversion>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDemosaicingEdge-Aware DemosaicingDemosaicing using Variable Number of GradientsDemosaicing with alpha channelconvert between RGB/BGR and BGR555 (16-bit images)convert between RGB/BGR and BGR565 (16-bit images)add alpha channel to RGB or BGR imageconvert between RGB/BGR and grayscale, \ref color_convert_rgb_gray "color conversions"convert RGB/BGR to HLS (hue lightness saturation), \ref color_convert_rgb_hls "color conversions"convert RGB/BGR to HSV (hue saturation value), \ref color_convert_rgb_hsv "color conversions"convert RGB/BGR to CIE Lab, \ref color_convert_rgb_lab "color conversions"convert RGB/BGR to CIE Luv, \ref color_convert_rgb_luv "color conversions"convert between RGB and BGR color spaces (with or without alpha channel)convert RGB/BGR to CIE XYZ, \ref color_convert_rgb_xyz "color conversions"convert RGB/BGR to luma-chroma (aka YCC), \ref color_convert_rgb_ycrcb "color conversions"convert between RGB/BGR and YUVremove alpha channel from RGB or BGR imageconvert between grayscale and BGR555 (16-bit images)convert between grayscale to BGR565 (16-bit images)backward conversions to RGB/BGRRGB to YUV 4:2:0 familyalpha premultiplicationYUV 4:2:0 family to RGBYUV 4:2:2 family to RGB -
Method Summary
Modifier and TypeMethodDescriptionintcode()booleanstatic OColorConversionReturns the enum constant of this class with the specified name.static OColorConversion[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
-
BGR2BGRA
add alpha channel to RGB or BGR image -
BGRA2BGR
remove alpha channel from RGB or BGR image -
BGR2RGB_OR_RGB2BGR
convert between RGB and BGR color spaces (with or without alpha channel) -
BGRA2RGBA_OR_RGBA2BGRA
-
BGR2RGBA
-
RGBA2BGR
-
BGR2GRAY
convert between RGB/BGR and grayscale, \ref color_convert_rgb_gray "color conversions" -
RGB2GRAY
-
GRAY2BGR
-
GRAY2BGRA
-
BGRA2GRAY
-
RGBA2GRAY
-
BGR2BGR565
convert between RGB/BGR and BGR565 (16-bit images) -
RGB2BGR565
-
BGR5652BGR
-
BGR5652RGB
-
BGRA2BGR565
-
RGBA2BGR565
-
BGR5652BGRA
-
BGR5652RGBA
-
GRAY2BGR565
convert between grayscale to BGR565 (16-bit images) -
BGR5652GRAY
-
BGR2BGR555
convert between RGB/BGR and BGR555 (16-bit images) -
RGB2BGR555
-
BGR5552BGR
-
BGR5552RGB
-
BGRA2BGR555
-
RGBA2BGR555
-
BGR5552BGRA
-
BGR5552RGBA
-
GRAY2BGR555
convert between grayscale and BGR555 (16-bit images) -
BGR5552GRAY
-
BGR2XYZ
convert RGB/BGR to CIE XYZ, \ref color_convert_rgb_xyz "color conversions" -
RGB2XYZ
-
XYZ2BGR
-
XYZ2RGB
-
BGR2YCrCb
convert RGB/BGR to luma-chroma (aka YCC), \ref color_convert_rgb_ycrcb "color conversions" -
RGB2YCrCb
-
YCrCb2BGR
-
YCrCb2RGB
-
BGR2HSV
convert RGB/BGR to HSV (hue saturation value), \ref color_convert_rgb_hsv "color conversions" -
RGB2HSV
-
BGR2Lab
convert RGB/BGR to CIE Lab, \ref color_convert_rgb_lab "color conversions" -
RGB2Lab
-
BGR2Luv
convert RGB/BGR to CIE Luv, \ref color_convert_rgb_luv "color conversions" -
RGB2Luv
-
BGR2HLS
convert RGB/BGR to HLS (hue lightness saturation), \ref color_convert_rgb_hls "color conversions" -
RGB2HLS
-
HSV2BGR
backward conversions to RGB/BGR -
HSV2RGB
-
Lab2BGR
-
Lab2RGB
-
Luv2BGR
-
Luv2RGB
-
HLS2BGR
-
HLS2RGB
-
BGR2HSV_FULL
-
RGB2HSV_FULL
-
BGR2HLS_FULL
-
RGB2HLS_FULL
-
HSV2BGR_FULL
-
HSV2RGB_FULL
-
HLS2BGR_FULL
-
HLS2RGB_FULL
-
LBGR2Lab
-
LRGB2Lab
-
LBGR2Luv
-
LRGB2Luv
-
Lab2LBGR
-
Lab2LRGB
-
Luv2LBGR
-
Luv2LRGB
-
BGR2YUV
convert between RGB/BGR and YUV -
RGB2YUV
-
YUV2BGR
-
YUV2RGB
-
YUV2RGB_NV12
YUV 4:2:0 family to RGB -
YUV2BGR_NV12
-
YUV2RGB_NV21
-
YUV2BGR_NV21
-
YUV2RGBA_NV12
-
YUV2BGRA_NV12
-
YUV2RGBA_NV21
-
YUV2BGRA_NV21
-
YUV2RGB_YV12
-
YUV2BGR_YV12
-
YUV2RGB_IYUV
-
YUV2BGR_IYUV
-
YUV2RGBA_YV12
-
YUV2BGRA_YV12
-
YUV2RGBA_IYUV
-
YUV2BGRA_IYUV
-
YUV2GRAY_420
-
YUV2RGB_UYVY
YUV 4:2:2 family to RGB -
YUV2BGR_UYVY
-
YUV2RGBA_UYVY
-
YUV2BGRA_UYVY
-
YUV2RGB_YUY2
-
YUV2BGR_YUY2
-
YUV2RGB_YVYU
-
YUV2BGR_YVYU
-
YUV2RGBA_YUY2
-
YUV2BGRA_YUY2
-
YUV2RGBA_YVYU
-
YUV2BGRA_YVYU
-
YUV2GRAY_UYVY
-
YUV2GRAY_YUY2
-
RGBA2mRGBA
alpha premultiplication -
mRGBA2RGBA
-
RGB2YUV_I420
RGB to YUV 4:2:0 family -
BGR2YUV_I420
-
RGBA2YUV_I420
-
BGRA2YUV_I420
-
RGB2YUV_YV12
-
BGR2YUV_YV12
-
RGBA2YUV_YV12
-
BGRA2YUV_YV12
-
BayerBG2BGR
Demosaicing -
BayerGB2BGR
-
BayerRG2BGR
-
BayerGR2BGR
-
BayerBG2GRAY
-
BayerGB2GRAY
-
BayerRG2GRAY
-
BayerGR2GRAY
-
BayerBG2BGR_VNG
Demosaicing using Variable Number of Gradients -
BayerGB2BGR_VNG
-
BayerRG2BGR_VNG
-
BayerGR2BGR_VNG
-
BayerBG2BGR_EA
Edge-Aware Demosaicing -
BayerGB2BGR_EA
-
BayerRG2BGR_EA
-
BayerGR2BGR_EA
-
BayerBG2BGRA
Demosaicing with alpha channel -
BayerGB2BGRA
-
BayerRG2BGRA
-
BayerGR2BGRA
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
code
public int code() -
isSingleChannelGrayScaleSource
public boolean isSingleChannelGrayScaleSource()
-