Table of Contents

Enum ColorConversion

Namespace
Emgu.CV.CvEnum
Assembly
Emgu.CV.dll

Color Conversion code

public enum ColorConversion

Fields

BayerBg2Bgr = 46

Convert Bayer BG color to BGR color

BayerBg2BgrEa = 135

Convert BayerBG to BGR (Edge-Aware Demosaicing)

BayerBg2BgrVng = 62

Convert BayerBG pattern to BGR color using VNG

BayerBg2Bgra = 139

Convert Bayer BG to BGRA

BayerBg2Gray = 86

Convert BayerBG to GRAY

BayerBg2Rgb = 48

Convert Bayer BG color to BGR color

BayerBg2RgbEa = 137

Convert BayerBG to RGB (Edge-Aware Demosaicing)

BayerBg2RgbVng = 64

Convert BayerBG pattern to RGB color using VNG

BayerBg2Rgba = 141

Convert Bayer BG to RGBA

BayerBggr2Bgr = 48

Convert Bayer BGGR color to BGR color

BayerBggr2BgrEa = 137

Convert Bayer BGGR to BGR (Edge-Aware Demosaicing)

BayerBggr2BgrVng = 64

Convert Bayer BGGR pattern to BGR color using VNG

BayerBggr2Bgra = 141

Convert Bayer BGGR to BGRA

BayerBggr2Gray = 88

Convert Bayer BGGR to GRAY

BayerBggr2Rgb = 46

Convert Bayer BGGR color to RGB color

BayerBggr2RgbEa = 135

Convert Bayer BGGR to RGB (Edge-Aware Demosaicing)

BayerBggr2RgbVng = 62

Convert Bayer BGGR pattern to RGB color using VNG

BayerBggr2Rgba = 139

Convert Bayer BGGR to BGRA

BayerGb2Bgr = 47

Convert Bayer GB color to BGR color

BayerGb2BgrEa = 136

Convert BayerGB to BGR (Edge-Aware Demosaicing)

BayerGb2BgrVng = 63

Convert BayerGB pattern to BGR color using VNG

BayerGb2Bgra = 140

Convert Bayer GB to BGRA

BayerGb2Gray = 87

Convert BayerGB to GRAY

BayerGb2Rgb = 49

Convert Bayer RG color to BGR color

BayerGb2RgbEa = 138

Convert BayerGB to RGB (Edge-Aware Demosaicing)

BayerGb2RgbVng = 65

Convert BayerGB pattern to RGB color using VNG

BayerGb2Rgba = 142

Convert Bayer GB to RGBA

BayerGbrg2Bgr = 49

Convert Bayer GBRG color to BGR color

BayerGbrg2BgrEa = 138

Convert Bayer GBRG to BGR (Edge-Aware Demosaicing)

BayerGbrg2BgrVng = 65

Convert Bayer GBRG pattern to BGR color using VNG

BayerGbrg2Bgra = 142

Convert Bayer GBRG to BGRA

BayerGbrg2Gray = 89

Convert Bayer GBRG to GRAY

BayerGbrg2Rgb = 47

Convert Bayer GBRG color to RGB color

BayerGbrg2RgbEa = 136

Convert Bayer GBRG to RGB (Edge-Aware Demosaicing)

BayerGbrg2RgbVng = 63

Convert Bayer GBRG pattern to RGB color using VNG

BayerGbrg2Rgba = 140

Convert Bayer GBRG to BGRA

BayerGr2Bgr = 49

Convert Bayer GR color to BGR color

BayerGr2BgrEa = 138

Convert BayerGR to BGR (Edge-Aware Demosaicing)

BayerGr2BgrVng = 65

Convert BayerGR pattern to BGR color using VNG

BayerGr2Bgra = 142

Convert Bayer GR to BGRA

BayerGr2Gray = 89

Convert BayerGR to GRAY

BayerGr2Rgb = 47

Convert Bayer GR color to RGB color

BayerGr2RgbEa = 136

Convert BayerGR to RGB (Edge-Aware Demosaicing)

BayerGr2RgbVng = 63

Convert BayerGR pattern to RGB color using VNG

BayerGr2Rgba = 140

Convert Bayer Gr to RGBA

BayerGrbg2Bgr = 47

Convert Bayer GRBG color to BGR color

BayerGrbg2BgrEa = 136

Convert Bayer GRBG to BGR (Edge-Aware Demosaicing)

BayerGrbg2BgrVng = 63

Convert Bayer GRBG pattern to BGR color using VNG

BayerGrbg2Bgra = 140

Convert Bayer GRBG to BGRA

BayerGrbg2Gray = 87

Convert Bayer GRBG to GRAY

BayerGrbg2Rgb = 49

Convert Bayer GRBG color to RGB color

BayerGrbg2RgbEa = 138

Convert Bayer GRBG to RGB (Edge-Aware Demosaicing)

BayerGrbg2RgbVng = 65

Convert Bayer GRBG pattern to RGB color using VNG

BayerGrbg2Rgba = 142

Convert Bayer GRBG to BGRA

BayerRg2Bgr = 48

Convert Bayer RG color to BGR color

BayerRg2BgrEa = 137

Convert BayerRG to BGR (Edge-Aware Demosaicing)

BayerRg2BgrVng = 64

Convert BayerRG pattern to BGR color using VNG

BayerRg2Bgra = 141

Convert Bayer RG to BGRA

BayerRg2Gray = 88

Convert BayerRG to GRAY

BayerRg2Rgb = 46

Convert Bayer RG color to RGB color

BayerRg2RgbEa = 135

Convert BayerRG to RGB (Edge-Aware Demosaicing)

BayerRg2RgbVng = 62

Convert BayerRG pattern to RGB color using VNG

BayerRg2Rgba = 139

Convert Bayer RG to RGBA

BayerRggb2Bgr = 46

Convert Bayer RGGB color to BGR color

BayerRggb2BgrEa = 135

Convert Bayer RGGB to BGR (Edge-Aware Demosaicing)

BayerRggb2BgrVng = 62

Convert Bayer RGGB pattern to BGR color using VNG

BayerRggb2Bgra = 139

Convert Bayer RGGB to BGRA

BayerRggb2Gray = 86

Convert Bayer RGGB to GRAY

BayerRggb2Rgb = 48

Convert Bayer RGGB color to RGB color

BayerRggb2RgbEa = 137

Convert Bayer RGGB to RGB (Edge-Aware Demosaicing)

BayerRggb2RgbVng = 64

Convert Bayer RGGB pattern to RGB color using VNG

BayerRggb2Rgba = 141

Convert Bayer RGGB to BGRA

Bgr2Bgr555 = 22

Convert BGR color to BGR555 color

Bgr2Bgr565 = 12

Convert BGR color to BGR565 color

Bgr2Bgra = 0

Convert BGR color to BGRA color

Bgr2Gray = 6

Convert BGR color to GRAY color

Bgr2Hls = 52

Convert BGR color to HLS color

Bgr2HlsFull = 68

Convert BGR to HLS

Bgr2Hsv = 40

Convert BGR color to HSV color

Bgr2HsvFull = 66

Convert BGR to HSV

Bgr2Lab = 44

Convert BGR color to Lab color

Bgr2Luv = 50

Convert BGR color to Luv color

Bgr2Rgb = 4

Convert BGR color to RGB color

Bgr2Rgba = 2

Convert BGR color to RGBA color

Bgr2Xyz = 32

Convert BGR color to XYZ color

Bgr2YCrCb = 36

Convert BGR color to YCrCb color

Bgr2Yuv = 82

Convert BGR color to YUV

Bgr2YuvI420 = 128

Convert BGR to YUV_I420

Bgr2YuvIyuv = 128

Convert BGR to YUV_IYUV

Bgr2YuvYv12 = 132

Convert BGR to YUV_YV12

Bgr5552Bgr = 24

Convert BGR555 color to BGR color

Bgr5552Bgra = 28

Convert BGR555 color to BGRA color

Bgr5552Gray = 31

Convert BGR555 color to GRAY color

Bgr5552Rgb = 25

Convert BGR555 color to RGB color

Bgr5552Rgba = 29

Convert BGR555 color to RGBA color

Bgr5652Bgr = 14

Convert BGR565 color to BGR color

Bgr5652Bgra = 18

Convert BGR565 color to BGRA color

Bgr5652Gray = 21

Convert BGR565 color to GRAY color

Bgr5652Rgb = 15

Convert BGR565 color to RGB color

Bgr5652Rgba = 19

Convert BGR565 color to RGBA color

Bgra2Bgr = 1

Convert BGRA color to BGR color

Bgra2Bgr555 = 26

Convert BGRA color to BGR555 color

Bgra2Bgr565 = 16

Convert BGRA color to BGR565 color

Bgra2Gray = 10

Convert BGRA color to GRAY color

Bgra2Rgb = 3

Convert BGRA color to RGB color

Bgra2Rgba = 5

Convert BGRA color to RGBA color

Bgra2YuvI420 = 130

Convert BGRA to YUV_I420

Bgra2YuvIyuv = 130

Convert BGRA to YUV_IYUV

Bgra2YuvYv12 = 134

Convert BGRA to YUV_YV12

ColorCvtMax = 143

The max number, do not use

Gray2Bgr = 8

Convert GRAY color to BGR color

Gray2Bgr555 = 30

Convert GRAY color to BGR555 color

Gray2Bgr565 = 20

Convert GRAY color to BGR565 color

Gray2Bgra = 9

Convert GRAY color to BGRA color

Gray2Rgb = 8

Convert GRAY color to RGB color

Gray2Rgba = 9

Convert GRAY color to RGBA color

Hls2Bgr = 60

Convert HLS color to BGR color

Hls2BgrFull = 72

Convert HLS color to BGR color

Hls2Rgb = 61

Convert HLS color to RGB color

Hls2RgbFull = 73

Convert HLS color to RGB color

Hsv2Bgr = 54

Convert HSV color to BGR color

Hsv2BgrFull = 70

Convert HSV color to BGR color

Hsv2Rgb = 55

Convert HSV color to RGB color

Hsv2RgbFull = 71

Convert HSV color to RGB color

Lab2Bgr = 56

Convert Lab color to BGR color

Lab2Lbgr = 78

Convert Lab color to sBGR color

Lab2Lrgb = 79

Convert Lab color to sRGB color

Lab2Rgb = 57

Convert Lab color to RGB color

Lbgr2Lab = 74

Convert sBGR color to Lab color

Lbgr2Luv = 76

Convert sBGR color to Luv color

Lrgb2Lab = 75

Convert sRGB color to Lab color

Lrgb2Luv = 77

Convert sRGB color to Luv color

Luv2Bgr = 58

Convert Luv color to BGR color

Luv2Lbgr = 80

Convert Luv color to sBGR color

Luv2Lrgb = 81

Convert Luv color to sRGB color

Luv2Rgb = 59

Convert Luv color to RGB color

MRgba2Rgba = 126

Alpha premultiplication

Rgb2Bgr = 4

Convert RGB color to BGR color

Rgb2Bgr555 = 23

Convert RGB color to BGR555 color

Rgb2Bgr565 = 13

Convert RGB color to BGR565 color

Rgb2Bgra = 2

Convert RGB color to BGRA color

Rgb2Gray = 7

Convert RGB color to GRAY color

Rgb2Hls = 53

Convert RGB color to HLS color

Rgb2HlsFull = 69

Convert RGB to HLS

Rgb2Hsv = 41

Convert RGB colot to HSV color

Rgb2HsvFull = 67

Convert RGB to HSV

Rgb2Lab = 45

Convert RGB color to Lab color

Rgb2Luv = 51

Convert RGB color to Luv color

Rgb2Rgba = 0

Convert RGB color to RGBA color

Rgb2Xyz = 33

Convert RGB color to XYZ color

Rgb2YCrCb = 37

Convert RGB color to YCrCb color

Rgb2Yuv = 83

Convert RGB color to YUV

Rgb2YuvI420 = 127

Convert RGB to YUV_I420

Rgb2YuvIyuv = 127

Convert RGB to YUV_IYUV

Rgb2YuvYv12 = 131

Convert RGB to YUV_YV12

Rgba2Bgr = 3

Convert RGBA color to BGR color

Rgba2Bgr555 = 27

Convert RGBA color to BGR555 color

Rgba2Bgr565 = 17

Convert RGBA color to BGR565 color

Rgba2Bgra = 5

Convert RGBA color to BGRA color

Rgba2Gray = 11

Convert RGBA color to GRAY color

Rgba2MRgba = 125

Alpha premultiplication

Rgba2Rgb = 1

Convert RGBA color to RGB color

Rgba2YuvI420 = 129

Convert RGBA to YUV_I420

Rgba2YuvIyuv = 129

Convert RGBA to YUV_IYUV

Rgba2YuvYv12 = 133

Convert RGBA to YUV_YV12

Xyz2Bgr = 34

Convert XYZ color to BGR color

Xyz2Rgb = 35

Convert XYZ color to RGB color

YCrCb2Bgr = 38

Convert YCrCb color to BGR color

YCrCb2Rgb = 39

Convert YCrCb color to RGB color

Yuv2Bgr = 84

Convert YUV color to BGR

Yuv2BgrI420 = 101

Convert YUV (i420) to BGR

Yuv2BgrIyuv = 101

Convert YUV (iYUV) to BGR

Yuv2BgrNv12 = 91

Convert YUV420i to BGR

Yuv2BgrNv21 = 93

Convert YUV NV21 to BGR

Yuv2BgrUynv = 108

Convert YUV (UYNV) to BGR

Yuv2BgrUyvy = 108

Convert YUV (UYVY) to BGR

Yuv2BgrY422 = 108

Convert YUV (Y422) to BGR

Yuv2BgrYunv = 116

Convert YUV (YUNV) to BGR

Yuv2BgrYuy2 = 116

Convert YUV (YUY2) to BGR

Yuv2BgrYuyv = 116

Convert YUV (YUYV) to BGR

Yuv2BgrYv12 = 99

Convert YUV (YV12) to BGR

Yuv2BgrYvyu = 118

Convert YUV (YVYU) to BGR

Yuv2BgraI420 = 105

Convert YUV (i420) to BGRA

Yuv2BgraIyuv = 105

Convert YUV (iYUV) to BGRA

Yuv2BgraNv12 = 95

Convert YUV NV12 to BGRA

Yuv2BgraNv21 = 97

Convert YUV NV12 to BGRA

Yuv2BgraUynv = 112

Convert YUV (UYNV) to BGRA

Yuv2BgraUyvy = 112

Convert YUV (VYUY) to BGRA

Yuv2BgraY422 = 112

Convert YUV (Y422) to BGRA

Yuv2BgraYunv = 120

Convert YUV (YUNV) to BGRA

Yuv2BgraYuy2 = 120

Convert YUV (YUY2) to BGRA

Yuv2BgraYuyv = 120

Convert YUV (YUYV) to BGRA

Yuv2BgraYv12 = 103

Convert YUV (YV12) to BGRA

Yuv2BgraYvyu = 122

Convert YUV (YVYU) to BGRA

Yuv2Gray420 = 106

Convert YUV 420 to Gray

Yuv2GrayI420 = 106

Convert YUV (i420) to Gray

Yuv2GrayIyuv = 106

Convert YUV (iYUV) to Gray

Yuv2GrayNv12 = 106

Convert YUV NV12 to Gray

Yuv2GrayNv21 = 106

Convert YUV NV21 to Gray

Yuv2GrayUynv = 123

Convert YUV (UYNV) to Gray

Yuv2GrayUyvy = 123

Convert YUV (UYVY) to Gray

Yuv2GrayY422 = 123

Convert YUV (Y422) to Gray

Yuv2GrayYunv = 124

Convert YUV (YUNV) to Gray

Yuv2GrayYuy2 = 124

Convert YUV (YUY2) to Gray

Yuv2GrayYuyv = 124

Convert YUV (YUYV) to Gray

Yuv2GrayYv12 = 106

Convert YUV YV12 to Gray

Yuv2GrayYvyu = 124

Convert YUV (YVYU) to Gray

Yuv2Rgb = 85

Convert YUV color to RGB

Yuv2RgbI420 = 100

Convert YUV (i420) to RGB

Yuv2RgbIyuv = 100

Convert YUV (iYUV) to RGB

Yuv2RgbNv12 = 90

Convert YUV420i to RGB

Yuv2RgbNv21 = 92

Convert YUV NV21 to RGB

Yuv2RgbUynv = 107

Convert YUV (UYNY) to RGB

Yuv2RgbUyvy = 107

Convert YUV (UYVY) to RGB

Yuv2RgbY422 = 107

Convert YUV (Y422) to RGB

Yuv2RgbYunv = 115

Convert YUV (YUNV) to RGB

Yuv2RgbYuy2 = 115

Convert YUV (YUY2) to RGB

Yuv2RgbYuyv = 115

Convert YUV (YUYV) to RGB

Yuv2RgbYv12 = 98

Convert YUV (YV12) to RGB

Yuv2RgbYvyu = 117

Convert YUV (YVYU) to RGB

Yuv2RgbaI420 = 104

Convert YUV (i420) to RGBA

Yuv2RgbaIyuv = 104

Convert YUV (iYUV) to RGBA

Yuv2RgbaNv12 = 94

Convert YUV NV12 to RGBA

Yuv2RgbaNv21 = 96

Convert YUV NV21 to RGBA

Yuv2RgbaUynv = 111

Convert YUV (UYNV) to RGBA

Yuv2RgbaUyvy = 111

Convert YUV (UYVY) to RGBA

Yuv2RgbaY422 = 111

Convert YUV (Y422) to RGBA

Yuv2RgbaYunv = 119

Convert YUV (YUNV) to RGBA

Yuv2RgbaYuy2 = 119

Convert YUV (YUY2) to RGBA

Yuv2RgbaYuyv = 119

Convert YUV (YUYV) to RGBA

Yuv2RgbaYv12 = 102

Convert YUV (YV12) to RGBA

Yuv2RgbaYvyu = 121

Convert YUV (YVYU) to RGBA

Yuv420P2Bgr = 99

Convert YUV (420p) to BGR

Yuv420P2Bgra = 103

Convert YUV (420p) to BGRA

Yuv420P2Gray = 106

Convert YUV (420p) to Gray

Yuv420P2Rgb = 98

Convert YUV (420p) to RGB

Yuv420P2Rgba = 102

Convert YUV (420p) to RGBA

Yuv420Sp2Gray = 106

Convert YUV (420sp) to Gray

Yuv420sp2Bgr = 93

Convert YUV420sp to BGR

Yuv420sp2Bgra = 97

Convert Yuv420sp to BGRA

Yuv420sp2Rgb = 92

Convert YUV420sp to RGB

Yuv420sp2Rgba = 96

Convert Yuv420sp to RGBA