ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/tonemap.c
(Generate patch)

Comparing ray/src/common/tonemap.c (file contents):
Revision 3.13 by schorsch, Sun Jul 27 22:12:01 2003 UTC vs.
Revision 3.14 by greg, Thu Sep 18 20:18:19 2003 UTC

# Line 415 | Line 415 | double Ldmax;
415                  histot += tmTop->histo[i];
416                  sum += (j -= HISTEP) * tmTop->histo[i];
417          }
418 <        threshold = histot*.025 + .5;
418 >        threshold = histot*0.005 + .5;
419          if (threshold < 4)
420                  returnErr(TM_E_TMFAIL);
421          Lwavg = tmLuminance( (double)sum / histot );

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines