[Insight-users] pipeline doesn't flush
Aditya Chandramouli
antariksh at gmail.com
Wed Sep 6 17:05:22 EDT 2006
Hi,
I have the following (pseudo-)code:
---------------------------------
myFilter::New();
myFilter->SetInput(myImage);
for ( n iterations )
{
perform operations on myImage;
myFilter->Update();
}
---------------------------------
My problem is that the Update only seems to take place on the first iteration
of the loop.
On subsequent iterations, the update doesn't seem to take place although
myImage undergoes changes on each iteration and I need to re-run the filter
on it.
I've tried to reinsert the myFilter->SetInput(myImage) line within the loop,
with no effect.
Any help or suggestions would be most appreciated.
thanks.
aditya
More information about the Insight-users
mailing list