# | Line 33 | Line 33 | if ( $?doexpos ) then | |
---|---|---|
33 | >> $argv[1] | |
34 | endif | |
35 | lookamb -h -d $tf.amb | rcalc -e '$1=$10;$2=$11;$3=$12' >> $tf.dat | |
36 | < | set lavg=`rcalc -e 'lum=.265*$1+.670*$2+.065*$3;cond=lum-1e-5' $tf.dat | total -m -p` |
36 | > | set lavg=`rcalc -e '$1=lum;lum=.265*$1+.670*$2+.065*$3;cond=lum-1e-5' $tf.dat | total -m -p` |
37 | if ( $?docolor ) then | |
38 | set cavg=(`total -m $tf.dat`) | |
39 | set av=(`rcalc -n -e "r=$cavg[1];g=$cavg[2];b=$cavg[3];sf=$lavg/(.265*r+.670*g+.065*b)" -e '$1=sf*r;$2=sf*g;$3=sf*b'`) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |