Enum rustcv::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.
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
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 Debug for CvType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CvType
[src]
fn clone(&self) -> CvType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for CvType
[src]
impl Eq for CvType
[src]
impl PartialEq for CvType
[src]
fn eq(&self, __arg_0: &CvType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.