<div class="gmail_quote"><br><br>Thanks for the clarification, Luis.<div><br></div><div>So sad the Hessian filters aren't streamables as they memory intensive.</div><div><br></div><div>I will try to make a minimum-replicable code snippet and report a bug if possible,</div>
<div><br></div><div>Thanks<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Dec 2, 2010 at 4:58 AM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Sergio,<br>
<br>
Your guess is correct.<br>
<br>
The HessianRecursiveGaussianImageFilter does<br>
not stream.<br>
<br>
This is because internally it uses the RecursiveGaussian<br>
image filter, which is an implementation of an Infinite<br>
Impulse Response (IIR) filter, and therefore, it needs the<br>
full set of pixels in a line in order to perform a computation.<br>
<br>
<br>
That said, the pipeline shouldn't crash...<br>
<br>
It should simply report to the StreamingImageFilter<br>
that the best that the intermediate filters can do is to<br>
compute the image in a single block.<br>
<br>
You may have uncover a bug in the pipeline negotiation<br>
during the streaming process.<br>
<br>
<br>
Luis<br>
<br>
<br>
-----------------------------------------------------------<br>
<div><div></div><div>On Fri, Nov 26, 2010 at 5:38 AM, Sergio Vera <<a href="mailto:sergio.vera@alma3d.com" target="_blank">sergio.vera@alma3d.com</a>> wrote:<br>
> Hello,<br>
> when using StreamImageFilter in a pipeline, my program crashes with a "HEAP<br>
> CORRUPTION DETECTED" message from windows (ITK3.18, VS2008).<br>
> The pipeline is this one:<br>
> inputImg->ThresholdImageFilter->CastImageFilter->HessianRecursiveGaussianImageFilter->Hessian3DToVesselnessMeasureImageFilter->StreamImageFilter(8<br>
> divisions)<br>
> I call Update at the StreamImageFilter. Maybe some filters can't be<br>
> streamed, and that's why the program crashes?<br>
> Any Idea about why streamImageFilter causes such a heap corruption? (The<br>
> pipeline works ok without it)<br>
><br>
> Thanks in advance<br>
> --<br>
> Sergio Vera<br>
><br>
> Alma IT Systems<br>
> C/ Vilana, 4B, 4º 1ª<br>
> 08022 Barcelona<br>
> T. (+34) 932 380 592<br>
> <a href="http://www.alma3d.com" target="_blank">www.alma3d.com</a><br>
><br>
</div></div>> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
><br>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><div class="im">Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com" target="_blank">www.alma3d.com</a><br>
</div></div>
</div><br><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a><br>