2019-10-02 03:54 AM
I capture an image using the ov9655 camera module. The selected the image format as rgb565. The image captured is getting captured clearly (as i can see it on the lcd). As a next step, I wanted to analyse how the image is stored in the camera buffer.
The size of buffe is 320 and consits of 16 bit 320 HEX values. I want to convert this to rgb565 and check if I get the correct pixel color. Could anyone help me with this?
I am confused as the camera datasheet talks something about the Bayer pattern for output patter which seems to be different from the arrangement of rgb565 format