[Insight-users] DisconnectPipeline()
Vikash Gupta
vikash.gupta at inria.fr
Thu May 31 20:31:18 EDT 2012
Hi everyone,
I have some code like
MultiplyImageFilterType :: Pointer multiplyImageFilter = MultiplyImageFilterType :: New (); multiplyImageFilter -> SetInput1 ( derivePSI -> GetOutput () ); multiplyImageFilter -> SetInput2 ( deriveImage -> GetOutput ()); multiplyImageFilter -> Update (); AddImageFilterType :: Pointer addImageFilter = AddImageFilterType :: New (); addImageFilter -> SetInput1 ( secondtermImage ); addImageFilter -> SetInput2 ( multiplyImageFilter -> GetOutput ()); addImageFilter -> Update (); secondtermImage = addImageFilter -> GetPutput (); secondtermImage -> DisconnectPipeline ();
My question is:
If I call the DisconnectPipeline on secondtermImage, does it disconnects from the whole set of filters before it or just the addImageFilter?
If anyone can clarify this doubt, it will be really helpful.
Thanks in advance Vikash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120601/cfb0e75c/attachment.htm>
More information about the Insight-users
mailing list