NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Bayer Decoder IP

VERSION 1

Created on: Dec 16, 2008 8:52 PM by SteakMcDAX - Last Modified:  Dec 7, 2009 1:54 PM by Deirdre

The Bayer decoder block takes an incoming 1 byte/pixel Bayer encoded data stream and produces a 4 byte/pixel RGB data stream. A 3x3 buffer is used to provide the pixel data. The process is very standard; it receives a 3x3 block of pixels and uses a linear or bilinear interpolation. The figure below shows a normal Bayer pattern and the corresponding equations.

 

 

 

BayerDecodingPic.jpg

As shown, a green pixel in a red/green row would average the left and right red pixels to produce its red value and the top and bottom blue pixels to produce the blue value. A red pixel on the same row would average the four blue pixels in the corners to produce its blue value, and the four green pixels to produce the green value.

 

Downloads:
Average User Rating
(0 ratings)




There are no comments on this document

More Like This

  • Retrieving data ...