Hi there,
I’ve been searching for hours to find how to convert from and to yuv color format with gil. Without much luck that is.
Can someone give an example how to do this.
I don't think there is a yuv color space in gil. I'm no expert here but it seems that adding such a color space seems trivial. The conversion is explained here: http://www.fourcc.org/fccyvrgb.php and a way to implement it in gil is is shown here: http://gil-contributions.googlecode.com/svn/trunk/gil_2/boost/gil/extension/... Do you wanna create the yuv color space for gil?
Another question would be whether gil is the right tool to reconvert image frames for video streaming / playback purposes.
Have a look at OpenCV it might be faster since it's using IPP in the background. Regards, Christian