Boost logo

Boost :

Subject: Re: [boost] [GIL] color convert and color tranfer characteristics
From: Fabien Castan (fcastan_at_[hidden])
Date: 2010-08-09 05:06:25


> Interesting! I would be interested in those implementation for the
> toolbox extension. Let me know if you're interested submitting. I can
> help out when needed.
yes sure.

> I'm not sure I follow here. Small code sample possible?

You can see the code, it's just the beginning...:
http://github.com/nrondaud/TuttleOFX/blob/master/plugins/image/process/color/ColorDistribution/src/ColorDistributionProcess.tcc

You can also see:
* some utilities on gil we use (some are only a copy of standard
functions adding a progress structure to get progress informations) and
others needs a big clean:
http://github.com/nrondaud/TuttleOFX/tree/master/libraries/tuttle/src/tuttle/plugin/image/gil/
* a copy of boost_gil_extensions with some modifications, in progress too:
http://github.com/nrondaud/TuttleOFX/tree/master/3rdParty/boost_gil_extensions/boost/gil/

> Right now color_convert doesn't supply passing the rgb_to_luminance
> algorithm. But I 'm not sure if that's needed for your case. When you
> use the algorithm copy_and_convert_pixels algorithm you pass as the
> third parameter the color converter. In your case just define your own
> color converter.
Yes, but inside a templated function using abstract colors it's not
always easy to do.

Regards,
Fabien


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk