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 900, Wed Apr 20 18:23:24 2011 UTC revision 947, Fri Apr 22 14:54:00 2011 UTC
# Line 2  Line 2 
2  SHORT TERM =============  (for curvature-based VR)  SHORT TERM =============  (for curvature-based VR)
3  ========================  ========================
4    
 vector fields: convolution on vector images  
     (image orientation not quite working)  
   
5  IL support for higher-order tensor values (matrices, etc).  IL support for higher-order tensor values (matrices, etc).
6      tensor construction [DONE]      tensor construction [DONE]
7      tensor indexing [DONE]      tensor indexing [DONE]
# Line 48  Line 45 
45  other SHORT TERM =============  (including needed for LIC)  other SHORT TERM =============  (including needed for LIC)
46  ==============================  ==============================
47    
48    test/uninit.diderot:
49    documents need for better compiler error messages when output variables
50    are not initialized; the current messages are very cryptic
51    
52  determinant ("det") for tensor[3,3]  determinant ("det") for tensor[3,3]
53    
54  extend norm (|exp|) to all tensor types [DONE for vectors and matrices]  extend norm (|exp|) to all tensor types [DONE for vectors and matrices]
# Line 64  Line 65 
65  MEDIUM TERM ================== (including needed for streamlines & tractography)  MEDIUM TERM ================== (including needed for streamlines & tractography)
66  ==============================  ==============================
67    
68    Want: allow X *= Y, X /= Y, X += Y, X -= Y to mean what they do in C,
69    provided that X*Y, X/Y, X+Y, X-Y are already supported.
70    Nearly every Diderot program would be simplified by this.
71    
72    Want: ability to apply "normalize" to a field itself, e.g.
73      field#1(2)[2] V = normalize(Vimg ⊛ ctmr);
74    so that V(x) = normalize((Vimg ⊛ ctmr)(x)).
75    (For now, it would be okay for the differentability of V to be 0;
76    later we can teach Diderot the quotient rule of derivatives.)
77    Having this would simplify expression of standard LIC method, and
78    would also help express other vector field expressions that arise
79    in vector field feature exraction
80    
81    ability to declare a field in such a way so that probe
82    positions are *always* clamped to the support of "inside";
83    there are many cases where this is the sensible behavior
84    
85  ability to emit/track/record variables into dynamically re-sized  ability to emit/track/record variables into dynamically re-sized
86  runtime buffer  runtime buffer
87    
# Line 107  Line 125 
125  other MEDIUM TERM ============  other MEDIUM TERM ============
126  ==============================  ==============================
127    
128  want: warnings when D (and likely I) is declared as a  want: warnings when "D" (reserved for differentiation) is declared as
129  variable name (now get confusing error messages now)  a variable name (get confusing error messages now)
130    
131  support for Python interop and GUI  support for Python interop and GUI
132    
# Line 116  Line 134 
134  LONG TERM ====================  LONG TERM ====================
135  ==============================  ==============================
136    
137  Better handling of variables that determines the scope of a variable based on its actual use,  Better handling of variables that determines the scope of a variable
138  instead of where the user defined it.  So, for example, we should lift strand-invariant variables  based on its actual use, instead of where the user defined it.  So,
139  to global scope.  Also prune out useless variables, which should include field variables after the  for example, we should lift strand-invariant variables to global
140  translation to mid-il.  scope.  Also prune out useless variables, which should include field
141    variables after the translation to mid-il.
142    
143  co- vs contra- index distinction  co- vs contra- index distinction
144    
# Line 144  Line 163 
163  BUGS =================  BUGS =================
164  ======================  ======================
165    
166  test/abexit.diderot  test/fields.diderot:
167          // HEY (BUG): this program can't run; this is the info from gdb (below)  documents various bugs/questions associated with field expressions
         // NOTE: if you remove the "inside" test; then it does run w/out problems  
         //   (gdb) run  
         //   Starting program: /Users/gk/diderot/diderot/pure-cfg/test/abexit  
         //   warning: posix_spawn failed, trying execvp, error: 86  
         //   Reading symbols for shared libraries ++. done  
         //   initializing globals ...  
         //  
         //   Program exited with code 01.  
         //   (gdb)  
168    
169  test/mip-cam.diderot:  test/mip-cam.diderot:
170      // generated C code looks like "(float)p_ui_0--0.5e0f"      // generated C code looks like "(float)p_ui_0--0.5e0f"
# Line 173  Line 183 
183  //  uncaught exception Size [size]  //  uncaught exception Size [size]
184  //    raised at c-target/c-target.sml:47.15-47.19  //    raised at c-target/c-target.sml:47.15-47.19
185  //field#4(3)[] F = img ⊛ bspln5;  //field#4(3)[] F = img ⊛ bspln5;
   
   

Legend:
Removed from v.900  
changed lines
  Added in v.947

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