Banish the idea of "255" from your head forever.  Everything is floating point, 
and a 255 in an 8-bit file will map to 1.0.

I would say that you should default to 0-1 but allow manual override of min/max.


On Jul 3, 2012, at 12:20 PM, Stefan Stavrev wrote:

> I am working on histogram drawing.
> 
> What are all the possible ranges of values in one channel I should consider?
> 
> The usual ranges are 0-1 and 0-255. Any other ranges I should have in mind?
> 

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to