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

SCM Repository

[diderot] View of /branches/staging/data/didthis-illust.txt
ViewVC logotype

View of /branches/staging/data/didthis-illust.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1930 - (download) (annotate)
Tue Jun 26 13:13:39 2012 UTC (6 years, 11 months ago) by jhr
File size: 2746 byte(s)
  Create branch for staging changes into the trunk.
echo "0 2" \
 | unu reshape -s 2 \
 | unu resample -s 200 -k tent -c node \
 | unu 2op - - 1.0 \
 | unu 2op x - 4 \
 | unu 1op erf \
 | unu affine -1 - 1 0 1 \
 | unu axinfo -a 0 -mm 0 2 \
 | ../../bin/dnorm -i - -o - \
 | unu pad -min -3 -max M+3 -o silho.nrrd

echo "1.2 1.1 0.85 0.75 0.65 0.55 0.45" >! brt.txt

rm -f depth.txt; touch depth.txt
echo "270 240 160" >> depth.txt
echo "265 230 190" >> depth.txt
echo "260 240 220" >> depth.txt
echo "255 255 255" >> depth.txt
echo "220 240 255" >> depth.txt
echo "190 210 255" >> depth.txt
echo "150 170 230" >> depth.txt

echo "0.4 0.7 0.3" \
 | unu 2op x depth.txt - \
 | unu project -a 0 -m sum \
 | unu 2op / brt.txt - \
 | unu axdelete -a -1 \
 | unu 2op x - 1.35 \
 | unu axinsert -a 0 \
 | unu pad -min 0 0 -max 2 M \
 | unu 2op x - depth.txt -o depth.txt


echo "-0.1  1.1" \
 | unu reshape -s 2 \
 | unu resample -s 220 -k tent -c node -o ramp
unu 2op gt ramp 0.5 \
 | unu 2op x -    0.1 | unu 2op + - ramp \
 | unu affine 0 - 1.1 0 1 \
 | unu resample -s x1 -k dgauss:6,3 \
 | unu crop -min 10 -max M-10 \
 | unu gamma -g 0.9 \
 | unu quantize -b 16 | unu unquantize -i - -min 0 -max 1 \
 | unu axinfo -a 0 -mm -1 1 \
 | ../../bin/dnorm -i - -o - \
 | unu pad -min -3 -max M+3 -o shade.nrrd

echo "0 1" \
 | unu reshape -s 2 \
 | unu resample -s 200 -k tent -c node \
 | unu rmap -m depth.txt -r \
 | unu resample -s = x1 -k dgauss:3,3 \
 | unu axinfo -a 0 -k RGB \
 | unu axinfo -a 1 -mm 0 1 \
 | ../../bin/dnorm -i - -o - \
 | unu pad -min 0 -3 -max M M+3 -o depth.nrrd

echo "6.2831852 0.0" \
 | unu reshape -s 2 \
 | unu resample -s 200 -k tent -c node \
 | unu 1op sin \
 | unu 2op spow - 4 \
 | unu 2op x - 0.7 -o rv

echo "0.0 1.0" \
 | unu reshape -s 2 \
 | unu resample -s 200 -k tent -c node -o km

unu axinsert -i rv -a 0 \
 | unu pad -min 0 0 -max 199 M \
 | unu 2op x - km \
 | unu 2op + - 1.0 \
 | unu axinfo -a 0 -mm 0 1 \
 | unu axinfo -a 1 -mm -2.35619449019234492884 0.78539816339744830961 \
 | ../../bin/dnorm -i - -o - \
 | unu pad -min -3 -3 -max M+3 M+3 -o ridgvall.nrrd

rm -f brt.txt depth.txt ramp rv km



gkms txf -max 2000 900 -v 950 -g 150 -gw 0 -top 1800 916 -w 700 -step -o tmp.nrrd
gkms txf -max 2000 900 -v 1300 -top 1070 150 -w 0 -step -o - \
 | unu resample -s = x1 = -k gauss:3,3 \
 | unu 2op max tmp.nrrd - \
 | unu axdelete -a -1 \
 | ../../bin/dnorm -i - -o - \
 | unu pad -min -3 -3 -max M+3 M+3 -o alpha-bone.nrrd
rm -f tmp.nrrd

gkms txf -max 2000 900 -v 668 -top 516 747 -w 1000 -o - \
 | unu 2op x - 1.2 \
 | unu 2op min - 1.0 \
 | unu axdelete -a -1 \
 | ../../bin/dnorm -i - -o - \
 | unu pad -min -3 -3 -max M+3 M+3 -o alpha-skin.nrrd

echo 'unu 2op x alpha-skin.nrrd 0.25 \'
echo ' | unu 2op + - alpha-bone.nrrd -o alpha-skin-bone.nrrd'

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