[Insight-users] StreamImageFilter - Heap corruption problems.
Luis Ibanez
luis.ibanez at kitware.com
Wed Dec 1 22:58:10 EST 2010
Hi Sergio,
Your guess is correct.
The HessianRecursiveGaussianImageFilter does
not stream.
This is because internally it uses the RecursiveGaussian
image filter, which is an implementation of an Infinite
Impulse Response (IIR) filter, and therefore, it needs the
full set of pixels in a line in order to perform a computation.
That said, the pipeline shouldn't crash...
It should simply report to the StreamingImageFilter
that the best that the intermediate filters can do is to
compute the image in a single block.
You may have uncover a bug in the pipeline negotiation
during the streaming process.
Luis
-----------------------------------------------------------
On Fri, Nov 26, 2010 at 5:38 AM, Sergio Vera <sergio.vera at alma3d.com> wrote:
> Hello,
> when using StreamImageFilter in a pipeline, my program crashes with a "HEAP
> CORRUPTION DETECTED" message from windows (ITK3.18, VS2008).
> The pipeline is this one:
> inputImg->ThresholdImageFilter->CastImageFilter->HessianRecursiveGaussianImageFilter->Hessian3DToVesselnessMeasureImageFilter->StreamImageFilter(8
> divisions)
> I call Update at the StreamImageFilter. Maybe some filters can't be
> streamed, and that's why the program crashes?
> Any Idea about why streamImageFilter causes such a heap corruption? (The
> pipeline works ok without it)
>
> Thanks in advance
> --
> Sergio Vera
>
> Alma IT Systems
> C/ Vilana, 4B, 4º 1ª
> 08022 Barcelona
> T. (+34) 932 380 592
> www.alma3d.com
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the Insight-users
mailing list