Skip to content

Add conversion from Bayer RGB to RGB, Grayscale, etc. Also known as demosaicing #66

@Jisu-Woniu

Description

@Jisu-Woniu

Many CCD and CMOS cameras capture raw images in Bayer patterns, one of them may look like:

G B G B G B
R G R G R G
G B G B G B
R G R G R G

Each pixel just marks one of the RGB channels as a u8 or u16. Other channels are interpolated from adjacent pixels.

OpenCV provides a group of flags to convert a Bayer image to an RGB or Grayscale one, the specific algorithm are implemented in opencv/modules/imgproc/src/demosaicing.cpp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions