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.

6 Downloads

Updated 29 Oct 2022

View License

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 (2023). Modified Bayer Structure Sensor Demosaicing (https://www.mathworks.com/matlabcentral/fileexchange/119748-modified-bayer-structure-sensor-demosaicing), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
0.1.0.0