[Gta04-owner] BGR / RGB swap in camera

Dr. H. Nikolaus Schaller hns at goldelico.com
Sat Jun 8 17:41:59 CEST 2013


Am 08.06.2013 um 12:53 schrieb Andreas Kemnade:

> On Sat, 2013-06-08 at 11:56 +0200, Dr. H. Nikolaus Schaller wrote: 
>> Am 07.06.2013 um 21:31 schrieb Andreas Kemnade:
>> 
>>> Hi,
>>> 
>>> another thing i found with the camera:
>>> I saved the buffers, the example capture.c gets from the camera, to a
>>> file,
>>> then did a
>>> convert -size 1280x1024 -depth 16 UYVY:$name -depth 8 RGB:/tmp/rgb.rgb
>>> convert -size 1280x1024 -depth 8 BGR:/tmp/rgb.rgb /tmp/$name.jpg
>>> 
>>> on that raw data. That gives improved colors. What does that mean for
>>> the UYVY input?
>> 
>> Maybe we have VYUY? It is quite complex how these formats are
>> converted and bit-shifted by the camera and the ISP...
>> 
> My patch fixed that problem! Setting it correctly was not done due to
> that optimization.

Indeed! Camera images are now again better than before.

We are on the right track to make it really useful for daily operation.

Nikolaus



More information about the Gta04-owner mailing list