Hello,
I'm working on an imaging system which uses C3188A digital cmo camera(contains OV7620 image sensor). It is controlled by a PIC18F452 an each frame I want to view is stored in a FIFO buffer, AL422B. I can stor a frame and transfer it to my PC by RS232. However I have a problem wit the images, they look gray scale although they should be RGB. I have configured OV7620 to transmit QVGA images in progressive mode. haven't changed the data mode, it's repetitive because one-line outpu format is not supported in qvga mode. The camera is configured to outpu raw data also. Anyway, when I display the bayer pattern in bmp format, I see that colo sensors do not seem to work properly. I display each pixel as below: The bayer pattern form is: B G B G G R G R bmp file form is: (0, 0, B), (0, G, 0), (0, 0, B), (0, G, 0) (0, G, 0), (R, 0, 0), (0, G, 0), (R, 0, 0) This is just for test purposes. I want to see red things red, blue thing blue and green things green however the sensor doesn't seem to sense the in that way, they all look the same color which is greenish. I have als converted bayer pattern into RGB and saw that the image is completely gra scale although the sensor is configured for raw data output(it looks lik that each components digital value is so close to each other that when components are combined it gives a gray scale pixel). Because the image i QVGA and it is outputted in repetitive format 2 bytes are sent for eac pixel, am I right? So, I should be receiving 153600 pixels(320 x 240 x 2 and this is exactly what I count during the transfer. So there shouldn' be any pixel missing issue. Moreover the camera is connected to the FIF memory directly so they synchronize each other by hardware therefore ther shouldn't be any problems caused by software. Other than that I couldn' find any way to resolve that issue, could anybody help me in tha problem??
Thanks!!
Taskin Baltaci