Hello,
I am deveolping a VHDL code to get a image from a OV7620 camera. Until now I have managed to get YUV image in a binary file. When I display that image the Y component is correct (monochrome image) but the problem is in U and V components.
The whole image is all magenta because there isn't green component. I am using CCIR 601 YCbCr color space with formula:
R = 1.164(Y ? 16) + 1.596(Cr ? 128) G = 1.164(Y ? 16) ? 0.813(Cr ? 128) ? 0.391(Cb ? 128) B = 1.164(Y ? 16) + 2.018(Cb ? 128)
Registers setup are in default mode except for QVGA mode (bit 5 register
14) and CCIR 601 YCrCb (bit 7:6 register 67).Thanks.
--------------------------------------- Posted through