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

SCM Repository

[diderot] Diff of /branches/pure-cfg/data/didthis-hue.txt
ViewVC logotype

Diff of /branches/pure-cfg/data/didthis-hue.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 854, Tue Apr 19 17:21:51 2011 UTC revision 855, Tue Apr 19 17:24:25 2011 UTC
# Line 1  Line 1 
1    
2    echo "for making RGB lookup table for curvature-based VR"
3    
4  echo "-1 1 -1 1" \  echo "-1 1 -1 1" \
5   | unu reshape -s 2 2 \   | unu reshape -s 2 2 \
6   | unu resample -s 200 200 -k tent -c node -o x.nrrd   | unu resample -s 200 200 -k tent -c node -o x.nrrd
# Line 31  Line 34 
34    
35  rm -f x.nrrd y.nrrd mask.nrrd sat.nrrd  rm -f x.nrrd y.nrrd mask.nrrd sat.nrrd
36    
37    echo "ACTUALLY this is not centered around 0,0 and needs to be"
38  echo "space dimension: 2" >> hue.nhdr  echo "space dimension: 2" >> hue.nhdr
39  echo "space origin: (-0.2,-0.2)" >> hue.nhdr  echo "space origin: (-0.205,-0.205)" >> hue.nhdr
40  echo "space directions: none (0.002,0.0) (0.0,0.002)" >> hue.nhdr  echo "space directions: none (0.00205,0.0) (0.0,0.00205)" >> hue.nhdr
41  echo "kinds: RGB space space" >> hue.nhdr  echo "kinds: RGB space space" >> hue.nhdr
   
 unu dice -i hue.nhdr -a 0 -o ./ -ff hue-%d.nrrd  

Legend:
Removed from v.854  
changed lines
  Added in v.855

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