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

Methods

impl CFA
[src]

The 2x2 pixel block obtained when moving right 1 column.

The 2x2 pixel block obtained when moving down 1 row.

Trait Implementations

impl Clone for CFA
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for CFA
[src]

impl Debug for CFA
[src]

Formats the value using the given formatter.

impl Eq for CFA
[src]

impl PartialEq for CFA
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.