Enum cv::core::CvType [−][src]
Here is the CvType
in an easy-to-read table.
C1 | C2 | C3 | C4 | C(5) | C(6) | C(7) | C(8) | |
---|---|---|---|---|---|---|---|---|
CV_8U | 0 | 8 | 16 | 24 | 32 | 40 | 48 | 56 |
CV_8S | 1 | 9 | 17 | 25 | 33 | 41 | 49 | 57 |
CV_16U | 2 | 10 | 18 | 26 | 34 | 42 | 50 | 58 |
CV_16S | 3 | 11 | 19 | 27 | 35 | 43 | 51 | 59 |
CV_32S | 4 | 12 | 20 | 28 | 36 | 44 | 52 | 60 |
CV_32F | 5 | 13 | 21 | 29 | 37 | 45 | 53 | 61 |
CV_64F | 6 | 14 | 22 | 30 | 38 | 46 | 54 | 62 |
Variants
8 bit unsigned, single channel (grey image)
8 bit signed, single channel (grey image)
16 bit unsigned, single channel (grey image)
16 bit signed, single channel (grey image)
32 bit signed, single channel (grey image)
32 bit float, single channel (grey image)
32 bit float, single channel (grey image)
8 bit, two channel (rarelly seen)
8 bit unsigned, three channels (RGB image)
8 bit signed, three channels (RGB image)
16 bit unsigned, three channels (RGB image)
16 bit signed, three channels (RGB image)
32 bit signed, three channels (RGB image)
32 bit float, three channels (RGB image)
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]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,