![Omnivision CameraChip OV9650 Implementation Manual Download Page 29](http://html1.mh-extra.com/html/omnivision/camerachip-ov9650/camerachip-ov9650_implementation-manual_740719029.webp)
Digital Signal Processor (DSP)
Version 1.1, December 7, 2004
Proprietary to OmniVision Technologies
29
O
mni
ision
5.2.1.5 Final Matrix
In OV9650, the M1M2M3 and M7M8M9 is swapped in YUV and RGB mode as shown below:
In YUV output mode:
•
Y'=r*M7+g*M8+b*M9
•
U'=r*M4+g*M5+b*M6
•
V'=r*M1+g*M2+b*M3
In RGB output mode:
•
R'=r*M1+g*M2+b*M3
•
G'=r*M4+g*M5+b*M6
•
B'=r*M7+g*M8+b*M9
YUV Derivation from RGB:
•
Y: 0.59G + 0.31R + 0.11B
•
U: B – Y
•
V: R – Y
YCbCr Derivation from RGB:
•
Y:
0.59G + 0.31R + 0.11B
•
Cb:
0.563 (B – Y)
•
Cr:
0.713 (R – Y)
B&W Derivation from RGB:
•
Y Channel