hi
probably not the correct mailing list to post the question but as
most of us have worked on v4l we might have encountered this
sometime (hopefully for me :-))
i am doing image segmentation using CMVision library. i got a lego
mindstorms camera which support only rgb24 as it's capture format.
the library performs all operations on yuv format for meeting
real-time processing needs. i convert the rgb image to yuv image
using the standard equations i found on net. but unfortunately the
library on getting this image as input produces in output a
complete black image which means no segmentation.
if anybody has any other code for rgb-yuv conversion or has
handled any such problem before kindly help me as i am stuck in
this since a long time.also is there any way i can make my camera
capture a yuv image. i am using the quickcam-tt driver from
http://www.ee.oulu.fi/~tuukkat/quickcam/quickcam-tt-2002-11-..>
the code I use to convert rgb to yuv image is attached. both the
files are provided in the above driver.
Regards
Puneet
B+ , BOTH MY BLOOD GROUP AND MY ATTITUDE
_______________________________________________________________________
Odomos - the only mosquito protection outside 4 walls -
Click here to know more!
http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&odomos&&wn