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

SCM Repository

[diderot] Diff of /branches/pure-cfg/TODO
ViewVC logotype

Diff of /branches/pure-cfg/TODO

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

revision 781, Thu Apr 7 23:07:09 2011 UTC revision 897, Wed Apr 20 17:21:41 2011 UTC
# Line 2  Line 2 
2  SHORT TERM =============  (for curvature-based VR)  SHORT TERM =============  (for curvature-based VR)
3  ========================  ========================
4    
5  Outer products  vector fields: convolution on vector images
6      syntax [DONE]      (image orientation not quite working)
7      typechecking  
8      IL and codegen  IL support for higher-order tensor values (matrices, etc).
9        tensor construction [DONE]
10        tensor indexing [DONE]
11        tensor slicing
12        verify that hessians work correctly [DONE]
13    
14  Add M dot v, v dot M, and M dot N  Outer products [DONE]
15    
16  Identity matrix [DONE up to code generation]  Add M dot v, v dot M, and M dot N [DONE]
17    
18  trace [DONE]  Identity matrix [DONE]
19    
20  expand trace in mid to low translation  Zero tensor [DONE]
21    
22    trace [DONE]
23    
24  extend norm (|exp|) to all tensor types  extend norm (|exp|) to tensor[3,3] [DONE]
25    
26  extend normalize to all tensor types  Matrix addition, subtraction, and scaling  [DONE]
27    
28  Use ∇⊗ etc syntax  Use ∇⊗ etc. syntax
29      syntax [DONE]      syntax [DONE]
30      typechecking      typechecking
31      IL and codegen      IL and codegen
# Line 30  Line 36 
36          value construction: '{' e1 ',' … ',' en '}'          value construction: '{' e1 ',' … ',' en '}'
37          indexing: e '{' e '}'          indexing: e '{' e '}'
38    
39  IL support for higher-order tensor values (matrices, etc).  Infix dot product and cross product [DONE]
     tensor construction  
     tensor indexing and slicing  
     verify that hessians work correctly  
40    
41  Add type aliases for color types  lerp on scalars and vectors [DONE]
     rgb = real{3}  
     rgba = real{4}  
42    
43  stabilize {} code block  Infix "^" operator for pow() [DONE]
44    
45  DONE:  Code generation support for 1D image data, such as RGBA transfer functions [DONE]
   Infix dot product and cross product  
   lerp on scalars and vectors  
46    
47  ==============================  ==============================
48  other SHORT TERM =============  (needed for LIC)  other SHORT TERM =============  (including needed for LIC)
49  ==============================  ==============================
50    
51  vector fields: convolution on vector images  determinant ("det") for tensor[3,3]
52    
53    extend norm (|exp|) to all tensor types [DONE for vectors and matrices]
54    
55    expand trace in mid to low translation
56    
57    value-numbering optimization
58    
59    Add type aliases for color types
60        rgb = real{3}
61        rgba = real{4}
62    
63  ==============================  ==============================
64  MEDIUM TERM ================== (needed for streamlines & tractography)  MEDIUM TERM ================== (including needed for streamlines & tractography)
65  ==============================  ==============================
66    
67  ability to emit/track/record variables into dynamically re-sized  ability to emit/track/record variables into dynamically re-sized
# Line 62  Line 71 
71    
72  tensor fields: convolution on general tensor images  tensor fields: convolution on general tensor images
73    
74    Use of Teem's "hest" command-line parser for getting
75    any input variables that are not defined in the source file
76    
77    Save Diderot output to nrrd, instead of "mip.txt"
78      For grid of strands, save to similarly-shaped array
79      For list of strands, save to long 1-D (or 2-D for non-scalar output) list
80      For ragged things (like tractography output), will need to save both
81        complete list of values, as well as list of start indices and lengths
82        to index into complete list
83    
84  ==============================  ==============================
85  other MEDIUM TERM ============ (needed for particles)  other MEDIUM TERM ============ (needed for particles)
86  ==============================  ==============================
# Line 75  Line 94 
94    
95  spatial data structure that permits strands' queries of neighbors  spatial data structure that permits strands' queries of neighbors
96    
97    proper handling of stabilize method
98    
99    test/vr-kcomp2.diderot: Add support for code like
100    
101            (F1 if x else F2)@pos
102    
103    This will require duplication of the continuation of the conditional (but we should only
104    duplicate over the live-range of the result of the conditional.
105    
106    ==============================
107    other MEDIUM TERM ============
108    ==============================
109    
110    want: warnings when D (and likely I) is declared as a
111    variable name (now get confusing error messages now)
112    
113    support for Python interop and GUI
114    
115  ==============================  ==============================
116  LONG TERM ====================  LONG TERM ====================
117  ==============================  ==============================
118    
119    Better handling of variables that determines the scope of a variable based on its actual use,
120    instead of where the user defined it.  So, for example, we should lift strand-invariant variables
121    to global scope.  Also prune out useless variables, which should include field variables after the
122    translation to mid-il.
123    
124  co- vs contra- index distinction  co- vs contra- index distinction
125    
126    add ":" for tensor dot product (contracts out two indices
127    instead of one like •), valid for all pairs of tensors with
128    at least two indices
129    
130  some indication of tensor symmetry  some indication of tensor symmetry
131  (have to identify the group of index permutations that are symmetries)  (have to identify the group of index permutations that are symmetries)
132    
# Line 91  Line 137 
137  Einstein summation notation  Einstein summation notation
138    
139  "tensor comprehension" (like list comprehension)  "tensor comprehension" (like list comprehension)
140    
141    Python/ctypes interface to run-timez
142    
143    ======================
144    BUGS =================
145    ======================
146    
147    test/mip-cam.diderot:
148        // generated C code looks like "(float)p_ui_0--0.5e0f"
149        //real rayU = 2.0*camUmax*(real(ui) - -0.5)/real(imgResU) - camUmax;
150    
151    test/vr-kcomp.diderot:
152        // HEY (scoping BUG): the strand parameters (e.g. ui, vi) ...
153    
154    test/zslice2.diderot:
155    // but is this not valid syntax for creating field in one shot?
156    //field#2(3)[] F = (load("../data/zimg112.nrrd")) ⊛ bspln3;
157    // It is valid syntax, but there is a bug in the conversion from HighIL to MidIL
158    
159    test/zslice2.diderot:
160    // HEY (bug) bspln5 leads to problems ...
161    //  uncaught exception Size [size]
162    //    raised at c-target/c-target.sml:47.15-47.19
163    //field#4(3)[] F = img ⊛ bspln5;
164    
165    

Legend:
Removed from v.781  
changed lines
  Added in v.897

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