[Insight-users] Pipeline and ReleaseDataFlagOn().

Michal Postrozny sandarak at wp.pl
Mon Jun 6 05:47:53 EDT 2005


Hello,

I have a question regarding releasing filter data in pipeline.

Let's have a pipeline like this:

ImageFileReader -> RegionOfInterestImageFilter -> my_Image

If I set:

ImageFileReader->ReleaseDataFlagOn();
RegionOfInterestImageFilter->ReleaseDataFlagOn();

I assume that after calling

RegionOfInterestImageFilter->Update()

my_Image is not pointing to any data, so calling any filter with
my_Image as input parameter will casue an exception.

Is this true or am I completely wrong?


Thanks in advance

Michal Postrozny





More information about the Insight-users mailing list