Enum bayer::CFA
[−]
[src]
pub enum CFA { BGGR, GBRG, GRBG, RGGB, }
The 2x2 colour filter array (CFA) pattern.
The sequence of R, G, B describe the colours of the top-left, top-right, bottom-left, and bottom-right pixels in the 2x2 block, in that order.
Variants
BGGR
GBRG
GRBG
RGGB
Methods
impl CFA
[src]
fn next_x(self) -> Self
The 2x2 pixel block obtained when moving right 1 column.
fn next_y(self) -> Self
The 2x2 pixel block obtained when moving down 1 row.
Trait Implementations
impl Clone for CFA
[src]
fn clone(&self) -> CFA
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more