beautypg.com

Color interpolation (bayer demosaicing) – ALLIED Vision Technologies Stingray F-504 User Manual

Page 175

background image

Description of the data path

STINGRAY Technical Manual V4.4.4

173

Color interpolation (BAYER demosaicing)

The color sensors capture the color information via so-called primary color
(R-G-B) filters placed over the individual pixels in a BAYER mosaic layout.
An effective BAYER  RGB color interpolation already takes place in all
Stingray color version cameras.

In color interpolation a red, green or blue value is determined for each pixel.
An AVT proprietary BAYER demosaicing algorithm is used for this interpola-
tion (2x2), optimized for both sharpness of contours as well as reduction of
false edge coloring.

Color processing can be bypassed by using so-called RAW image transfer.

RAW mode is primarily used to

save bandwidths on the IEEE 1394 bus

achieve higher frame rates

use different BAYER demosaicing algorithms on the PC (for all Stingray
models the first pixel of the sensor is RED).

Figure 91: BAYER demosaicing (example of 2x2 matrix)

Note

If the PC does not perform BAYER to RGB post-processing,
the b/w image will be superimposed with a checkerboard
pattern.

x