[Insight-developers] impact of recent changes to ImageBase
Bill Lorensen
wlorens1@nycap.rr.com
Thu, 14 Mar 2002 15:59:00 -0500
Jim and I made the changes. It turns out that the filters were probably not streaming. The pipeline mechanism was ignoring the SetRequestedRegion was being overridden with the entire region later in the pipeline object. The filter was generating all of its output the first time. Subsequent times, the pipeline just returned another piece of the entire region. I suspect that your filter is not working correctly for a region that is smaller than the entire region.
When I get back to work on Friday, I can take a look at it and maybe we can talk at the t-con,
Bill
At 10:28 AM 3/14/02 -0800, Lydia Ng wrote:
>Hi,
>
>On Monday some changes were made to ImageBase
>http://www.itk.org/cgi-bin/cvsweb.cgi/Insight/Code/Common/itkImageBase.t
>xx?annotate=1.23&cvsroot=Insight
>
>The changes consist of the addition of
> m_RequestedRegionInitialized = true;
>to several of the SetRequestedRegion methods.
>
>Since the changes, my MultiResolutionPyramidImageFilterTest has been
>failing.
>While the filter works correctly in standalone (non-streamed) mode,
>running the filter via StreamingImageFilter now produces incorrect
>results.
>
>When I revert the changes to itkImageBase.txx, the test pass again.
>
>Could someone explain to me the impact of the changes to way the
>pipeline and/or streaming works? And describe how I should modify
>my filter to be consistent with these changes?
>
>
>- Lydia
>
>
>
>
>
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers