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

Comparing ray/src/px/phisteq.csh (file contents):
Revision 3.1 by greg, Sat Feb 22 02:07:27 2003 UTC vs.
Revision 3.3 by greg, Wed Feb 16 05:40:11 2005 UTC

# Line 4 | Line 4 | set Ldmin=1            # minimum display luminance
4   set Ldmax=100           # maximum display luminance
5   set nsteps=100          # number of steps in perceptual histogram
6   set cvratio=0.08        # fraction of pixels to ignore in envelope clipping
7 < set td=/usr/tmp
7 > set td=/tmp
8   set tf1=$td/hist$$
9   set tf1b=$td/hist$$.new
10   set tf2=$td/cumt$$
# Line 57 | Line 57 | set totcount=`sed 's/^.*[      ]//' $tf1 | total`
57   set tst=1
58   while ( $totcount > 0 )
59          sed 's/^.*[     ]//' $tf1 | total -1 -r \
60 <                | rcalc -e '$1=$1/'$totcount | lam $tf1 - \
60 >                | rcalc -e '$1=$1/'$totcount | rlam $tf1 - \
61                  | tabfunc -i 0 cf > $tf4
62          if ( $tst <= 0 ) break
63          rcalc -f $tf4 -f $tf3 -e "T:$totcount*Stepsiz" \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines