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

Comparing ray/src/px/psquish.csh (file contents):
Revision 3.2 by greg, Sat Feb 22 02:07:27 2003 UTC vs.
Revision 3.3 by greg, Thu Jan 1 19:44:07 2004 UTC

# Line 100 | Line 100 | set margin=`ev "floor($totcount*$cvratio+.5)"`
100   while ( 1 )
101          # Compute mapping function
102          sed 's/^.*[     ]//' $tf1 | total -1 -r \
103 <                | rcalc -e '$1=$1/'$totcount | lam $tf1 - \
103 >                | rcalc -e '$1=$1/'$totcount | rlam $tf1 - \
104                  | tabfunc -i 0 cf > $tf4
105          # Compute difference with visible envelope
106          rcalc -f $tf4 -f $tf3 -e "T:$totcount*Stepsiz" \
# Line 149 | Line 149 | while ( 1 )
149                  endif
150          end
151          # Mung histogram
152 <        echo $diffs | tr ' ' '\012' | lam $tf1 - \
152 >        echo $diffs | tr ' ' '\012' | rlam $tf1 - \
153                  | rcalc -f $tf4 -f $tf3 -e "T:$totcount*Stepsiz" \
154                          -e 'clfq=floor(T*clamp(Lb($1))+.5)' \
155                          -e '$1=$1;$2=$3+clfq' > $tf1b

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines