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.3 by greg, Thu Jan 1 19:44:07 2004 UTC vs.
Revision 3.5 by greg, Mon Nov 10 19:08:19 2008 UTC

# Line 5 | Line 5 | set Ldmin=1            # minimum display luminance
5   set Ldmax=100           # maximum display luminance
6   set nsteps=100          # number of steps in perceptual histogram
7   set cvratio=0.05        # fraction of pixels to ignore in envelope clipping
8 < set td=/usr/tmp
8 > set td=/tmp
9   set tf0=$td/tf$$
10   set tf1=$td/hist$$
11   set tf1b=$td/hist$$.diff
# Line 18 | Line 18 | if ( "$argv[1]" == "-a" ) then
18          shift argv
19   endif
20   if ( $#argv != 1 ) then
21 <        echo "Usage: $0 [-a] input.pic > output.pic"
21 >        echo "Usage: $0 [-a] input.hdr > output.hdr"
22          exit 1
23   endif
24   set ifile=$1
25   set ibase=$ifile:t
26 < if ( "$ibase" =~ *.pic ) set ibase=$ibase:r
26 > if ( "$ibase" =~ *.hdr ) set ibase=$ibase:r
27   set ibase=$ibase:t
28   onintr quit
29   pextrem -o $ifile > $tf0

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines