[Insight-users] Fwd: StreamImageFilter - Heap corruption problems.
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Thu Dec 2 05:10:59 EST 2010
Hi,
To stream non streamable filters, you may want to try
http://insight-journal.org/browse/publication/305
Regards,
Gaëtan
Le 2 déc. 10 à 10:55, Sergio Vera a écrit :
>
>
> 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
> _____________________________________
> 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
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr http://www.itk.org
http://www.mandriva.org http://www.bepo.fr
More information about the Insight-users
mailing list