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

SCM Repository

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

Annotation of /branches/staging/data/didthis-cbrt.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1115 - (view) (download)
Original Path: trunk/data/didthis-cbrt.txt

1 : jhr 1115
2 :     echo "-1 1 -1 1" \
3 :     | unu reshape -s 2 2 \
4 :     | unu resample -s 500 500 -k tent -c node -o x
5 :    
6 :     unu swap -a 0 1 -i x -o y
7 :    
8 :     unu join -i x y -a 0 -incr \
9 :     | unu project -a 0 -m l2 \
10 :     | unu 2op - - 0.6 \
11 :     | unu 2op spow - 0.3333333 \
12 :     | unu resample -s x1 x1 -k bspln3ai -o tmp.nhdr
13 :    
14 :     echo "space dimension: 2" >> tmp.nhdr
15 :     echo "space origin: (0,0)" >> tmp.nhdr
16 :     echo "space directions: (1,0) (0,1)" >> tmp.nhdr
17 :     echo "kinds: space space" >> tmp.nhdr
18 :    
19 :     ../bin/dnorm -i tmp.nhdr -o cbrt-500-unit.nrrd
20 :    
21 :     rm -f x y tmp.nhdr tmp.raw

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