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-2d-bow.txt
ViewVC logotype

Diff of /branches/pure-cfg/data/txf/didthis-2d-bow.txt

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

revision 1086, Wed May 4 09:43:18 2011 UTC revision 1087, Wed May 4 09:46:10 2011 UTC
# Line 15  Line 15 
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 2d-bow.nrrd   | unu rmap -min -0.7854 -max 2.3562 -m cmap.txt -o 2d-bow.nrrd
17    
18    echo "0 1" \
19     | unu reshape -s 2 \
20     | unu resample -s 200 -k tent -c node \
21     | unu rmap -m cmap.txt -r \
22     | unu axinsert -a 1 \
23     | unu pad -min 0 0 0 -max 2 199 M -o bow
24    
25    unu 1op exists -i bow \
26     | unu 2op / - 2 -o gray
27    
28    echo "0 1" \
29     | unu reshape -s 2 \
30     | unu resample -s 200 -k tent -c node \
31     | unu gamma -g 0.65 \
32     | unu axinsert -a 0 \
33     | unu axinsert -a 2 \
34     | unu pad -min 0 0 0 -max 2 M 199 \
35     | unu 3op lerp - gray bow \
36     | unu axinfo -a 0 -k RGB \
37     | unu axinfo -a 1 -mm 0 1 \
38     | unu axinfo -a 2 -mm -2.35619449019234492884 0.78539816339744830961 \
39     | ../../bin/dnorm -i - -o - \
40     | unu pad -min 0 -3 -3 -max M M+3 M+3 -o 2d-bow-polar.nrrd
41    
42  rm -f cmap.txt  rm -f cmap.txt
43    
44  unu 3op + 0.03 x.nrrd y.nrrd \  unu 3op + 0.03 x.nrrd y.nrrd \
# Line 33  Line 57 
57  unu join -i sat.nrrd sat.nrrd sat.nrrd -a 0 -incr \  unu join -i sat.nrrd sat.nrrd sat.nrrd -a 0 -incr \
58   | unu 3op lerp - 0.65 2d-bow.nrrd -o 2d-bow.nrrd   | unu 3op lerp - 0.65 2d-bow.nrrd -o 2d-bow.nrrd
59    
 rm -f x.nrrd y.nrrd mask.nrrd sat.nrrd  
   
60  unu axinfo -i 2d-bow.nrrd -a 0 -k RGB \  unu axinfo -i 2d-bow.nrrd -a 0 -k RGB \
61   | unu axinfo -a 1 -mm -1 1 \   | unu axinfo -a 1 -mm -1 1 \
62   | unu axinfo -a 2 -mm -1 1 \   | unu axinfo -a 2 -mm -1 1 \
63   | ../../bin/dnorm -i - -o - \   | ../../bin/dnorm -i - -o - \
64   | unu pad -min 0 -3 -3 -max M M+3 M+3 -o 2d-bow.nrrd   | unu pad -min 0 -3 -3 -max M M+3 M+3 -o 2d-bow.nrrd
65    
66    rm -f x.nrrd y.nrrd mask.nrrd sat.nrrd gray bow
67    

Legend:
Removed from v.1086  
changed lines
  Added in v.1087

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