Boost logo

Boost Users :

Subject: Re: [Boost-users] GIL YUV color layout
From: Christian Henning (chhenning_at_[hidden])
Date: 2010-05-31 17:23:15


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/toolbox/xyz.hpp

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net