Re: OV7620 RGB demosaicing problem



Hello,

first of all thanks for the response! I'm using 8 bit so I'm tristating
the UV bus. And I also set the color space to RGB, I have used the below
I2C commands to configure the chip:

I2CWrite(0x11, 0b00000000); //slow down pclk (0x00 + 1) times(default
value)
DelayMs(50);
I2CWrite(0x12, 0b00101100); //output raw data, enable AWB
DelayMs(50);
I2CWrite(0x13, 0b00100001); //8 bit data format, enable auto adjust mode
DelayMs(50);
I2CWrite(0x14, 0b00100100); //ucResCtrlSet detayi main()'in yukarisinda
DelayMs(50);
I2CWrite(0x28, 0b00100000); //Progressive scan mode(default is
interlaced), repetetive mode!
DelayMs(50);
But I'm confused in a point. If I tristate the UV bus, shouldn't it stop
outputting any signal? I mean, shouldn't it be low all the time? Because
when I check it by scope I see some irregular signals on the pin.


On Oct 5, 6:52 am, "ksanthos" <taskin.balt...@xxxxxxxxx> wrote:
Hello,

I'm working on an imaging system which uses C3188A digital cmos
camera(contains OV7620 image sensor). It is controlled by a PIC18F452
and
each frame I want to view is stored in a FIFO buffer, AL422B. I can
store
a frame and transfer it to my PC by RS232. However I have a problem
with
the images, they look gray scale although they should be RGB.
I have configured OV7620 to transmit QVGA images in progressive mode.
I
haven't changed the data mode, it's repetitive because one-line output
format is not supported in qvga mode. The camera is configured to
output
raw data also.
<snip>
Doesn't the OV7620 output pixels in the YUV colorspace by default?
Are you commanding the sensor to switch to RGB mode (by sending an I2C
cmd to change an internal register...I don't recall which one off the
top of my head, but its clear in the data***)? Also, are you using
both the Y pixel bus and the UV pixel bus, or just the Y pixel bus?

Regards,
John O
www.jrobot.net



.


Quantcast