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

SCM Repository

[diderot] Diff of /branches/fem/test/zslice-rgb.diderot
ViewVC logotype

Diff of /branches/fem/test/zslice-rgb.diderot

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

revision 1115, Thu May 5 04:42:18 2011 UTC revision 1671, Sun Dec 4 10:56:10 2011 UTC
# Line 1  Line 1 
1  // to process output:  // to process output:
2  //  //
3  //      unu reshape -i mip.txt -s 3 200 200 | unu quantize -b 8 -o zslice-rgb.png  //      unu reshape -i zslice-rgb.txt -s 3 200 200 | unu quantize -b 8 -o zslice-rgb.png
4    
5  int imgRes = 200;  int imgRes = 200;
6  int dataRes = 110;  int dataRes = 110;
# Line 17  Line 17 
17    
18      update      update
19      {      {
   
20         // How to probe the per-component images         // How to probe the per-component images
21         //rgb = [RR(pos),GG(pos),BB(pos)] if inside(pos,RR) else [0.0,0.0,0.0];         //rgb = [RR(pos),GG(pos),BB(pos)] if inside(pos,RR) else [0.0,0.0,0.0];
22    
23         // How to probe the single RGB image         // How to probe the single RGB image
24         rgb = RGB(pos) if inside(pos,RGB) else [0.0,0.0,0.0];         rgb = RGB(pos) if inside(pos,RGB) else [0.0,0.0,0.0];
25          // rgb = [0.5,0.0,0.0] if inside(pos,RGB) else [0.0,0.0,0.0];
26          // rgb = [0.5 + pos[0], 0.0, 0.5 + pos[1]] if inside(pos,RGB) else [0.0,0.0,0.0];
27    
28         stabilize;         stabilize;
29      }      }

Legend:
Removed from v.1115  
changed lines
  Added in v.1671

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