On Wed, Jul 4, 2012 at 5:20 AM, Stefan Stavrev <[email protected]> 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.
Everything is converted to a float for our purposes, so these ranges are the same (both 0-1). If we're talking HDR float (or half) precision images, those can have pretty much any range I suppose... it's not really possible to say before inspecting the image. It might be possible to guess though - perhaps there's a standard for how these tend to be normalized? ~Chris _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
