Am I wrong to think that HSL (using some perceptual basis for getting luminance from RGB) would be in all cases superior to ad-hoc HSV or HSI, which would not have perceptually uniform brightness for all hues or saturations?
On Jul 3, 2012, at 11:44 AM, Stefan Stavrev wrote: > Jeremy, the box filter for color images I told you about needs hue and > saturation. I can't just apply the grayscale version of the box filter to all > channels independently, from what I have read it leads to bad results. So I > will have a general case where you can apply the grayscale box filter to any > number of channels you want, and the other case is specifically for color > images where I will use that algorithm. > > But I am not sure about one thing. When they say for an algorithm you need to > go to HSI, do they mean you MUST use HSI only, or it is ok to use other > formulas for hue and saturation like in HSV or HSL. The author is not clear > about these things, sometimes he says use HSI and sometimes he says you can > use either HSI or HSL or whatever. -- Larry Gritz l...@larrygritz.com _______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org