29 |
|
#define MAXPREHIST 1024 /* maximum precomputed histogram */ |
30 |
|
|
31 |
|
#define LMIN 1e-7 /* minimum visible world luminance */ |
32 |
< |
#define LMAX 1e5 /* maximum visible world luminance */ |
32 |
> |
#define LMAX 1e7 /* maximum visible world luminance */ |
33 |
|
|
34 |
|
#define Bl(Lw) log(Lw) /* brightness function */ |
35 |
|
#define Bl1(Lw) (1.0/(Lw)) /* first derivative of Bl(Lw) */ |
127 |
|
extern void adjveil(void); /* adjust veil image */ |
128 |
|
#endif |
129 |
|
extern void acuscan(COLOR *scln, int y); /* get acuity-sampled scanline */ |
130 |
< |
extern void addveil(COLOR *sl, int y); /* add veil to scanline */ |
131 |
< |
extern void initacuity(void); /* initialize variable acuity sampling */ |
130 |
> |
extern void addveil(COLOR *sl, int y); /* add veil to scanline */ |
131 |
> |
extern void initacuity(void); /* initialize variable acuity sampling */ |
132 |
|
extern double hacuity(double La); /* human acuity func. (cycles/deg.) */ |
133 |
|
|
134 |
|
#ifdef __cplusplus |