Yeah there are definately issues when using pure numpy for color conversions. The most salient is the inability to use a LUT to speed up the computation. This of course is trivial to do in cython and the chief reason why the fancy imshow widget is so fast when manipulating the color space. The downside is handling all the different numpy datatypes. Stefan and i are talking about the best way to do some templating with cython to avlleviate some of this.
----- Original message -----
Sorry for the delayed response; your message was stuck in Google Groups moderation.
On Jun 30, 7:00 am, Chris Ball ceb...@gmail.com wrote:
Some time ago, there was a thread about what color spaces to include in scikits.image:http://groups.google.com/group/scikits-image/browse_thread/thread/4b4...
I wonder if you would be interested in seeing more color space conversions being added to the colorconv.py module, or if you are deliberately keeping it simple? For instance, I would like to add conversions to and from CIE LAB, and to allow alternative white points.
We are definitely interested in building out the colour space manipulation. Chris (Colbert) and I have been discussing the best way to improve the speed of these conversions, and it may be that we'll simply rewrite them in Cython.