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

SCM Repository

[diderot] Annotation of /trunk/data/vfrhand-dvr-miter.csh
ViewVC logotype

Annotation of /trunk/data/vfrhand-dvr-miter.csh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 254 - (view) (download) (as text)

1 : glk 254 #!/bin/csh
2 :    
3 :     echo "0 1" \
4 :     | unu reshape -s 1 2 \
5 :     | unu resample -s = 1000 -k tent \
6 :     | unu save -f text -o ramp.txt
7 :    
8 :     echo "0.0 0.0 200 0.0 500 1.0 2000.0 1.0" \
9 :     | unu reshape -s 2 4 \
10 :     | unu imap -i ramp.txt -r -m - \
11 :     | unu axinfo -a 0 -l "A" \
12 :     | unu axinfo -a 1 -l "gage(scalar:v)" -mm 0 2000 -o txf.nrrd
13 :    
14 :     foreach K ( tent bspln3 bspln5 )
15 :    
16 :     miter -i vfrhand-nohip.nhdr -k00 ${K} -k11 ${K}d -step 0.5 -txf txf.nrrd \
17 :     -fr 127.331 -1322.05 272.53 -at 58.9693 82.6536 101.999 \
18 :     -up 0.9987 0.0459166 -0.0221267 -rh -ar \
19 :     -dn -77.8335 -di -77.8335 -df 77.8335 -fv 5.04825 -is 640 480 \
20 :     -ld 0 0 -1 -ads 0 1 0 -ss "phong:gage(scalar:n)" -ref 1 -o - \
21 :     | unu crop -min 0 0 0 -max 3 M M \
22 :     | overrgb -i - -b 0.2 0.3 0.4 -o vfrhand-dvr-${K}.png
23 :    
24 :     end
25 :    
26 :     rm -f ramp.txt txf.nrrd

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