[Insight-users] Get global leveset image

Juan Cardelino juan.cardelino at gmail.com
Sat Nov 26 07:17:15 EST 2011


On Fri, Nov 25, 2011 at 11:19 AM, Hui Tang - TNW <H.Tang at tudelft.nl> wrote:
> Dear itk users,
>
> I would like to get the global levelset image ( the sighed distance image,
> \phi) in each levelset iteration,  does anyone have any idea on how to get
> that image? I am using ITK4. Thanks!!!
>

Yes. You need to create an observer and attach it to the level set
filter. Then inside the observer class, you do something like
filter->GetOutput() to get the implicit function (or level set
function, as you wish to call it).
Look in the Software Guide, there are examples of this implemented.

> Best,
>
> Hui
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list