Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/pure-cfg/data/txf/didthis-hue.txt
ViewVC logotype

Diff of /branches/pure-cfg/data/txf/didthis-hue.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1056, Tue May 3 17:40:02 2011 UTC revision 1057, Tue May 3 17:41:10 2011 UTC
# Line 13  Line 13 
13    
14  unu 2op atan2 x.nrrd y.nrrd \  unu 2op atan2 x.nrrd y.nrrd \
15   | unu 3op clamp -0.7854 - 2.3562 \   | unu 3op clamp -0.7854 - 2.3562 \
16   | unu rmap -min -0.7854 -max 2.3562 -m cmap.txt -o hue.nrrd   | unu rmap -min -0.7854 -max 2.3562 -m cmap.txt -o 2d-bow.nrrd
17    
18  rm -f cmap.txt  rm -f cmap.txt
19    
# Line 31  Line 31 
31   | unu 2op x - mask.nrrd -o sat.nrrd   | unu 2op x - mask.nrrd -o sat.nrrd
32    
33  unu join -i sat.nrrd sat.nrrd sat.nrrd -a 0 -incr \  unu join -i sat.nrrd sat.nrrd sat.nrrd -a 0 -incr \
34   | unu 3op lerp - 0.65 hue.nrrd -o hue.nrrd   | unu 3op lerp - 0.65 2d-bow.nrrd -o 2d-bow.nrrd
35    
36  rm -f x.nrrd y.nrrd mask.nrrd sat.nrrd  rm -f x.nrrd y.nrrd mask.nrrd sat.nrrd
37    
38  unu axinfo -i hue.nrrd -a 0 -k RGB \  unu axinfo -i 2d-bow.nrrd -a 0 -k RGB \
39   | unu axinfo -a 1 -mm -1 1 \   | unu axinfo -a 1 -mm -1 1 \
40   | unu axinfo -a 2 -mm -1 1 \   | unu axinfo -a 2 -mm -1 1 \
41   | ../../bin/dnorm -i - -o - \   | ../../bin/dnorm -i - -o - \
42   | unu pad -min 0 -3 -3 -max M M+3 M+3 -o hue.nrrd   | unu pad -min 0 -3 -3 -max M M+3 M+3 -o 2d-bow.nrrd

Legend:
Removed from v.1056  
changed lines
  Added in v.1057

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0