![AVT Manta G-031B/C Technical Manual Download Page 115](http://html1.mh-extra.com/html/avt-manta/g-031b-c/g-031b-c_technical-manual_3034341115.webp)
Description of the data path
MANTA Technical Manual
V6.0.1
115
In color interpolation a red, green or blue value is determined for each pixel
(P1= first pixel; P2= second pixel; etc). Only two lines are needed for this inter-
polation:
Figure 64: Bayer demosaicing (interpolation)
Formula 1: Bayer demosaicing (type A cameras)
Note
•
Please note that 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.
•
Using ROI, x and y resolutions must be even-numbered.
Input
R1
G1
R2
G2
G3
B1
G4
B2
Output
P1
P2
P3
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
=