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

SCM Repository

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

Diff of /branches/pure-cfg/test/zslice-rgb.diderot

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

revision 875, Tue Apr 19 23:44:01 2011 UTC revision 880, Wed Apr 20 12:47:26 2011 UTC
# Line 1  Line 1 
1    // to process output:
2    //
3    //      unu reshape -i mip.txt -s 3 200 200 | unu quantize -b 8 -o
4    
5  int imgRes = 200;  int imgRes = 200;
6  int dataRes = 110;  int dataRes = 110;
7    
8  // These 3 lines work for probing the per-component images  // These 3 lines work for probing the per-component images
9  //image(2)[] imgR=load("../data/hue-0.nrrd"); field#2(2)[] RR=imgR ⊛ bspln3;  //image(2)[] imgR=load("../data/hue-0.nrrd"); field#0(2)[] RR=imgR ⊛ tent;
10  //image(2)[] imgG=load("../data/hue-1.nrrd"); field#2(2)[] GG=imgG ⊛ bspln3;  //image(2)[] imgG=load("../data/hue-1.nrrd"); field#0(2)[] GG=imgG ⊛ tent;
11  //image(2)[] imgB=load("../data/hue-2.nrrd"); field#2(2)[] BB=imgB ⊛ bspln3;  //image(2)[] imgB=load("../data/hue-2.nrrd"); field#0(2)[] BB=imgB ⊛ tent;
12    
13  // This should work for probing the RGB image  // This should work for probing the RGB image
14  image(2)[3] imgRGB=load("../data/hue.nhdr"); field#2(2)[3] RGB=imgRGB ⊛ bspln3;  image(2)[3] imgRGB=load("../data/hue.nhdr"); field#0(2)[3] RGB=imgRGB ⊛ tent;
15    
16  strand RayCast (int ui, int vi)  strand RayCast (int ui, int vi)
17  {  {

Legend:
Removed from v.875  
changed lines
  Added in v.880

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