Modified Bayer Structure Sensor Demosaicing

A de-mosaic algorithm for Modified Bayer Structure RAW, including sensor's full readout mode and 1:2 binning mode.

You are now following this Submission

Modified Bayer Structure image sensor, which has full-resolution readout mode and pixel binning readout mode.
Due to the Zig-zag readout of the image sensor before A/D convertor, this color filter array has a suitable pixel binning readout function.
In full resolution mode, its red and blue channels have different resolutions in oblique directions, with one direction excellent and the other weaker.
In 1:2 merge mode, the reading speed is doubled; it outputs two RAW images of the same phase, one all in green and one alternating red and blue. Decoding them allows oversampling.
This algorithm decodes the above two output modes.
Also, a tool for generating Modified Bayer Structure RAW from RGB true color images is provided.

Cite As

Rainbow-Johnny-Johnny-Image-Processing-Lim (2026). Modified Bayer Structure Sensor Demosaicing (https://in.mathworks.com/matlabcentral/fileexchange/119748-modified-bayer-structure-sensor-demosaicing), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
0.2.1.0

NaN Bug Fixed. Quad Pixel Binning Mode Added.

0.2.0.0

Twice the demosaicing speed, higher PSNR & SSIM.

0.1.0.0