ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Download File
|
Root Listing
root
/
radiance
/
ray
/
src
/
cal
/
cal
/
noise_con.cal
Revision:
1.1
Committed:
Tue Mar 28 17:45:38 2023 UTC
(13 months, 3 weeks ago) by
greg
Branch:
MAIN
CVS Tags:
rad5R4, HEAD
Log Message:
feat: Added conformal noise transformation
File Contents
#
Content
1
{ RCSid $Id$ }
2
{
3
Conformal transformation based on noise model,
4
where: var(X) = m*X + b
5
}
6
C(X,m,b) : if(X, 2/m*(sqrt(b + m*X) - sqrt(b)),
7
-2/m*(sqrt(b - m*X) - sqrt(b)));
8
9
X(C,m,b) : if(C, sqrt(b) + .25*m*C, sqrt(b) - .25*m*C) * C;