 trunk/TODO 2011/06/24 14:45:33 1388
+++ trunk/TODO 2011/07/10 08:09:50 1442
@@ 5,8 +5,6 @@
SHORT TERM ============= (*needed* for streamlines & tractography)
========================
Remove CL from compiler [DONE]

[GLK:2] Add sequence types (needed for evals & evecs)
syntax
types: ty '{' INT '}'
@@ 17,16 +15,16 @@
tensor[3,3] (requires sequences)
ability to emit/track/record variables into dynamically resized
runtime buffer
+runtime output buffer
tensor fields: convolution on general tensor images (order > 1)
+[GLK:4] tensor fields from tensor images: Initially need at least
+convolution on tensor[2,2] and tensor[3,3] (the same componentwise
+convolution as for vectors).
========================
SHORTISH TERM ========= (to make using Diderot less annoying to
======================== program in, and slow to execute)
valuenumbering optimization [DONE]

Allow ".ddro" file extensions in addition to ".diderot"
Be able to output values of type tensor[2,2] and tensor[3,3];
@@ 35,6 +33,8 @@
[GLK:1] Proper handling of stabilize method
+Convolution on general tensor images (order > 2)
+
allow "*" to represent "modulate": percomponent multiplication of
vectors, and vectors only (not tensors of order 2 or higher). Once
sequences are implemented this should be removed: the operation is not
@@ 43,16 +43,13 @@
implicit type promotion of integers to reals where reals are
required (e.g. not exponentiation "^")
[GLK:4] Save Diderot output to nrrd, instead of "mip.txt"
+[Nick working on this] Save Diderot output to nrrd, instead of "mip.txt"
For grid of strands, save to similarlyshaped array
For list of strands, save to long 1D (or 2D for nonscalar 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:5] Use of Teem's "hest" commandline parser for getting
any "input" variables that are not defined in the source file. [DONE]

[GLK:6] ability to declare a field so that probe positions are
*always* "inside"; with various ways of mapping the known image values
to nonexistant index locations. One possible syntax emphasizes that
@@ 76,11 +73,15 @@
rgb = real{3}
rgba = real{4}
+Revisit how images are created within the language.
+The "load" operator should probably go away, and its strangs
+that strings are there only as a way to refer to nrrd filenames
+
==============================
MEDIUM TERM ================== (*needed* for particles)
==============================
runtime birth of strands
+[Lamont working on this] runtime birth of strands
"initially" supports lists
@@ 89,17 +90,23 @@
e.g. using output of iso2d.diderot for one isovalue to seed the input
to another invocation of the same program)
Communication between strands: they have to be able to learn each
other's state (at the previous iteration). Early version of this can
have the network of neighbors be completely static (for running one
strand/pixel image computations). Later version with strands moving
through the domain will require some spatial data structure to
optimize discovery of neighbors.
+[Lamont working on this] Communication between strands: they have to
+be able to learn each other's state (at the previous iteration).
+Early version of this can have the network of neighbors be completely
+static (for running one strand/pixel image computations). Later
+version with strands moving through the domain will require some
+spatial data structure to optimize discovery of neighbors.
============================
MEDIUMISH TERM ============ (to make Diderot more useful/effective)
============================
+[GLK:5] Want codegeneration working for tensors of order three.
+Order three matters for edge detection in scalar fields (to get
+second derivatives of gradient magnitude), second derivatives
+of vector fields (for some feature extraction), and first
+derivatives of diffusion tensor fields.
+
Python/ctypes interface to runtime
support for Python interop and GUI
@@ 112,8 +119,6 @@
test/illustvr.diderot is good example of program that uses multiple
such 1D fields basically as lookuptablebased function evaluation
expand trace in mid to low translation [DONE]

extend norm (exp) to all tensor types [DONE for vectors and matrices]
determinant ("det") for tensor[3,3]
@@ 137,7 +142,6 @@
tensor construction [DONE]
tensor indexing [DONE]
tensor slicing
 verify that hessians work correctly [DONE]
Better handling of variables that determines the scope of a variable
based on its actual use, instead of where the user defined it. So,
@@ 204,10 +208,6 @@
field#0(2)[] F = lambda([x,y], Ft([x,y,42.0])) // restriction to time=42.0
vec2 grad = ∇F([x,y]); // 2D gradient
Tensors of order 3 (e.g. gradients of diffusion tensor fields, or
hessians of vector fields) and order 4 (e.g. Hessians of diffusion
tensor fields).

representation of tensor symmetry
(have to identify the group of index permutations that are symmetries)