[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Openexr-devel] magic numbers
From: |
Peter Kümmel |
Subject: |
[Openexr-devel] magic numbers |
Date: |
Fri, 12 Jan 2007 23:23:14 +0100 |
User-agent: |
Thunderbird 1.5.0.9 (Windows/20061207) |
Hi all,
currently I'm reading the source code of exrdisplay,
and I'm wondering about where all the magic numbers
are coming from:
- 2^(exposure + 2.47393)
- //
// Map floating-point pixel values 0.0 and 1.0
// to the display's white and black respectively.
//
exposure = 1.02607;
defog = 0;
kneeLow = 0.0;
kneeHigh = 3.5;
Could someone point me to papers/books/explanations
how to map the half range to 0..255?
Many thanks,
Peter
- [Openexr-devel] magic numbers,
Peter Kümmel <=
- Re: [Openexr-devel] magic numbers, Florian Kainz, 2007/01/15
- Re: [Openexr-devel] magic numbers, Peter Kümmel, 2007/01/16
- Re: [Openexr-devel] magic numbers, Florian Kainz, 2007/01/16
- Re: [Openexr-devel] magic numbers, Peter Kümmel, 2007/01/17
- Re: [Openexr-devel] magic numbers, Peter Kümmel, 2007/01/17
- Re: [Openexr-devel] magic numbers, Anders Dahnielson, 2007/01/17
- Re: [Openexr-devel] magic numbers, Peter Kümmel, 2007/01/17
- Re: [Openexr-devel] magic numbers, Florian Kainz, 2007/01/17