[Insight-users] Fwd: StreamImageFilter - Heap corruption problems.

Sergio Vera sergio.vera at alma3d.com
Thu Dec 2 04:55:42 EST 2010


Thanks for the clarification, Luis.

So sad the Hessian filters aren't streamables as they memory intensive.

I will try to make a minimum-replicable code snippet and report a bug if
possible,

Thanks


On Thu, Dec 2, 2010 at 4:58 AM, Luis Ibanez <luis.ibanez at kitware.com> wrote:

> 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
> >
> >
>



-- 
Sergio Vera

 Alma IT Systems
 C/ Vilana, 4B, 4º 1ª
 08022 Barcelona
 T. (+34) 932 380 592
 www.alma3d.com



-- 
Sergio Vera

 Alma IT Systems
 C/ Vilana, 4B, 4º 1ª
 08022 Barcelona
 T. (+34) 932 380 592
 www.alma3d.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101202/6c9e3dce/attachment.htm>


More information about the Insight-users mailing list