[Insight-developers] Writing a test for streaming

Bill Lorensen bill.lorensen at gmail.com
Mon Dec 15 19:51:04 EST 2008


Brad,

I am currently working on ShrinkImageFIlter to correct other issues.
Once complete, I'll look at the streaming issue for this filter.

Bill

On Mon, Dec 15, 2008 at 6:28 PM, Bradley Lowekamp
<blowekamp at mail.nih.gov> wrote:
> Greetings,
> I am starting to write a test to determine if a pipeline is streaming. The
> StreamingImageFilter uses the ShrinkImageFilter for its test, and the shrink
> filter does not stream, yet this test is passing. So I am hoping to add to
> the tests of these two classes to check the execution of the pipeline.
> Unfortunately I  don't see any other tests that look at the pipeline
> execution this closely. I very likely could have missed something though. So
> I wrote a little monitoring image filter class which records regions used in
> EnlargeOutputRequestedRegion,  GenerateInputRequestedRegion,  and the actual
> regions copied from the input region in GenerateData. By comparing the
> number and sizes of these regions we can determine if the pipeline is being
> executed as advertised.
> I am just finally getting going with the adopt a bug program and want to
> make sure that I am on the right track with things.
>
> Thanks,
> Brad
>
>
>
>
>
> ========================================================
>
> Bradley Lowekamp
>
> Lockheed Martin Contractor for
>
> Office of High Performance Computing and Communications
>
> National Library of Medicine
>
> blowekamp at mail.nih.gov
>
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
>


More information about the Insight-developers mailing list