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

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

Syntax

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

Members

Member nameValueDescription
CV_BGR2BGRA0 Convert BGR color to BGRA color
CV_RGB2RGBA0 Convert RGB color to RGBA color
CV_BGRA2BGR1 Convert BGRA color to BGR color
CV_RGBA2RGB1 Convert RGBA color to RGB color
CV_BGR2RGBA2 Convert BGR color to RGBA color
CV_RGB2BGRA2 Convert RGB color to BGRA color
CV_RGBA2BGR3 Convert RGBA color to BGR color
CV_BGRA2RGB3 Convert BGRA color to RGB color
CV_BGR2RGB4 Convert BGR color to RGB color
CV_RGB2BGR4 Convert RGB color to BGR color
CV_BGRA2RGBA5 Convert BGRA color to RGBA color
CV_RGBA2BGRA5 Convert RGBA color to BGRA color
CV_BGR2GRAY6 Convert BGR color to GRAY color
CV_RGB2GRAY7 Convert RGB color to GRAY color
CV_GRAY2BGR8 Convert GRAY color to BGR color
CV_GRAY2RGB8 Convert GRAY color to RGB color
CV_GRAY2BGRA9 Convert GRAY color to BGRA color
CV_GRAY2RGBA9 Convert GRAY color to RGBA color
CV_BGRA2GRAY10 Convert BGRA color to GRAY color
CV_RGBA2GRAY11 Convert RGBA color to GRAY color
CV_BGR2BGR56512 Convert BGR color to BGR565 color
CV_RGB2BGR56513 Convert RGB color to BGR565 color
CV_BGR5652BGR14 Convert BGR565 color to BGR color
CV_BGR5652RGB15 Convert BGR565 color to RGB color
CV_BGRA2BGR56516 Convert BGRA color to BGR565 color
CV_RGBA2BGR56517 Convert RGBA color to BGR565 color
CV_BGR5652BGRA18 Convert BGR565 color to BGRA color
CV_BGR5652RGBA19 Convert BGR565 color to RGBA color
CV_GRAY2BGR56520 Convert GRAY color to BGR565 color
CV_BGR5652GRAY21 Convert BGR565 color to GRAY color
CV_BGR2BGR55522 Convert BGR color to BGR555 color
CV_RGB2BGR55523 Convert RGB color to BGR555 color
CV_BGR5552BGR24 Convert BGR555 color to BGR color
CV_BGR5552RGB25 Convert BGR555 color to RGB color
CV_BGRA2BGR55526 Convert BGRA color to BGR555 color
CV_RGBA2BGR55527 Convert RGBA color to BGR555 color
CV_BGR5552BGRA28 Convert BGR555 color to BGRA color
CV_BGR5552RGBA29 Convert BGR555 color to RGBA color
CV_GRAY2BGR55530 Convert GRAY color to BGR555 color
CV_BGR5552GRAY31 Convert BGR555 color to GRAY color
CV_BGR2XYZ32 Convert BGR color to XYZ color
CV_RGB2XYZ33 Convert RGB color to XYZ color
CV_XYZ2BGR34 Convert XYZ color to BGR color
CV_XYZ2RGB35 Convert XYZ color to RGB color
CV_BGR2YCrCb36 Convert BGR color to YCrCb color
CV_RGB2YCrCb37 Convert RGB color to YCrCb color
CV_YCrCb2BGR38 Convert YCrCb color to BGR color
CV_YCrCb2RGB39 Convert YCrCb color to RGB color
CV_BGR2HSV40 Convert BGR color to HSV color
CV_RGB2HSV41 Convert RGB colot to HSV color
CV_BGR2Lab44 Convert BGR color to Lab color
CV_RGB2Lab45 Convert RGB color to Lab color
CV_BayerBG2BGR46 Convert BayerBG color to BGR color
CV_BayerGB2BGR47 Convert BayerGB color to BGR color
CV_BayerRG2BGR48 Convert BayerRG color to BGR color
CV_BayerGR2BGR49 Convert BayerGR color to BGR color
CV_BayerBG2RGB48 Convert BayerBG color to BGR color
CV_BayerGB2RGB49 Convert BayerRG color to BGR color
CV_BayerRG2RGB46 Convert BayerRG color to RGB color
CV_BayerGR2RGB47 Convert BayerGR color to RGB color
CV_BGR2Luv50 Convert BGR color to Luv color
CV_RGB2Luv51 Convert RGB color to Luv color
CV_BGR2HLS52 Convert BGR color to HLS color
CV_RGB2HLS53 Convert RGB color to HLS color
CV_HSV2BGR54 Convert HSV color to BGR color
CV_HSV2RGB55 Convert HSV color to RGB color
CV_Lab2BGR56 Convert Lab color to BGR color
CV_Lab2RGB57 Convert Lab color to RGB color
CV_Luv2BGR58 Convert Luv color to BGR color
CV_Luv2RGB59 Convert Luv color to RGB color
CV_HLS2BGR60 Convert HLS color to BGR color
CV_HLS2RGB61 Convert HLS color to RGB color
CV_BayerBG2BGR_VNG62 Convert BayerBG pattern to BGR color using VNG
CV_BayerGB2BGR_VNG63 Convert BayerGB pattern to BGR color using VNG
CV_BayerRG2BGR_VNG64 Convert BayerRG pattern to BGR color using VNG
CV_BayerGR2BGR_VNG65 Convert BayerGR pattern to BGR color using VNG
CV_BayerBG2RGB_VNG64 Convert BayerBG pattern to RGB color using VNG
CV_BayerGB2RGB_VNG65 Convert BayerGB pattern to RGB color using VNG
CV_BayerRG2RGB_VNG62 Convert BayerRG pattern to RGB color using VNG
CV_BayerGR2RGB_VNG63 Convert BayerGR pattern to RGB color using VNG
CV_BGR2HSV_FULL66 Convert BGR to HSV
CV_RGB2HSV_FULL67 Convert RGB to HSV
CV_BGR2HLS_FULL68 Convert BGR to HLS
CV_RGB2HLS_FULL69 Convert RGB to HLS
CV_HSV2BGR_FULL70 Convert HSV color to BGR color
CV_HSV2RGB_FULL71 Convert HSV color to RGB color
CV_HLS2BGR_FULL72 Convert HLS color to BGR color
CV_HLS2RGB_FULL73 Convert HLS color to RGB color
CV_LBGR2Lab74 Convert sBGR color to Lab color
CV_LRGB2Lab75 Convert sRGB color to Lab color
CV_LBGR2Luv76 Convert sBGR color to Luv color
CV_LRGB2Luv77 Convert sRGB color to Luv color
CV_Lab2LBGR78 Convert Lab color to sBGR color
CV_Lab2LRGB79 Convert Lab color to sRGB color
CV_Luv2LBGR80 Convert Luv color to sBGR color
CV_Luv2LRGB81 Convert Luv color to sRGB color
CV_BGR2YUV82 Convert BGR color to YUV
CV_RGB2YUV83 Convert RGB color to YUV
CV_YUV2BGR84 Convert YUV color to BGR
CV_YUV2RGB85 Convert YUV color to RGB
CV_BayerBG2GRAY86 Convert BayerBG to GRAY
CV_BayerGB2GRAY87 Convert BayerGB to GRAY
CV_BayerRG2GRAY88 Convert BayerRG to GRAY
CV_BayerGR2GRAY89 Convert BayerGR to GRAY
CV_YUV420i2RGB90 Convert YUV420i to RGB
CV_YUV420i2BGR91 Convert YUV420i to BGR
CV_YUV420sp2RGB92 Convert YUV420sp to RGB
CV_YUV420sp2BGR93 Convert YUV320sp to BGR
CV_YUV420i2RGBA94 Convert YUV320i to RGBA
CV_YUV420i2BGRA95 Convert YUV420i to BGRA
CV_YUV420sp2RGBA96 Convert YUV420sp to RGBA
CV_YUV420sp2BGRA97 Convert YUV420sp to BGRA
CV_COLORCVT_MAX100 The max number, do not use

See Also