[Insight-users] Problems with calling ReinitializeLevelSetImageFilter in order to reinitialize narrow band in NarrowBandLevelSetImageFilter

Amardeep Singh amar.singh at gmx.de
Tue May 26 15:00:22 EDT 2009


Dear ITK Users

I would like to call the ReinitializeLevelSetImageFilter from the 
CreateNarrowBand() function in the itkNarrowBandLevelSetImageFilter.
The purpose is to use fast marching for reinitialization of the narrow 
band and not the approximate chamfer distance transform (I need my 
narrow band to be exact).
Unfortunately, I find this more difficult as expected. The 
ReinitializeLevelSetImageFilter uses the itkLevelSetNode as a node in 
the narrow band,
whereas the itkNarrowBand uses a BandNode (defined in itkNarrowBand.h). 
Because of this, I cannot call the ReinitializeLevelSetImageFilter 
simply from the CreateNarrowBand() within the 
itkNarrowBandLevelSetImageFilter function.
I changed the itkNarrowband to use a VectorContainer as 
NodeContainerType, but I do not know how to solve this problem.
Can anybody help?

Thanks a lot!

Best regards
Amardeep


More information about the Insight-users mailing list