Enum cv::core::CvType[][src]

#[repr(C)]pub enum CvType {
    Cv8UC1,
    Cv8SC1,
    Cv16UC1,
    Cv16SC1,
    Cv32SC1,
    Cv32FC1,
    Cv64FC1,
    Cv8UC2,
    Cv8UC3,
    Cv8SC3,
    Cv16UC3,
    Cv16SC3,
    Cv32SC3,
    Cv32FC3,
    Cv64FC3,
}

Here is the CvType in an easy-to-read table.

C1C2C3C4C(5)C(6)C(7)C(8)
CV_8U08162432404856
CV_8S19172533414957
CV_16U210182634425058
CV_16S311192735435159
CV_32S412202836445260
CV_32F513212937455361
CV_64F614223038465462

Variants

Cv8UC1

8 bit unsigned, single channel (grey image)

Cv8SC1

8 bit signed, single channel (grey image)

Cv16UC1

16 bit unsigned, single channel (grey image)

Cv16SC1

16 bit signed, single channel (grey image)

Cv32SC1

32 bit signed, single channel (grey image)

Cv32FC1

32 bit float, single channel (grey image)

Cv64FC1

32 bit float, single channel (grey image)

Cv8UC2

8 bit, two channel (rarelly seen)

Cv8UC3

8 bit unsigned, three channels (RGB image)

Cv8SC3

8 bit signed, three channels (RGB image)

Cv16UC3

16 bit unsigned, three channels (RGB image)

Cv16SC3

16 bit signed, three channels (RGB image)

Cv32SC3

32 bit signed, three channels (RGB image)

Cv32FC3

32 bit float, three channels (RGB image)

Cv64FC3

32 bit float, three channels (RGB image)

Trait Implementations

impl Clone for CvType[src]

impl Copy for CvType[src]

impl Debug for CvType[src]

impl Eq for CvType[src]

impl Hash for CvType[src]

impl PartialEq<CvType> for CvType[src]

impl StructuralEq for CvType[src]

impl StructuralPartialEq for CvType[src]

Auto Trait Implementations

impl RefUnwindSafe for CvType

impl Send for CvType

impl Sync for CvType

impl Unpin for CvType

impl UnwindSafe for CvType

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.