ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/pcond.h
(Generate patch)

Comparing ray/src/px/pcond.h (file contents):
Revision 3.1 by greg, Thu Oct 3 16:52:49 1996 UTC vs.
Revision 3.3 by greg, Fri Oct 11 10:46:59 1996 UTC

# Line 18 | Line 18
18   #define SWNORM          2.26            /* scotopic/photopic ratio for white */
19   #define WHTSEFFICACY    (SWNORM*WHTEFFICACY)
20  
21 + #define BotMesopic      5.62e-3         /* top of scotopic range */
22 + #define TopMesopic      5.62            /* bottom of photopic range */
23 +
24   #define FOVDIA          (1.0*PI/180.)   /* foveal diameter (radians) */
25  
26   #define HISTRES         100             /* histogram resolution */
# Line 31 | Line 34
34   #define Lb1(Bw)         exp(Bw)         /* first derivative of Lb(Bw) */
35  
36                                  /* Flags of what to do */
37 < #define DO_ACUITY       01
37 > #define DO_ACUITY       01
38   #define DO_VEIL         02
39   #define DO_HSENS        04
40   #define DO_COLOR        010
# Line 67 | Line 70 | extern long    histot;                 /* total count of histogram */
70   extern double   bwmin, bwmax;           /* histogram limits */
71   extern double   bwavg;                  /* mean brightness */
72  
70 #define lwhc(L)         bwhc(Bl(L))
73   #define bwhc(B)         bwhist[(int)(HISTRES*((B)-bwmin)/(bwmax-bwmin))]
74  
75   extern RGBPRIMP inprims;                /* input primaries */
# Line 82 | Line 84 | extern double  pixaspect;              /* pixel aspect ratio */
84   extern RESOLU   inpres;                 /* input picture resolution */
85  
86   extern char     *mbcalfile;             /* macbethcal mapping file */
85
86 struct mbc {            /* data structure for macbethcal conditioning */
87        float   xa[3][6], ya[3][6];
88        COLORMAT        cmat;
89 };
87  
88   extern double   hacuity();              /* human acuity func. (cycles/deg.) */
89   extern double   htcontrs();             /* human contrast sens. func. */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines