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

SCM Repository

[diderot] Annotation of /branches/staging/rtest/data/didthis-sphere.txt
ViewVC logotype

Annotation of /branches/staging/rtest/data/didthis-sphere.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1203 - (view) (download)
Original Path: trunk/rtest/data/didthis-sphere.txt

1 : glk 1203
2 :    
3 :     set S="38 55 76"
4 :    
5 :     echo "-1 1 -1 1 -1 1 -1 1" \
6 :     | unu reshape -s 2 2 2 \
7 :     | unu resample -s $S -k tent -c node \
8 :     | unu 2op pow - 2 -o xx.nrrd
9 :    
10 :     echo "-1 1 -1 1 -1 1 -1 1" \
11 :     | unu reshape -s 2 2 2 \
12 :     | unu swap -a 0 1 \
13 :     | unu resample -s $S -k tent -c node \
14 :     | unu 2op pow - 2 -o yy.nrrd
15 :    
16 :     echo "-1 1 -1 1 -1 1 -1 1" \
17 :     | unu reshape -s 2 2 2 \
18 :     | unu swap -a 0 2 \
19 :     | unu resample -s $S -k tent -c node \
20 :     | unu 2op pow - 2 -o zz.nrrd
21 :    
22 :     unu 3op + {xx,yy,zz}.nrrd \
23 :     | unu 1op sqrt \
24 :     | unu 3op gauss - 0.5 0.15 \
25 :     | unu axinfo -a 0 -mm -1 1 \
26 :     | unu axinfo -a 1 -mm -1 1 \
27 :     | unu axinfo -a 2 -mm -1 1 \
28 :     | ../../bin/dnorm -i - -o - \
29 :     | unu pad -min -2 -2 -2 -max M+2 M+2 M+2 -o sphere.nrrd
30 :    
31 :     rm -f {xx,yy,zz}.nrrd

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