Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Latest commit

 

History

History
32 lines (23 loc) · 1.52 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.52 KB

GPU-Accelerated Bayer Pattern Demosaicing

Max Smolens
UNC-Chapel Hill
Research for Office of the Future Group; Assignment for COMP 238: Advanced Image Generation
Fall 2004

Components

bayer_cg: Bayer renderer using fragment programs.
bayer_viewer_ogl: Bayer renderer using OpenGL texturing.
utils: Utilities for generating test data.

Overview

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."

Bayer CFA pattern:

Bayer CFA pattern

Bayer pattern image:

Bayer pattern image Detail view

Reconstructed image:

Reconstructed image Detail view

More information

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.