Color interpolation (bayer demosaicing) – ALLIED Vision Technologies Marlin F-201 User Manual

Page 105

Advertising
background image

Description of the data path

MARLIN Technical Manual V2.4.0

105

RAW-mode is accessible via Color_Mode Mono8, RAW8 and via Format_7
Mode_1.

Color interpolation (BAYER demosaicing)

In color interpolation a red, green or blue value is determined for each pixel.
Only two lines are needed for this interpolation:

Note

L

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

Figure 62: Bayer demosaicing (interpolation)

Note

L

On the color camera, a wrongly colored border of one or two
pixel wide forms on the left and right image borders. This is
also a consequence of BAYER demosaicing as the image width
displayed on the color camera is not scaled down.

P1

red

R1

=

P1

green

G1

G3

+

2

-------------------

=

P1

blue

B1

=

P2

red

R2

=

P2

green

G1

G4

+

2

-------------------

=

P2

blue

B1

=

P3

red

R2

=

P3

green

G2

G4

+

2

-------------------

=

P3

blue

B2

=

Advertising
This manual is related to the following products: