ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Download File
|
Root Listing
root
/
radiance
/
ray
/
src
/
cal
/
cal
/
log3G10.cal
Revision:
1.1
Committed:
Thu Oct 14 19:35:06 2021 UTC
(2 years, 7 months ago) by
greg
Branch:
MAIN
CVS Tags:
rad5R4, HEAD
Log Message:
Added mapping for Red Camera's "Log3G10" encoding
File Contents
#
Content
1
{ RCSid $Id$ }
2
{
3
Red Log3G10 mapping
4
}
5
a`L3 : 0.224282;
6
b`L3 : 155.975327;
7
c`L3 : 0.01;
8
g`L3 : 15.1927;
9
10
toLog3G10(x) : if(x + c`L3, a`L3*log10((x+c`L3)*b`L3 + 1), (x+c`L3)*g`L3);
11
12
fromLog3G10(y) : if(y, (10^(y/a`L3) - 1)/b`L3 - c`L3, y/g`L3 - c`L3);