[Insight-users] input for levelset segmentation algorithms

Ivan Macia imacia at vicomtech.es
Fri Jul 23 05:59:21 EDT 2004


Hi Kai,

You can feed the LevelSet algorithm directly with the binary image. The
LevelSet classes will convert it to the right format for you.

Hope that helps

Ivan

-----Mensaje original-----
De: Kai Li [mailto:likai at cs.uoregon.edu]
Enviado el: viernes, 23 de julio de 2004 1:42
Para: insight-users at itk.org
Asunto: Re: [Insight-users] input for levelset segmentation algorithms


After browsing the ITK classes, it seems that a possible method could be:
1) first extract the contour of the binary image,
2) feed the contour as input to the DanielssonDistanceMapImageFilter
3) Flip the sign of the distances of the pixels within the contour,
   ending up with the input initial level set to the level set algorithms.
Not sure if there is a more direct or better way to archieve this...

Kai

On Thu, 22 Jul 2004, Kai Li wrote:

> Hi,
>   I'm considering to use one of the Levelset segmentation algorithms, say
> ShapeDetectionLevelSetImageFilter. As the documentation of ITK says,  one
> of the inputs for algorithm is the initial level set: "The initial level
> set is a real image which contains the initial contour/surface as the zero
> level set. For example, a signed distance function from the initial
> contour/surface is typically used..." My question is how to convert a
> binary image, which is generated by a preprocessing method, to the
> such initial level set in ITK.
>
> Any help is highly appreciated!
>
> Kai
> _______________________________________________
> 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