[Image-SIG] conversion of a full image from RGB<->HSI

giovanniangeli at iquattrocastelli.it giovanniangeli at iquattrocastelli.it
Wed Mar 9 17:50:25 CET 2005


> Hi all
>
> Can you help me in a doubt? Is there some efficient way to do a
> conversion between an image in the RGB format in an image and the HSI
> format (aka, HLS or HSV), in python (PIL or others)?

yes, PIL gives that.

look at the page

http://www.pythonware.com/library/pil/handbook/image.htm

in particular at the <convert> method of image Object in PIL.Image module.
Enjoy.

P.S. In general I have found in PIL an efficient and complete image
processing library to be use from Python.

Giovanni Angeli.
<giovanniangeli at iquattrocastelli.it>




More information about the Image-SIG mailing list