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

msmolens/bayer-pattern-demosaicing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.