At 04:36 PM 5/29/2002 +0530, you wrote:
Hi
Im using IBM webcam and i have written a code for continous video
grabbing... But the image is coming in a blue screen,.. the x11 window is
fully blue in color and if i show movement infront of the camera im able
to see the slight changes in the screen.. what might be the problem ?
my settings are
brightness=32767
whiteness=32767
color=32767
hue=32767
depth=16
palette=RGB24
can someone pls help me
anand
Way back when it was decided to call it "RGB24" even though what is being
returned is "BGR24". I don't know why, but the symptom of having the
values reversed is usually a very blue image. Since the first device to do
this was the first V4L device (bttv), most drivers have kept bug
compatibility and return data with blue in the lowest order byte.
Try swapping your Red and Blue bytes and see if that gives you a better
result. What you are describing is exactly what I saw with the driver I
wrote when I was returning RGB24 images as RGB24. So I added a driver
option to swap the two and everybody was happy.
-Joe