[ITK] problem with pathiterator
Surya Rajan
suryarajan15 at gmail.com
Sat Sep 27 10:12:44 EDT 2014
Hi,
I'm having trouble in itkPathToImageFilter.hxx. The input is a closed Path
(2D index type). The problem is in this line of the file:
PathIterator< OutputImageType, InputPathType > pathIt(OutputImage,
InputPath);
for ( pathIt.GoToBegin(); !pathIt.IsAtEnd(); ++pathIt)
{
pathIt.Set(m_PathValue);
}
I'm noticing that the loop executes only once, taking the first value in
the path. ++pathIt does not seem to work. Could anyone please help me with
this? Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140927/5e6b660c/attachment-0002.html>
More information about the Community
mailing list