[Insight-users] Re: Re: 2D boundary tracking

Amadeus W. M. amadeus84 at verizon.net
Fri Sep 15 19:59:19 EDT 2006


On Fri, 15 Sep 2006 15:26:26 -0700, Zachary Pincus wrote:

> There should be relatively little itk-specific code in the actual  
> implementation. Some basic index types and iterators but nothing  
> more. The itk::PolyLineParametricPath objects can just be substituted  
> for std::vectors, or some even simpler type. Not a lot of work, really.
> 
> The code will return open contours if they intersect the image edge,  
> and closed contours if they do not. This can be pretty easily  
> modified as well.
> 
> Zach Pincus
> 

One more detail. From the first few web pages I found describing
the algorithm, it seems the output contour is not a path 
(just a collection of possibly non-adjacent little segments). 
>From your documentation I gather that the output is a directed
path, with multiple components if need be, and for that you have
to go to great extents, and use the two hash tables, to keep
track what piece goes where. Is that correct? That's pretty clever.






More information about the Insight-users mailing list