[ITK] [ITK-users] multiple itk filters in vtk pipeline issue

Sean Lee KevinSeanLee at live.com
Fri Apr 28 13:25:57 EDT 2017


I am trying to apply image processing with itk through vtk pipeline. It seems no problems with single itk filter, but did not work well with multiple itk filters. The pseudo code is as following:


in constructor:


m_ItkImage = ItkImageType::New();

m_ItkImageFilter = ItkImageFilterType::New();


in image processing function:


m_ItkImage gets an image from vtk pipeline


m_ItkImageFilter->SetInput(m_ItkImage);

m_ItkImageFilter->Update();


m_ItkImageFilter->GetOutput() was sent back to the vtk pipeline


I debugged the m_ItkImage and m_ItkImageFilter->GetOutput(), and saw that m_ItkImage was updated but m_ItkImageFilter was not through the vtk pipeline.


How can I make m_ItkImageFilter->GetOutput() updated too through the vtk pipeline?


Thank you for your time.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170428/3ea6d910/attachment.html>
-------------- next part --------------
_____________________________________
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.php

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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list