Search Results for

    Show / Hide Table of Contents

    Enum ColorConversion

    Specifies the color space conversion used by CvtColor(Arr, Arr, ColorConversion).

    Namespace: OpenCV.Net
    Assembly: OpenCV.Net.dll
    Syntax
    public enum ColorConversion : int

    Fields

    Name Description
    BayerBG2Bgr

    Specifies a conversion from the Bayer "BG" color space to BGR.

    BayerBG2BgrVng

    Specifies a conversion from the Bayer "BG" color space to BGR using the VNG demosaicing algorithm.

    BayerBG2Gray

    Specifies a conversion from the Bayer "BG" color space to grayscale.

    BayerBG2Rgb

    Specifies a conversion from the Bayer "BG" color space to RGB.

    BayerBG2RgbVng

    Specifies a conversion from the Bayer "BG" color space to RGB using the VNG demosaicing algorithm.

    BayerGB2Bgr

    Specifies a conversion from the Bayer "GB" color space to BGR.

    BayerGB2BgrVng

    Specifies a conversion from the Bayer "GB" color space to BGR using the VNG demosaicing algorithm.

    BayerGB2Gray

    Specifies a conversion from the Bayer "GB" color space to grayscale.

    BayerGB2Rgb

    Specifies a conversion from the Bayer "GB" color space to RGB.

    BayerGB2RgbVng

    Specifies a conversion from the Bayer "GB" color space to RGB using the VNG demosaicing algorithm.

    BayerGR2Bgr

    Specifies a conversion from the Bayer "GR" color space to BGR.

    BayerGR2BgrVng

    Specifies a conversion from the Bayer "GR" color space to BGR using the VNG demosaicing algorithm.

    BayerGR2Gray

    Specifies a conversion from the Bayer "GR" color space to grayscale.

    BayerGR2Rgb

    Specifies a conversion from the Bayer "GR" color space to RGB.

    BayerGR2RgbVng

    Specifies a conversion from the Bayer "GR" color space to RGB using the VNG demosaicing algorithm.

    BayerRG2Bgr

    Specifies a conversion from the Bayer "RG" color space to BGR.

    BayerRG2BgrVng

    Specifies a conversion from the Bayer "RG" color space to BGR using the VNG demosaicing algorithm.

    BayerRG2Gray

    Specifies a conversion from the Bayer "RG" color space to grayscale.

    BayerRG2Rgb

    Specifies a conversion from the Bayer "RG" color space to RGB.

    BayerRG2RgbVng

    Specifies a conversion from the Bayer "RG" color space to RGB using the VNG demosaicing algorithm.

    Bgr2Bgr555

    Specifies a conversion from the BGR color space to 16-bit BGR555.

    Bgr2Bgr565

    Specifies a conversion from the BGR color space to 16-bit BGR565.

    Bgr2Bgra

    Specifies a conversion from the BGR color space to BGRA.

    Bgr2Gray

    Specifies a conversion from the BGR color space to grayscale.

    Bgr2Hls

    Specifies a conversion from the BGR color space to HLS.

    Bgr2HlsFull

    Specifies a conversion from the BGR color space to HLS using the full 8-bit range for H ([0,255]).

    Bgr2Hsv

    Specifies a conversion from the BGR color space to HSV.

    Bgr2HsvFull

    Specifies a conversion from the BGR color space to HSV using the full 8-bit range for H ([0,255]).

    Bgr2Lab

    Specifies a conversion from the BGR color space to CIE Lab*.

    Bgr2Luv

    Specifies a conversion from the BGR color space to CIE Luv*.

    Bgr2Rgb

    Specifies a conversion from the BGR color space to RGB.

    Bgr2Rgba

    Specifies a conversion from the BGR color space to RGBA.

    Bgr2Xyz

    Specifies a conversion from the BGR color space to CIE XYZ Rec. 709.

    Bgr2YCrCb

    Specifies a conversion from the BGR color space to YCrCb.

    Bgr2Yuv

    Specifies a conversion from the BGR color space to YUV.

    Bgr5552Bgr

    Specifies a conversion from the 16-bit BGR555 color space to BGR.

    Bgr5552Bgra

    Specifies a conversion from the 16-bit BGR555 color space to BGRA.

    Bgr5552Gray

    Specifies a conversion from the 16-bit BGR555 color space to grayscale.

    Bgr5552Rgb

    Specifies a conversion from the 16-bit BGR555 color space to RGB.

    Bgr5552Rgba

    Specifies a conversion from the 16-bit BGR555 color space to RGBA.

    Bgr5652Bgr

    Specifies a conversion from the 16-bit BGR565 color space to BGR.

    Bgr5652Bgra

    Specifies a conversion from the 16-bit BGR565 color space to BGRA.

    Bgr5652Gray

    Specifies a conversion from the 16-bit BGR565 color space to grayscale.

    Bgr5652Rgb

    Specifies a conversion from the 16-bit BGR565 color space to RGB.

    Bgr5652Rgba

    Specifies a conversion from the 16-bit BGR565 color space to RGBA.

    Bgra2Bgr

    Specifies a conversion from the BGRA color space to BGR.

    Bgra2Bgr555

    Specifies a conversion from the BGRA color space to 16-bit BGR555.

    Bgra2Bgr565

    Specifies a conversion from the BGRA color space to 16-bit BGR565.

    Bgra2Gray

    Specifies a conversion from the BGRA color space to grayscale.

    Bgra2Rgb

    Specifies a conversion from the BGRA color space to RGB.

    Bgra2Rgba

    Specifies a conversion from the BGRA color space to RGBA.

    Gray2Bgr

    Specifies a conversion from grayscale to the BGR color space.

    Gray2Bgr555

    Specifies a conversion from grayscale to the 16-bit BGR555 color space.

    Gray2Bgr565

    Specifies a conversion from grayscale to the 16-bit BGR565 color space.

    Gray2Bgra

    Specifies a conversion from grayscale to the BGRA color space.

    Gray2Rgb

    Specifies a conversion from grayscale to the RGB color space.

    Gray2Rgba

    Specifies a conversion from grayscale to the RGBA color space.

    Hls2Bgr

    Specifies a conversion from the HLS color space to BGR.

    Hls2BgrFull

    Specifies a conversion from the HLS color space to BGR using the full 8-bit range for H ([0,255]).

    Hls2Rgb

    Specifies a conversion from the HLS color space to RGB.

    Hls2RgbFull

    Specifies a conversion from the HLS color space to RGB using the full 8-bit range for H ([0,255]).

    Hsv2Bgr

    Specifies a conversion from the HSV color space to BGR.

    Hsv2BgrFull

    Specifies a conversion from the HSV color space to BGR using the full 8-bit range for H ([0,255]).

    Hsv2Rgb

    Specifies a conversion from the HSV color space to RGB.

    Hsv2RgbFull

    Specifies a conversion from the HSV color space to RGB using the full 8-bit range for H ([0,255]).

    Lab2Bgr

    Specifies a conversion from the CIE Lab* color space to BGR.

    Lab2LBgr

    Specifies a conversion from the CIE Lab* color space to Luminance BGR.

    Lab2LRgb

    Specifies a conversion from the CIE Lab* color space to Luminance RGB.

    Lab2Rgb

    Specifies a conversion from the CIE Lab* color space to RGB.

    LBgr2Lab

    Specifies a conversion from the Luminance BGR color space to CIE Lab*.

    LBgr2Luv

    Specifies a conversion from the Luminance BGR color space to CIE Luv*.

    LRgb2Lab

    Specifies a conversion from the Luminance RGB color space to CIE Lab*.

    LRgb2Luv

    Specifies a conversion from the Luminance RGB color space to CIE Luv*.

    Luv2Bgr

    Specifies a conversion from the CIE Luv* color space to BGR.

    Luv2LBgr

    Specifies a conversion from the CIE Luv* color space to Luminance BGR.

    Luv2LRgb

    Specifies a conversion from the CIE Luv* color space to Luminance RGB.

    Luv2Rgb

    Specifies a conversion from the CIE Luv* color space to RGB.

    mRgba2Rgba

    Specifies a conversion from premultiplied alpha RGB color space to non-premultiplied RGBA.

    Rgb2Bgr

    Specifies a conversion from the RGB color space to BGR.

    Rgb2Bgr555

    Specifies a conversion from the RGB color space to 16-bit BGR555.

    Rgb2Bgr565

    Specifies a conversion from the RGB color space to 16-bit BGR565.

    Rgb2Bgra

    Specifies a conversion from the RGB color space to BGRA.

    Rgb2Gray

    Specifies a conversion from the RGB color space to grayscale.

    Rgb2Hls

    Specifies a conversion from the RGB color space to HLS.

    Rgb2HlsFull

    Specifies a conversion from the RGB color space to HLS using the full 8-bit range for H ([0,255]).

    Rgb2Hsv

    Specifies a conversion from the RGB color space to HSV.

    Rgb2HsvFull

    Specifies a conversion from the RGB color space to HSV using the full 8-bit range for H ([0,255]).

    Rgb2Lab

    Specifies a conversion from the RGB color space to CIE Lab*.

    Rgb2Luv

    Specifies a conversion from the RGB color space to CIE Luv*.

    Rgb2Rgba

    Specifies a conversion from the RGB color space to RGBA.

    Rgb2Xyz

    Specifies a conversion from the RGB color space to CIE XYZ Rec. 709.

    Rgb2YCrCb

    Specifies a conversion from the RGB color space to YCrCb.

    Rgb2Yuv

    Specifies a conversion from the RGB color space to YUV.

    Rgba2Bgr

    Specifies a conversion from the RGBA color space to BGR.

    Rgba2Bgr555

    Specifies a conversion from the RGBA color space to 16-bit BGR555.

    Rgba2Bgr565

    Specifies a conversion from the RGBA color space to 16-bit BGR565.

    Rgba2Bgra

    Specifies a conversion from the RGBA color space to BGRA.

    Rgba2Gray

    Specifies a conversion from the RGBA color space to grayscale.

    Rgba2mRgba

    Specifies a conversion from non-premultiplied RGBA color space to premultiplied alpha RGB.

    Rgba2Rgb

    Specifies a conversion from the RGBA color space to RGB.

    Xyz2Bgr

    Specifies a conversion from the CIE XYZ Rec. 709 color space to BGR.

    Xyz2Rgb

    Specifies a conversion from the CIE XYZ Rec. 709 color space to RGB.

    YCrCb2Bgr

    Specifies a conversion from the YCrCb color space to BGR.

    YCrCb2Rgb

    Specifies a conversion from the YCrCb color space to RGB.

    Yuv2Bgr

    Specifies a conversion from the YUV color space to BGR.

    Yuv2BgraI420

    Specifies a conversion from the YUV color space to BGRA where the 8-bit Y plane is followed by two 8-bit 2x2 subsampled U and V planes.

    Yuv2BgraIYuv

    Specifies a conversion from the YUV color space to BGRA where the 8-bit Y plane is followed by two 8-bit 2x2 subsampled U and V planes.

    Yuv2BgraNV12

    Specifies a conversion from the YUV color space to BGRA with interleaved U/V plane with 2x2 subsampling.

    Yuv2BgraNV21

    Specifies a conversion from the YUV color space to BGRA with U/V reversed in the interleaved plane with 2x2 subsampling.

    Yuv2BgraUynv

    Specifies a conversion from the YUV color space to BGRA with two luminance samples for each chroma period in the pattern UYVY.

    Yuv2BgraUyvy

    Specifies a conversion from the YUV color space to BGRA with two luminance samples for each chroma period in the pattern UYVY.

    Yuv2BgraY422

    Specifies a conversion from the YUV 422 color space to BGRA.

    Yuv2BgraYunv

    Specifies a conversion from the YUV color space to BGRA with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2BgraYuy2

    Specifies a conversion from the YUV color space to BGRA with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2BgraYuyv

    Specifies a conversion from the YUV color space to BGRA with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2BgraYV12

    Specifies a conversion from the YUV color space to BGRA where the 8-bit Y plane is followed by two 8-bit 2x2 subsampled V and U planes.

    Yuv2BgraYvyu

    Specifies a conversion from the YUV color space to BGRA with two luminance samples for each chroma period in the pattern YVYU.

    Yuv2BgrI420

    Specifies a conversion from the YUV color space to BGR where the 8-bit Y plane is followed by two 8-bit 2x2 subsampled U and V planes.

    Yuv2BgrIYuv

    Specifies a conversion from the YUV color space to BGR where the 8-bit Y plane is followed by two 8-bit 2x2 subsampled U and V planes.

    Yuv2BgrNV12

    Specifies a conversion from the YUV color space to BGR with interleaved U/V plane with 2x2 subsampling.

    Yuv2BgrNV21

    Specifies a conversion from the YUV color space to BGR with U/V reversed in the interleaved plane with 2x2 subsampling.

    Yuv2BgrUynv

    Specifies a conversion from the YUV color space to BGR with two luminance samples for each chroma period in the pattern UYVY.

    Yuv2BgrUyvy

    Specifies a conversion from the YUV color space to BGR with two luminance samples for each chroma period in the pattern UYVY.

    Yuv2BgrY422

    Specifies a conversion from the YUV 422 color space to BGR.

    Yuv2BgrYunv

    Specifies a conversion from the YUV color space to BGR with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2BgrYuy2

    Specifies a conversion from the YUV color space to BGR with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2BgrYuyv

    Specifies a conversion from the YUV color space to BGR with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2BgrYV12

    Specifies a conversion from the YUV color space to BGR where the 8-bit Y plane is followed by two 8-bit 2x2 subsampled V and U planes.

    Yuv2BgrYvyu

    Specifies a conversion from the YUV color space to BGR with two luminance samples for each chroma period in the pattern YVYU.

    Yuv2Gray420

    Specifies a conversion from the YUV 420 color space to grayscale.

    Yuv2GrayI420

    Specifies a conversion from the YUV 420 color space to grayscale.

    Yuv2GrayIYuv

    Specifies a conversion from the YUV 420 color space to grayscale.

    Yuv2GrayNV12

    Specifies a conversion from the YUV 420 color space to grayscale.

    Yuv2GrayNV21

    Specifies a conversion from the YUV 420 color space to grayscale.

    Yuv2GrayUynv

    Specifies a conversion from the YUV color space to grayscale with two luminance samples for each chroma period in the pattern UYVY.

    Yuv2GrayUyvy

    Specifies a conversion from the YUV color space to grayscale with two luminance samples for each chroma period in the pattern UYVY.

    Yuv2GrayY422

    Specifies a conversion from the YUV 422 color space to grayscale.

    Yuv2GrayYunv

    Specifies a conversion from the YUV color space to grayscale with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2GrayYuy2

    Specifies a conversion from the YUV color space to grayscale with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2GrayYuyv

    Specifies a conversion from the YUV color space to grayscale with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2GrayYV12

    Specifies a conversion from the YUV 420 color space to grayscale.

    Yuv2GrayYvyu

    Specifies a conversion from the YUV color space to grayscale with two luminance samples for each chroma period in the pattern YVYU.

    Yuv2Rgb

    Specifies a conversion from the YUV color space to RGB.

    Yuv2RgbaI420

    Specifies a conversion from the YUV color space to RGBA where the 8-bit Y plane is followed by two 8-bit 2x2 subsampled U and V planes.

    Yuv2RgbaIYuv

    Specifies a conversion from the YUV color space to RGBA where the 8-bit Y plane is followed by two 8-bit 2x2 subsampled U and V planes.

    Yuv2RgbaNV12

    Specifies a conversion from the YUV color space to RGBA with interleaved U/V plane with 2x2 subsampling.

    Yuv2RgbaNV21

    Specifies a conversion from the YUV color space to RGBA with U/V reversed in the interleaved plane with 2x2 subsampling.

    Yuv2RgbaUynv

    Specifies a conversion from the YUV color space to RGBA with two luminance samples for each chroma period in the pattern UYVY.

    Yuv2RgbaUyvy

    Specifies a conversion from the YUV color space to RGBA with two luminance samples for each chroma period in the pattern UYVY.

    Yuv2RgbaY422

    Specifies a conversion from the YUV 422 color space to RGBA.

    Yuv2RgbaYunv

    Specifies a conversion from the YUV color space to RGBA with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2RgbaYuy2

    Specifies a conversion from the YUV color space to RGBA with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2RgbaYuyv

    Specifies a conversion from the YUV color space to RGBA with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2RgbaYV12

    Specifies a conversion from the YUV color space to RGBA where the 8-bit Y plane is followed by two 8-bit 2x2 subsampled V and U planes.

    Yuv2RgbaYvyu

    Specifies a conversion from the YUV color space to RGBA with two luminance samples for each chroma period in the pattern YVYU.

    Yuv2RgbI420

    Specifies a conversion from the YUV color space to RGB where the 8-bit Y plane is followed by two 8-bit 2x2 subsampled U and V planes.

    Yuv2RgbIYuv

    Specifies a conversion from the YUV color space to RGB where the 8-bit Y plane is followed by two 8-bit 2x2 subsampled U and V planes.

    Yuv2RgbNV12

    Specifies a conversion from the YUV color space to RGB with interleaved U/V plane with 2x2 subsampling.

    Yuv2RgbNV21

    Specifies a conversion from the YUV color space to RGB with U/V reversed in the interleaved plane with 2x2 subsampling.

    Yuv2RgbUynv

    Specifies a conversion from the YUV color space to RGB with two luminance samples for each chroma period in the pattern UYVY.

    Yuv2RgbUyvy

    Specifies a conversion from the YUV color space to RGB with two luminance samples for each chroma period in the pattern UYVY.

    Yuv2RgbY422

    Specifies a conversion from the YUV 422 color space to RGB.

    Yuv2RgbYunv

    Specifies a conversion from the YUV color space to RGB with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2RgbYuy2

    Specifies a conversion from the YUV color space to RGB with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2RgbYuyv

    Specifies a conversion from the YUV color space to RGB with two luminance samples for each chroma period in the pattern YUYV.

    Yuv2RgbYV12

    Specifies a conversion from the YUV color space to RGB where the 8-bit Y plane is followed by two 8-bit 2x2 subsampled V and U planes.

    Yuv2RgbYvyu

    Specifies a conversion from the YUV color space to RGB with two luminance samples for each chroma period in the pattern YVYU.

    Yuv420p2Bgr

    Specifies a conversion from the YUV 420 planar color space to BGR. Same as Yuv2BgrYV12.

    Yuv420p2Bgra

    Specifies a conversion from the YUV 420 planar color space to BGRA. Same as Yuv2BgraYV12.

    Yuv420p2Gray

    Specifies a conversion from the YUV 420 color space to grayscale.

    Yuv420p2Rgb

    Specifies a conversion from the YUV 420 planar color space to RGB. Same as Yuv2RgbYV12.

    Yuv420p2Rgba

    Specifies a conversion from the YUV 420 planar color space to RGBA. Same as Yuv2RgbaYV12.

    Yuv420sp2Bgr

    Specifies a conversion from the YUV 420 semi-planar color space to BGR. Same as Yuv2BgrNV21.

    Yuv420sp2Bgra

    Specifies a conversion from the YUV 420 semi-planar color space to BGRA. Same as Yuv2BgraNV21.

    Yuv420sp2Gray

    Specifies a conversion from the YUV 420 color space to grayscale.

    Yuv420sp2Rgb

    Specifies a conversion from the YUV 420 semi-planar color space to RGB. Same as Yuv2RgbNV21.

    Yuv420sp2Rgba

    Specifies a conversion from the YUV 420 semi-planar color space to RGBA. Same as Yuv2RgbaNV21.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX