[Insight-users] How to pass initial segmentation result to ShapeDetectionLevelSetFilter?

Zachary Pincus zpincus at stanford.edu
Sat Jun 11 14:50:47 EDT 2005


If the output from the region growing filter is a binary "mask" type 
image where inside is one intensity value and outside is a second 
intensity value, you could use either of the signed distance map filter 
classes to generate a signed distance map. This places the 
inside/outside boundary at the zero-level set of the map, and is thus 
valid input for a level set filter.

The SignedDanielssonDistanceMapImageFilter class generates exact 
distance maps, and requires that the outside be of intensity zero. The 
ApproximateSignedDistanceMapImageFilter generates more approximate (but 
faster) distance maps, and allows for arbitrary intensities to be set 
for the input's inside and outside.

I believe that there are other ways to initialize a level set filter 
from a binary mask input which others on this list can comment on and 
compare to the methods I proposed above, but I do know that these will 
work to get you started.

Zach Pincus


Department of Biochemistry and Program in Biomedical Informatics
Stanford University School of Medicine




On Jun 11, 2005, at 12:15 PM, Sandarak wrote:

> Hello!
>
> I would like to set as initial input to ShapeDetectionLevelSet filter
> output from RegiongGrowing filter. How could I achieve this?
>
> Setting as initail input output from FastMarching filter is easy and is
> explained in itkSoftwareGuide. But I can't find any examples how to do
> this with region growing, because ShapeDetection filter requires
> distance map as input, and I have no idea how to create it from region
> growing filter output.
>
> Thanks in advance
>
> Michal Postrozny
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>



More information about the Insight-users mailing list