[Insight-developers] What if a Filter have input == output ?

Luis Ibanez ibanez at cs.unc.edu
Thu Sep 21 10:56:15 EDT 2000


Hi,

Is it possible to use an image as input
and output of a filter at the same time ?

-------

Something like

myImageType::Pointer    myImage = myImageType::New();
myFilterType::Pointer    myFilter = myFilterType::New();

myFilter->SetImageOutput( myImage );
myFilter->SetImageInput( myImage );

myFilter->Update();

------

Say, that I want to blurr an image, and
store the result in the same image.  This
is in principle possible because it is
done line by line.

Could this conflict with the Update
mecanism ?  (because the input will be
perpetually older that the output..)



Thanks

Luis






More information about the Insight-developers mailing list