[Gta04-owner] BGR / RGB swap in camera

Andreas Kemnade andreas at kemnade.info
Fri Jun 7 21:31:45 CEST 2013


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?

Greetings
Andreas Kemnade



More information about the Gta04-owner mailing list