Enum opencv::mcc::COLOR_SPACE

source ·
#[repr(C)]
pub enum COLOR_SPACE {
Show 40 variants COLOR_SPACE_sRGB, COLOR_SPACE_sRGBL, COLOR_SPACE_AdobeRGB, COLOR_SPACE_AdobeRGBL, COLOR_SPACE_WideGamutRGB, COLOR_SPACE_WideGamutRGBL, COLOR_SPACE_ProPhotoRGB, COLOR_SPACE_ProPhotoRGBL, COLOR_SPACE_DCI_P3_RGB, COLOR_SPACE_DCI_P3_RGBL, COLOR_SPACE_AppleRGB, COLOR_SPACE_AppleRGBL, COLOR_SPACE_REC_709_RGB, COLOR_SPACE_REC_709_RGBL, COLOR_SPACE_REC_2020_RGB, COLOR_SPACE_REC_2020_RGBL, COLOR_SPACE_XYZ_D65_2, COLOR_SPACE_XYZ_D65_10, COLOR_SPACE_XYZ_D50_2, COLOR_SPACE_XYZ_D50_10, COLOR_SPACE_XYZ_A_2, COLOR_SPACE_XYZ_A_10, COLOR_SPACE_XYZ_D55_2, COLOR_SPACE_XYZ_D55_10, COLOR_SPACE_XYZ_D75_2, COLOR_SPACE_XYZ_D75_10, COLOR_SPACE_XYZ_E_2, COLOR_SPACE_XYZ_E_10, COLOR_SPACE_Lab_D65_2, COLOR_SPACE_Lab_D65_10, COLOR_SPACE_Lab_D50_2, COLOR_SPACE_Lab_D50_10, COLOR_SPACE_Lab_A_2, COLOR_SPACE_Lab_A_10, COLOR_SPACE_Lab_D55_2, COLOR_SPACE_Lab_D55_10, COLOR_SPACE_Lab_D75_2, COLOR_SPACE_Lab_D75_10, COLOR_SPACE_Lab_E_2, COLOR_SPACE_Lab_E_10,
}

Variants§

§

COLOR_SPACE_sRGB

§

COLOR_SPACE_sRGBL

https://en.wikipedia.org/wiki/SRGB , linear RGB color space

§

COLOR_SPACE_AdobeRGB

§

COLOR_SPACE_AdobeRGBL

§

COLOR_SPACE_WideGamutRGB

§

COLOR_SPACE_WideGamutRGBL

§

COLOR_SPACE_ProPhotoRGB

§

COLOR_SPACE_ProPhotoRGBL

§

COLOR_SPACE_DCI_P3_RGB

§

COLOR_SPACE_DCI_P3_RGBL

https://en.wikipedia.org/wiki/DCI-P3 , linear RGB color space

§

COLOR_SPACE_AppleRGB

§

COLOR_SPACE_AppleRGBL

§

COLOR_SPACE_REC_709_RGB

§

COLOR_SPACE_REC_709_RGBL

https://en.wikipedia.org/wiki/Rec._709 , linear RGB color space

§

COLOR_SPACE_REC_2020_RGB

§

COLOR_SPACE_REC_2020_RGBL

https://en.wikipedia.org/wiki/Rec._2020 , linear RGB color space

§

COLOR_SPACE_XYZ_D65_2

§

COLOR_SPACE_XYZ_D65_10

non-RGB color space

§

COLOR_SPACE_XYZ_D50_2

non-RGB color space

§

COLOR_SPACE_XYZ_D50_10

non-RGB color space

§

COLOR_SPACE_XYZ_A_2

non-RGB color space

§

COLOR_SPACE_XYZ_A_10

non-RGB color space

§

COLOR_SPACE_XYZ_D55_2

non-RGB color space

§

COLOR_SPACE_XYZ_D55_10

non-RGB color space

§

COLOR_SPACE_XYZ_D75_2

non-RGB color space

§

COLOR_SPACE_XYZ_D75_10

non-RGB color space

§

COLOR_SPACE_XYZ_E_2

non-RGB color space

§

COLOR_SPACE_XYZ_E_10

non-RGB color space

§

COLOR_SPACE_Lab_D65_2

§

COLOR_SPACE_Lab_D65_10

non-RGB color space

§

COLOR_SPACE_Lab_D50_2

non-RGB color space

§

COLOR_SPACE_Lab_D50_10

non-RGB color space

§

COLOR_SPACE_Lab_A_2

non-RGB color space

§

COLOR_SPACE_Lab_A_10

non-RGB color space

§

COLOR_SPACE_Lab_D55_2

non-RGB color space

§

COLOR_SPACE_Lab_D55_10

non-RGB color space

§

COLOR_SPACE_Lab_D75_2

non-RGB color space

§

COLOR_SPACE_Lab_D75_10

non-RGB color space

§

COLOR_SPACE_Lab_E_2

non-RGB color space

§

COLOR_SPACE_Lab_E_10

non-RGB color space

Trait Implementations§

source§

impl Clone for COLOR_SPACE

source§

fn clone(&self) -> COLOR_SPACE

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for COLOR_SPACE

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<COLOR_SPACE> for COLOR_SPACE

source§

fn eq(&self, other: &COLOR_SPACE) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for COLOR_SPACE

source§

impl Eq for COLOR_SPACE

source§

impl StructuralEq for COLOR_SPACE

source§

impl StructuralPartialEq for COLOR_SPACE

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.