[Insight-users] How to get back the current level set in aimagetype format?

Miller, James V (Research) millerjv at crd.ge.com
Wed Aug 17 09:06:45 EDT 2005


The output of the level set is kept up to date.  So a GetOutput()
after an iteration IS the current level set.

>From a ConstNeighborhoodIterator you can also get the Image using the 
method GetImagePointer().

Jim

-----Original Message-----
From: insight-users-bounces+millerjv=crd.ge.com at itk.org
[mailto:insight-users-bounces+millerjv=crd.ge.com at itk.org]On Behalf Of
nawel h
Sent: Wednesday, August 17, 2005 5:40 AM
To: insight-users at itk.org
Subject: [Insight-users] How to get back the current level set in
aimagetype format?


Hello,
I m trying to add a region term (mean and variance inside and outsidethe 
contour)  in the level set equation. I am modifying The 
itkGeodesicActiveContourLevelSetImageFilter and in particular the 
itkLevelSetImageFunction and I would need to getout the current levelset 
after each iteration in a Imagetype. In this class I can see that the level 
set is get back in a ConstNeighborhoodIterator type but I didn't find out 
from where the level set is obtained...
Thanks for any advice.


_______________________________________________
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