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

SCM Repository

[diderot] Diff of /branches/vis12-cl/TODO
ViewVC logotype

Diff of /branches/vis12-cl/TODO

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

trunk/TODO revision 1115, Thu May 5 04:42:18 2011 UTC branches/vis12/TODO revision 1992, Thu Sep 27 10:23:12 2012 UTC
# Line 1  Line 1 
1  NOTE: GLK's approximate ranking of 5 most important tagged with  This to do for the Vis 2012 submission
 [GLK:1], [GLK:2], ...  
3  ==============================  3rd order tensors: 2x2x2 and 3x3x3 (done)
 other SHORT TERM =============  (including needed for LIC)  
5  [GLK:1] Add sequence types (needed for evals & evecs)  dynamic-length sequences (done, except for loading and smart memory management)
         types: ty '{' INT '}'  
         value construction: '{' e1 ',' … ',' en '}'  
         indexing: e '{' e '}'  
7  IL support for higher-order tensor values (matrices, etc).  curl 2D and 3D
     tensor construction [DONE]  
     tensor indexing [DONE]  
     tensor slicing  
     verify that hessians work correctly [DONE]  
9  Use ∇⊗ etc. syntax  support iteration over image indices
     syntax [DONE]  
     IL and codegen  
11  test/uninit.diderot:  loading sequences
 documents need for better compiler error messages when output variables  
 are not initialized; the current messages are very cryptic  
13  determinant ("det") for tensor[3,3]  ====================
14    Plan for loading sequences
16  expand trace in mid to low translation  check proxy files when converting from AST to Simple representation; use default representations
17    when no proxy is specified.
19  value-numbering optimization  get rid of lift/eval phases (although we might want to address teh polyvariance of fields
20    at that stage)
22  Add type aliases for color types  Need to update nrrd info to allow for default representations where various properties
23      rgb = real{3}  are not specified (origin and sizes).
     rgba = real{4}  
 MEDIUM TERM ================== (including needed for streamlines & tractography)  
 [GLK:1] evals & evecs for symmetric tensor[3,3] (requires sequences)  
 [GLK:2] Save Diderot output to nrrd, instead of "mip.txt"  
   For grid of strands, save to similarly-shaped array  
   For list of strands, save to long 1-D (or 2-D for non-scalar output) list  
   For ragged things (like tractography output), will need to save both  
     complete list of values, as well as list of start indices and lengths  
     to index into complete list  
 [GLK:3] Use of Teem's "hest" command-line parser for getting  
 any input variables that are not defined in the source file  
 [GLK:4] ability to declare a field in such a way so that probe  
 positions are *always* clamped to the support of "inside";  
 there are many cases where this is the sensible behavior.  
 (could also have "repeat" declaration, to mimic GL_REPEAT texturing)  
 extend norm (|exp|) to all tensor types [DONE for vectors and matrices]  
 ability to emit/track/record variables into dynamically re-sized  
 runtime buffer  
 Want: allow X *= Y, X /= Y, X += Y, X -= Y to mean what they do in C,  
 provided that X*Y, X/Y, X+Y, X-Y are already supported.  
 Nearly every Diderot program would be simplified by this.  
 Want: non-trivial field expressions & functions:  
   image(2)[2] Vimg = load(...);  
   field#0(2)[] Vlen = |Vimg ⊛ bspln3|;  
 to get a scalar field of vector length, or  
   field#2(2)[] F = Fimg ⊛ bspln3;  
   field#0(2)[] Gmag = |∇F|;  
 to get a scalar field of gradient magnitude, or  
   field#2(2)[] F = Fimg ⊛ bspln3;  
   field#0(2)[] Gmsq = ∇F•∇F;  
 to get a scalar field of squared gradient magnitude, which is simpler  
 to differentiate.  However, there is value in having these, even if  
 the differentiation of them is not supported (hence the indication  
 of "field#0" for these above)  
 Want: ability to apply "normalize" to a field itself, e.g.  
   field#0(2)[2] V = normalize(Vimg ⊛ ctmr);  
 so that V(x) = normalize((Vimg ⊛ ctmr)(x)).  
 Having this would simplify expression of standard LIC method, and  
 would also help express other vector field expressions that arise  
 in vector field feature exraction.  
 tensor fields: convolution on general tensor images  
 other MEDIUM TERM ============ (needed for particles)  
 [GLK:5] run-time death of strands; test/iso2d.diderot provides  
 great initial test for "die" command.  
 run-time birth of strands  
 "initially" supports lists  
 "initially" supports lists of positions output from  
 different initalization Diderot program  
 spatial data structure that permits strands' queries of neighbors  
 proper handling of stabilize method  
 test/vr-kcomp2.diderot: Add support for code like  
         (F1 if x else F2)@pos  
 This will require duplication of the continuation of the conditional  
 (but we should only duplicate over the live-range of the result of the  
 add ":" for tensor dot product (contracts out two indices  
 instead of one like •), valid for all pairs of tensors with  
 at least two indices  
 other MEDIUM TERM ============  
 want: warnings when "D" (reserved for differentiation) is declared as  
 a variable name (get confusing error messages now)  
 support for Python interop and GUI  
 Python/ctypes interface to run-time  
 LONG TERM ====================  
 Better handling of variables that determines the scope of a variable  
 based on its actual use, instead of where the user defined it.  So,  
 for example, we should lift strand-invariant variables to global  
 scope.  Also prune out useless variables, which should include field  
 variables after the translation to mid-il.  
 co- vs contra- index distinction  
 some indication of tensor symmetry  
 (have to identify the group of index permutations that are symmetries)  
 dot works on all tensors  
 outer works on all tensors  
 Einstein summation notation  
 "tensor comprehension" (like list comprehension)  
 BUGS =================  
 looks like varialble scoping bug is still present in some cases?  
 3x3 matrix subtraction is broken  
 (and then fix test/vr-curv-quad.diderot)  
 // HEY (BUG?) shouldn't it be a type error to load this 2-D array of  
 // 2-vectors into a 2-D *scalar* field?  Instead, get:  
 //   uncaught exception Fail [Fail: Error in compiling lic.diderot]  
 //     raised at driver/main.sml:31.39-31.76  
 image(2)[] Vimg = load("../data/vorttest.nrrd");  
 // HEY (bug) bspln5 leads to problems ...  
 //  uncaught exception Size [size]  
 //    raised at c-target/c-target.sml:47.15-47.19  
 //field#4(3)[] F = img ⊛ bspln5;  

Removed from v.1115  
changed lines
  Added in v.1992

ViewVC Help
Powered by ViewVC 1.0.0