[Insight-developers] New ITK data objects

Miller, James V (Research) millerjv@crd.ge.com
Fri, 10 Jan 2003 16:08:14 -0500


I guess the first question is how general are these data structures?

Could some of them use (be? or be if we added something to) the existing
mesh/cell classes? Is a chain code much different than a polyline of polygon?
(do you want to represent it as a collection of indexes or as a starting
index and a neighbor indicator?)

Could the parametric path classes use or be part of the existing
function hierarchy? We already have ImageFunction and SpatialFunction.
Should we have a ParametricFunction? 

Jim




> -----Original Message-----
> From: John M. Galeotti [mailto:jgaleotti@cmu.edu]
> Sent: Friday, January 10, 2003 1:31 PM
> To: insight-developers@public.kitware.com
> Subject: [Insight-developers] New ITK data objects
> 
> 
> Hello, I'm working with Dr. Stetten at CMU to implement his 
> swath-based
> "active contour" as part of ITK.  Now that I've isolated the algorithm
> from Dr. Stetten's Visualization and Image Analysis (VIA) toolkit, I'm
> ready to add it to ITK.  In order to do that, I need to add a 
> couple of
> data types to ITK, if no one objects.  Comments welcome (and 
> requested).
> Pseudo-code for the proposed classes follows:
> 
> class chaincode
>   get/set origin
>   add/get step
>   get number of steps
>   make 4-connected (convert every diagonal step into 2 
> orthogonal steps)
>   get step rotated +/- 45 degrees (optional, but very helpful 
> for the swath)
> 
> class parametric path funciton (virtual parent class)
>   get point at time t (virtual, t lies on the interval [0,1])
> 
>   class parametric circle
>   class parametric polygon
>   class parametric Fourier smoothed chaincode
>     contstruct from chaincode
>     get derivative of point at time t
>     add/set optimum error offset points
>     get error-corrected point at time t
> 
> ---
> John M. Galeotti   (jgaleotti@cmu.edu)  412-268-9576
> Robotics Institute, EDSH, Carnegie Mellon University
> 5000 Forbes Avenue, Pittsburgh, PA 15213
> 
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>