http://www.emgu.com
Color Conversion code

Namespace: Emgu.CV.CvEnum
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public enum COLOR_CONVERSION
Visual Basic
Public Enumeration COLOR_CONVERSION
Visual C++
public enum class COLOR_CONVERSION
F#
type COLOR_CONVERSION

Members

Member nameValueDescription
BGR2BGRA0 Convert BGR color to BGRA color
RGB2RGBA0 Convert RGB color to RGBA color
BGRA2BGR1 Convert BGRA color to BGR color
RGBA2RGB1 Convert RGBA color to RGB color
BGR2RGBA2 Convert BGR color to RGBA color
RGB2BGRA2 Convert RGB color to BGRA color
RGBA2BGR3 Convert RGBA color to BGR color
BGRA2RGB3 Convert BGRA color to RGB color
BGR2RGB4 Convert BGR color to RGB color
RGB2BGR4 Convert RGB color to BGR color
BGRA2RGBA5 Convert BGRA color to RGBA color
RGBA2BGRA5 Convert RGBA color to BGRA color
BGR2GRAY6 Convert BGR color to GRAY color
RGB2GRAY7 Convert RGB color to GRAY color
GRAY2BGR8 Convert GRAY color to BGR color
GRAY2RGB8 Convert GRAY color to RGB color
GRAY2BGRA9 Convert GRAY color to BGRA color
GRAY2RGBA9 Convert GRAY color to RGBA color
BGRA2GRAY10 Convert BGRA color to GRAY color
RGBA2GRAY11 Convert RGBA color to GRAY color
BGR2BGR56512 Convert BGR color to BGR565 color
RGB2BGR56513 Convert RGB color to BGR565 color
BGR5652BGR14 Convert BGR565 color to BGR color
BGR5652RGB15 Convert BGR565 color to RGB color
BGRA2BGR56516 Convert BGRA color to BGR565 color
RGBA2BGR56517 Convert RGBA color to BGR565 color
BGR5652BGRA18 Convert BGR565 color to BGRA color
BGR5652RGBA19 Convert BGR565 color to RGBA color
GRAY2BGR56520 Convert GRAY color to BGR565 color
BGR5652GRAY21 Convert BGR565 color to GRAY color
BGR2BGR55522 Convert BGR color to BGR555 color
RGB2BGR55523 Convert RGB color to BGR555 color
BGR5552BGR24 Convert BGR555 color to BGR color
BGR5552RGB25 Convert BGR555 color to RGB color
BGRA2BGR55526 Convert BGRA color to BGR555 color
RGBA2BGR55527 Convert RGBA color to BGR555 color
BGR5552BGRA28 Convert BGR555 color to BGRA color
BGR5552RGBA29 Convert BGR555 color to RGBA color
GRAY2BGR55530 Convert GRAY color to BGR555 color
BGR5552GRAY31 Convert BGR555 color to GRAY color
BGR2XYZ32 Convert BGR color to XYZ color
RGB2XYZ33 Convert RGB color to XYZ color
XYZ2BGR34 Convert XYZ color to BGR color
XYZ2RGB35 Convert XYZ color to RGB color
BGR2YCrCb36 Convert BGR color to YCrCb color
RGB2YCrCb37 Convert RGB color to YCrCb color
YCrCb2BGR38 Convert YCrCb color to BGR color
YCrCb2RGB39 Convert YCrCb color to RGB color
BGR2HSV40 Convert BGR color to HSV color
RGB2HSV41 Convert RGB colot to HSV color
BGR2Lab44 Convert BGR color to Lab color
RGB2Lab45 Convert RGB color to Lab color
BayerBG2BGR46 Convert BayerBG color to BGR color
BayerGB2BGR47 Convert BayerGB color to BGR color
BayerRG2BGR48 Convert BayerRG color to BGR color
BayerGR2BGR49 Convert BayerGR color to BGR color
BayerBG2RGB48 Convert BayerBG color to BGR color
BayerGB2RGB49 Convert BayerRG color to BGR color
BayerRG2RGB46 Convert BayerRG color to RGB color
BayerGR2RGB47 Convert BayerGR color to RGB color
BGR2Luv50 Convert BGR color to Luv color
RGB2Luv51 Convert RGB color to Luv color
BGR2HLS52 Convert BGR color to HLS color
RGB2HLS53 Convert RGB color to HLS color
HSV2BGR54 Convert HSV color to BGR color
HSV2RGB55 Convert HSV color to RGB color
Lab2BGR56 Convert Lab color to BGR color
Lab2RGB57 Convert Lab color to RGB color
Luv2BGR58 Convert Luv color to BGR color
Luv2RGB59 Convert Luv color to RGB color
HLS2BGR60 Convert HLS color to BGR color
HLS2RGB61 Convert HLS color to RGB color
BayerBG2BGR_VNG62 Convert BayerBG pattern to BGR color using VNG
BayerGB2BGR_VNG63 Convert BayerGB pattern to BGR color using VNG
BayerRG2BGR_VNG64 Convert BayerRG pattern to BGR color using VNG
BayerGR2BGR_VNG65 Convert BayerGR pattern to BGR color using VNG
BayerBG2RGB_VNG64 Convert BayerBG pattern to RGB color using VNG
BayerGB2RGB_VNG65 Convert BayerGB pattern to RGB color using VNG
BayerRG2RGB_VNG62 Convert BayerRG pattern to RGB color using VNG
BayerGR2RGB_VNG63 Convert BayerGR pattern to RGB color using VNG
BGR2HSV_FULL66 Convert BGR to HSV
RGB2HSV_FULL67 Convert RGB to HSV
BGR2HLS_FULL68 Convert BGR to HLS
RGB2HLS_FULL69 Convert RGB to HLS
HSV2BGR_FULL70 Convert HSV color to BGR color
HSV2RGB_FULL71 Convert HSV color to RGB color
HLS2BGR_FULL72 Convert HLS color to BGR color
HLS2RGB_FULL73 Convert HLS color to RGB color
LBGR2Lab74 Convert sBGR color to Lab color
LRGB2Lab75 Convert sRGB color to Lab color
LBGR2Luv76 Convert sBGR color to Luv color
LRGB2Luv77 Convert sRGB color to Luv color
Lab2LBGR78 Convert Lab color to sBGR color
Lab2LRGB79 Convert Lab color to sRGB color
Luv2LBGR80 Convert Luv color to sBGR color
Luv2LRGB81 Convert Luv color to sRGB color
BGR2YUV82 Convert BGR color to YUV
RGB2YUV83 Convert RGB color to YUV
YUV2BGR84 Convert YUV color to BGR
YUV2RGB85 Convert YUV color to RGB
BayerBG2GRAY86 Convert BayerBG to GRAY
BayerGB2GRAY87 Convert BayerGB to GRAY
BayerRG2GRAY88 Convert BayerRG to GRAY
BayerGR2GRAY89 Convert BayerGR to GRAY
YUV420i2RGB90 Convert YUV420i to RGB
YUV420i2BGR91 Convert YUV420i to BGR
YUV420sp2RGB92 Convert YUV420sp to RGB
YUV420sp2BGR93 Convert YUV320sp to BGR
YUV420i2RGBA94 Convert YUV320i to RGBA
YUV420i2BGRA95 Convert YUV420i to BGRA
YUV420sp2RGBA96 Convert YUV420sp to RGBA
YUV420sp2BGRA97 Convert YUV420sp to BGRA
YUV2RGB_YV1298 Convert YUV (YV12) to RGB
YUV2BGR_YV1299 Convert YUV (YV12) to BGR
YUV2RGB_IYUV100 Convert YUV (iYUV) to RGB
YUV2BGR_IYUV101 Convert YUV (iYUV) to BGR
YUV2RGB_I420100 Convert YUV (i420) to RGB
YUV2BGR_I420101 Convert YUV (i420) to BGR
YUV420p2RGB98 Convert YUV (420p) to RGB
YUV420p2BGR99 Convert YUV (420p) to BGR
YUV2RGBA_YV12102 Convert YUV (YV12) to RGBA
YUV2BGRA_YV12103 Convert YUV (YV12) to BGRA
YUV2RGBA_IYUV104 Convert YUV (iYUV) to RGBA
YUV2BGRA_IYUV105 Convert YUV (iYUV) to BGRA
YUV2RGBA_I420104 Convert YUV (i420) to RGBA
YUV2BGRA_I420105 Convert YUV (i420) to BGRA
YUV420p2RGBA102 Convert YUV (420p) to RGBA
YUV420p2BGRA103 Convert YUV (420p) to BGRA
YUV2GRAY_420106 Convert YUV 420 to Gray
YUV2GRAY_NV21106 Convert YUV NV21 to Gray
YUV2GRAY_NV12106 Convert YUV NV12 to Gray
YUV2GRAY_YV12106 Convert YUV YV12 to Gray
YUV2GRAY_IYUV106 Convert YUV (iYUV) to Gray
YUV2GRAY_I420106 Convert YUV (i420) to Gray
YUV420sp2GRAY106 Convert YUV (420sp) to Gray
YUV420p2GRAY106 Convert YUV (420p) to Gray
YUV2RGB_UYVY107 Convert YUV (UYVY) to RGB
YUV2BGR_UYVY108 Convert YUV (UYVY) to BGR
YUV2RGB_Y422107 Convert YUV (Y422) to RGB
YUV2BGR_Y422108 Convert YUV (Y422) to BGR
YUV2RGB_UYNV107 Convert YUV (UYNY) to RGB
YUV2BGR_UYNV108 Convert YUV (UYNV) to BGR
YUV2RGBA_UYVY111 Convert YUV (UYVY) to RGBA
YUV2BGRA_UYVY112 Convert YUV (VYUY) to BGRA
YUV2RGBA_Y422111 Convert YUV (Y422) to RGBA
YUV2BGRA_Y422112 Convert YUV (Y422) to BGRA
YUV2RGBA_UYNV111 Convert YUV (UYNV) to RGBA
YUV2BGRA_UYNV112 Convert YUV (UYNV) to BGRA
YUV2RGB_YUY2115 Convert YUV (YUY2) to RGB
YUV2BGR_YUY2116 Convert YUV (YUY2) to BGR
YUV2RGB_YVYU117 Convert YUV (YVYU) to RGB
YUV2BGR_YVYU118 Convert YUV (YVYU) to BGR
YUV2RGB_YUYV115 Convert YUV (YUYV) to RGB
YUV2BGR_YUYV116 Convert YUV (YUYV) to BGR
YUV2RGB_YUNV115 Convert YUV (YUNV) to RGB
YUV2BGR_YUNV116 Convert YUV (YUNV) to BGR
YUV2RGBA_YUY2119 Convert YUV (YUY2) to RGBA
YUV2BGRA_YUY2120 Convert YUV (YUY2) to BGRA
YUV2RGBA_YVYU121 Convert YUV (YVYU) to RGBA
YUV2BGRA_YVYU122 Convert YUV (YVYU) to BGRA
YUV2RGBA_YUYV119 Convert YUV (YUYV) to RGBA
YUV2BGRA_YUYV120 Convert YUV (YUYV) to BGRA
YUV2RGBA_YUNV119 Convert YUV (YUNV) to RGBA
YUV2BGRA_YUNV120 Convert YUV (YUNV) to BGRA
YUV2GRAY_UYVY123 Convert YUV (UYVY) to Gray
YUV2GRAY_YUY2124 Convert YUV (YUY2) to Gray
YUV2GRAY_Y422123 Convert YUV (Y422) to Gray
YUV2GRAY_UYNV123 Convert YUV (UYNV) to Gray
YUV2GRAY_YVYU124 Convert YUV (YVYU) to Gray
YUV2GRAY_YUYV124 Convert YUV (YUYV) to Gray
YUV2GRAY_YUNV124 Convert YUV (YUNV) to Gray
RGBA2mRGBA125 Alpha premultiplication
mRGBA2RGBA126 Alpha premultiplication
RGB2YUV_I420127 Convert RGB to YUV_I420
BGR2YUV_I420128 Convert BGR to YUV_I420
RGB2YUV_IYUV127 Convert RGB to YUV_IYUV
BGR2YUV_IYUV128 Convert BGR to YUV_IYUV
RGBA2YUV_I420129 Convert RGBA to YUV_I420
BGRA2YUV_I420130 Convert BGRA to YUV_I420
RGBA2YUV_IYUV129 Convert RGBA to YUV_IYUV
BGRA2YUV_IYUV130 Convert BGRA to YUV_IYUV
RGB2YUV_YV12131 Convert RGB to YUV_YV12
BGR2YUV_YV12132 Convert BGR to YUV_YV12
RGBA2YUV_YV12133 Convert RGBA to YUV_YV12
BGRA2YUV_YV12134 Convert BGRA to YUV_YV12
BayerBG2BGR_EA135 Convert BayerBG to BGR (Edge-Aware Demosaicing)
BayerGB2BGR_EA136 Convert BayerGB to BGR (Edge-Aware Demosaicing)
BayerRG2BGR_EA137 Convert BayerRG to BGR (Edge-Aware Demosaicing)
BayerGR2BGR_EA138 Convert BayerGR to BGR (Edge-Aware Demosaicing)
BayerBG2RGB_EA137 Convert BayerBG to RGB (Edge-Aware Demosaicing)
BayerGB2RGB_EA138 Convert BayerGB to RGB (Edge-Aware Demosaicing)
BayerRG2RGB_EA135 Convert BayerRG to RGB (Edge-Aware Demosaicing)
BayerGR2RGB_EA136 Convert BayerGR to RGB (Edge-Aware Demosaicing)
COLORCVT_MAX139 The max number, do not use

See Also