[Insight-users] Where is the Polygon Scan Converter?
Frank Miller
frankmiller at jhu.edu
Fri Oct 21 10:16:23 EDT 2005
Greetings,
Im using level set methods to work on a segmentation problem and wrote a
little function that I think this community would be interested in.
Problem
-------
The standard way to generate an initial implicit function is to create a
distance map from a set of seed points using the FastMarchingImageFilter
or the DanielssonDistanceMapImageFilter. It would be nice to be able to
generate the initial implicit function given a level set. In other
words, to have a method to generate an implicit function that has an
arbitrary polygon for its zero level set.
Solution
--------
I would expect many people would want to implement something like this
and it is possible the solution is already in ITK and I just have not
found it. If this is the case, please point me in the right direction.
My solution is to create an image with zeros everywhere outside the
polygon, and non-zeros inside the polygon, and feed this to the
SignedDanielssonDistanceMapImageFilter. I generate this binary image
from a polygon scan conversion iterator written by Benjamin King and
submitted in this post.
http://public.kitware.com/pipermail/insight-users/2005-June/013614.html
Questions
---------
The code for the polygon scan conversion iterator does not seem to be in
the library (I checked the 2.0.0 release and the current version in
CVS). Has the name been changed or has it not been integrated yet?
Does someone need to volunteer to add this code to the library? I might
be able to do this.
Frank
More information about the Insight-users
mailing list