set M=12 @ S = \$M + 1 echo 1 \ | unu convert -t double \ | unu reshape -s 1 1 1 \ | unu pad -min 0 0 0 -max \$M \$M \$M \ | unu 1op nrand -s 42 -o v.nrrd unu crop -i v.nrrd -min 0 0 0 -max M M 0 \ | unu pad -min 0 0 0 -max \$M \$M \$M -b bleed -o sz.nrrd unu swap -i sz.nrrd -a 2 0 -o sx.nrrd unu swap -i sz.nrrd -a 2 1 -o sy.nrrd unu crop -i v.nrrd -min 0 0 0 -max M 0 0 \ | unu pad -min 0 0 0 -max \$M \$M \$M -b bleed -o lz.nrrd unu swap -i lz.nrrd -a 2 0 -o lx.nrrd unu swap -i lz.nrrd -a 2 1 -o ly.nrrd echo "-1 -1 -1 -1 1 1 1 1" \ | unu convert -t double \ | unu reshape -s 2 2 2 \ | unu resample -s \$S \$S \$S -k tent -c node \ | unu 2op pow - 2 \ | unu 2op x - 40 -o pz.nrrd unu swap -i pz.nrrd -a 2 0 -o px.nrrd unu swap -i pz.nrrd -a 2 1 -o py.nrrd unu 2op + p{x,y}.nrrd -o pxy.nrrd unu 2op + p{x,z}.nrrd -o pxz.nrrd unu 2op + p{y,z}.nrrd -o pyz.nrrd unu 3op + p{x,y,z}.nrrd -o pxyz.nrrd unu 2op x pz.nrrd 0 -o z.nrrd unu join -i {v,z,pxyz}.nrrd -a 1 -o c0.nrrd unu join -i s{x,y,z}.nrrd -a 1 -o c1.nrrd unu join -i l{x,y,z}.nrrd -a 1 -o c2.nrrd unu join -i p{x,y,z}.nrrd -a 1 -o c3.nrrd unu join -i p{xy,xz,yz}.nrrd -a 1 -o c4.nrrd unu join -i c{0,1,2,3,4}.nrrd -a 0 \ | unu pad -min -3 -3 0 -max M+3 M+3 M -b pad -v 0 \ | ../bin/dnorm -i - -o etest.nrrd rm -f {v,sx,sy,sz,lx,ly,lz,px,py,pz,pxy,pxz,pyz,pxyz,z,c0,c1,c2,c3,c4}.nrrd
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: norm -i - -o etest.nrrd rm -f {v,sx,sy,sz,lx,ly,lz,px,py,pz,pxy,pxz,pyz,pxyz,z,c0,c1,c2,c3,c4}.nrrd