[Insight-users] pipeline doesn't flush
Aditya Chandramouli
antariksh at gmail.com
Fri Sep 8 01:40:10 EDT 2006
Karthik,
Thanks a lot. I've got it working by calling the Modified() method as you
suggested. I just wasn't familiar with the whole MTime issue.
aditya
On Thursday 07 September 2006 19:44, Karthik Krishnan wrote:
> Aditya Chandramouli wrote:
> Did you intend doing that (connecting the filter output to its input),
> Is that an iterative filter.. If you are doing such things, you need to
> disconnect the data object (myImage) for the pipeline before doing
> that.. using DisconnectPipeline.. However I don't think that's what you
> intend to do.... you can always have :
>
> for (n iterations)
> {
> // use iterators to modify the image
> myImage->Modified(); // reflect the modification by changing the
> MTime of the data object
> myFilter->SetInput(myImage)
> myFilter->Update();
> }
More information about the Insight-users
mailing list