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

SCM Repository

[diderot] View of /branches/opencl/data/didthis-cbrt.txt
ViewVC logotype

View of /branches/opencl/data/didthis-cbrt.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1673 - (download) (annotate)
Fri Dec 9 19:56:10 2011 UTC (7 years, 7 months ago) by jhr
File size: 519 byte(s)
  Creating a branch for hacking on the OpenCL target
echo "-1 1 -1 1" \
 | unu reshape -s 2 2 \
 | unu resample -s 500 500 -k tent -c node -o x 

unu swap -a 0 1 -i x -o y

unu join -i x y -a 0 -incr \
 | unu project -a 0 -m l2 \
 | unu 2op - - 0.6 \
 | unu 2op spow - 0.3333333 \
 | unu resample -s x1 x1 -k bspln3ai -o tmp.nhdr

echo "space dimension: 2" >> tmp.nhdr
echo "space origin: (0,0)" >> tmp.nhdr
echo "space directions: (1,0) (0,1)" >> tmp.nhdr
echo "kinds: space space" >> tmp.nhdr

../bin/dnorm -i tmp.nhdr -o cbrt-500-unit.nrrd

rm -f x y tmp.nhdr tmp.raw

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