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

SCM Repository

[diderot] View of /branches/pure-cfg/data/txf/didthis-illust.txt
ViewVC logotype

View of /branches/pure-cfg/data/txf/didthis-illust.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1063 - (download) (annotate)
Tue May 3 17:55:07 2011 UTC (8 years, 8 months ago) by glk
File size: 2188 byte(s)
for IVR
echo "0 2" \
 | unu reshape -s 2 \
 | unu resample -s 200 -k tent -c node \
 | unu 2op - - 1.0 \
 | unu 2op x - 5 \
 | 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.15 | unu 2op + - ramp \
 | unu affine 0 - 1.15 0 1 \
 | unu resample -s x1 -k dgauss:8,3 \
 | unu crop -min 10 -max M-10 \
 | unu 2op + - 0.3 \
 | unu 2op pow - 2 \
 | 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 "0.0 6.2831852" \
 | unu reshape -s 2 \
 | unu resample -s 200 -k tent -c node \
 | unu 1op sin \
 | unu 2op spow - 4 \
 | unu 2op spow - 4 \
 | unu 2op x - 0.75 -o rv

echo "-1.0 1.0" \
 | unu reshape -s 2 \
 | unu resample -s 200 -k tent -c node \
 | unu 2op x - 6 \
 | unu 1op erf \
 | unu affine -1 - 1 0 1 -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 0.78539816339744830961 -2.35619449019234492884 \
 | ../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


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