Max Smolens
UNC-Chapel Hill
Research for Office of the Future Group; Assignment for COMP 238: Advanced Image Generation
Fall 2004
bayer_cg: Bayer renderer using fragment programs.
bayer_viewer_ogl: Bayer renderer using OpenGL texturing.
utils: Utilities for generating test data.
Digital cameras commonly use a single CCD to capture an image. To support color imaging with a single CCD, a color filter array (CFA) only allows particular wavelengths of light to pass through at each pixel. The bayer_cg and bayer_viewer_ogl programs reconstruct RGB images from Bayer pattern images. This process is known as "demosaicing."
See bayer_viewer_ogl/doc/bayer_renderer.pdf
for an overview of the reconstruction technique.
See http://msmolens.github.io/bayer-pattern-demosaicing/ for implementation details and performance analysis.