
74
CONTENTS
Figure 2: Output sequence of RAW data
9.4
Bilinear interpolation of color sensors (RGB Bayer)
For Bayer demosaicing in the camera, we use bilinear interpolation:
Figure 3: Bilinear interpolation
1. Interpolation of green pixels: the average of the upper, lower, left and right pixel values is assigned as the G
value of the interpolated pixel.
For example:
(G3+G7+G9+G13)
G8
=
--------------
4
For G7:
(G1+G3+G11+G13)
G7_new =
0.5 * G7 + 0.5 *
---------------
4
2. Interpolation of red/blue pixels:
Interpolation of a red/blue pixel at a green position: the average of two adjacent pixel values in corresponding
color is assigned to the interpolated pixel.
For example:
(B6+B8)
(R2+R12)
B7
= ------- ; R7
= --------
2
2
Interpolation of a red/blue pixel at a blue/red position: the average of four adjacent diagonal pixel values is
assigned to the interpolated pixel.
For example:
(R2+R4+R12+R14)
(B6+B8+B16+B18)
R8
= --------------- ;
B12
= ---------------
4
4
Any colored edge which might appear is due to Bayer false color artifacts.
Note
There are more advanced and adaptive methods (like edge sensitive ones) available if the host is doing this
debayering.
MATRIX VISION GmbH
Содержание mvBlueFOX
Страница 1: ...mvBlueFOX Technical Manual...
Страница 22: ...5 2 European Union Declaration of Conformity statement 15 MATRIX VISION GmbH...
Страница 23: ...16 CONTENTS MATRIX VISION GmbH...
Страница 24: ...5 3 Legal notice 17 5 3 Legal notice 5 3 1 For customers in the U S A MATRIX VISION GmbH...
Страница 53: ...46 CONTENTS Figure 3 D Sub 9 pin male digital I O MATRIX VISION GmbH...
Страница 117: ...110 CONTENTS MATRIX VISION GmbH...
Страница 201: ...194 CONTENTS 20 1 5 2 Color version MATRIX VISION GmbH...
Страница 202: ...20 1 mvBlueFOX Model 220 0 3 Mpix 640 x 480 195 20 1 5 3 Gray scale version MATRIX VISION GmbH...
Страница 203: ...196 CONTENTS MATRIX VISION GmbH...
Страница 210: ...20 2 mvBlueFOX Model 220a 0 3 Mpix 640 x 480 203 20 2 5 3 Gray scale version MATRIX VISION GmbH...
Страница 211: ...204 CONTENTS MATRIX VISION GmbH...
Страница 217: ...210 CONTENTS 20 3 5 2 Color version MATRIX VISION GmbH...
Страница 218: ...20 3 mvBlueFOX Model 221 0 8 Mpix 1024 x 768 211 20 3 5 3 Gray scale version MATRIX VISION GmbH...
Страница 219: ...212 CONTENTS MATRIX VISION GmbH...
Страница 220: ...20 3 mvBlueFOX Model 221 0 8 Mpix 1024 x 768 213 MATRIX VISION GmbH...
Страница 225: ...218 CONTENTS 20 4 5 2 Color version MATRIX VISION GmbH...
Страница 226: ...20 4 mvBlueFOX Model 223 1 4 Mpix 1360 x 1024 219 20 4 5 3 Gray scale version MATRIX VISION GmbH...
Страница 227: ...220 CONTENTS MATRIX VISION GmbH...
Страница 234: ...20 5 mvBlueFOX Model 224 1 9 Mpix 1600 x 1200 227 20 5 5 3 Gray scale version MATRIX VISION GmbH...
Страница 235: ...228 CONTENTS MATRIX VISION GmbH...