Enum cv::imgproc::ColorConversion[][src]

#[repr(C)]pub enum ColorConversion {
    BGR2BGRA,
    BGRA2BGR,
    BGR2RGBA,
    RGBA2BGR,
    BGR2RGB,
    BGRA2RGBA,
    BGR2GRAY,
    RGB2GRAY,
    GRAY2BGR,
    GRAY2BGRA,
    BGRA2GRAY,
    RGBA2GRAY,
    BGR2BGR565,
    RGB2BGR565,
    BGR5652BGR,
    BGR5652RGB,
    BGRA2BGR565,
    RGBA2BGR565,
    BGR5652BGRA,
    BGR5652RGBA,
    GRAY2BGR565,
    BGR5652GRAY,
    BGR2BGR555,
    RGB2BGR555,
    BGR5552BGR,
    BGR5552RGB,
    BGRA2BGR555,
    RGBA2BGR555,
    BGR5552BGRA,
    BGR5552RGBA,
    GRAY2BGR555,
    BGR5552GRAY,
    BGR2XYZ,
    RGB2XYZ,
    XYZ2BGR,
    XYZ2RGB,
    BGR2YCrCb,
    RGB2YCrCb,
    YCrCb2BGR,
    YCrCb2RGB,
    BGR2HSV,
    RGB2HSV,
    BGR2Lab,
    RGB2Lab,
    BGR2Luv,
    RGB2Luv,
    BGR2HLS,
    RGB2HLS,
    HSV2BGR,
    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,
    RGB2YUV,
    YUV2BGR,
    YUV2RGB,
    YUV2RGB_NV12,
    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,
    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,
    mRGBA2RGBA,
    RGB2YUV_I420,
    BGR2YUV_I420,
    RGBA2YUV_I420,
    BGRA2YUV_I420,
    RGB2YUV_YV12,
    BGR2YUV_YV12,
    RGBA2YUV_YV12,
    BGRA2YUV_YV12,
    BayerBG2BGR,
    BayerGB2BGR,
    BayerRG2BGR,
    BayerGR2BGR,
    BayerBG2GRAY,
    BayerGB2GRAY,
    BayerRG2GRAY,
    BayerGR2GRAY,
    BayerBG2BGR_VNG,
    BayerGB2BGR_VNG,
    BayerRG2BGR_VNG,
    BayerGR2BGR_VNG,
    BayerBG2BGR_EA,
    BayerGB2BGR_EA,
    BayerRG2BGR_EA,
    BayerGR2BGR_EA,
    COLORCVT_MAX,
}

Color conversion code used in cvt_color.

Variants

BGR2BGRA
BGRA2BGR
BGR2RGBA
RGBA2BGR
BGR2RGB
BGRA2RGBA
BGR2GRAY
RGB2GRAY
GRAY2BGR
GRAY2BGRA
BGRA2GRAY
RGBA2GRAY
BGR2BGR565
RGB2BGR565
BGR5652BGR
BGR5652RGB
BGRA2BGR565
RGBA2BGR565
BGR5652BGRA
BGR5652RGBA
GRAY2BGR565
BGR5652GRAY
BGR2BGR555
RGB2BGR555
BGR5552BGR
BGR5552RGB
BGRA2BGR555
RGBA2BGR555
BGR5552BGRA
BGR5552RGBA
G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2GRAY
BayerBG2BGR_VNG
BayerGB2BGR_VNG
BayerRG2BGR_VNG
BayerGR2BGR_VNG
BayerBG2BGR_EA
BayerGB2BGR_EA
BayerRG2BGR_EA
BayerGR2BGR_EA
COLORCVT_MAX

Trait Implementations

impl Clone for ColorConversion[src]

impl Copy for ColorConversion[src]

impl Debug for ColorConversion[src]

impl Eq for ColorConversion[src]

impl Hash for ColorConversion[src]

impl PartialEq<ColorConversion> for ColorConversion[src]

impl StructuralEq for ColorConversion[src]

impl StructuralPartialEq for ColorConversion[src]

Auto Trait Implementations

impl RefUnwindSafe for ColorConversion

impl Send for ColorConversion

impl Sync for ColorConversion

impl Unpin for ColorConversion

impl UnwindSafe for ColorConversion

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.