<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Sergio,<div><br></div><div>Yes, am minimal example/test that illustrates your bug would be very helpful!</div><div><br></div><div>Please report the bug into Mantis and assign it to me.</div><div><br></div><div>Thanks,</div><div>Brad</div><div><br><div><div>On Dec 2, 2010, at 4:55 AM, Sergio Vera wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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">&lt;<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>&gt;</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>
 &nbsp; &nbsp; Luis<br>
<br>
<br>
-----------------------------------------------------------<br>
<div><div></div><div>On Fri, Nov 26, 2010 at 5:38 AM, Sergio Vera &lt;<a href="mailto:sergio.vera@alma3d.com" target="_blank">sergio.vera@alma3d.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt; when using StreamImageFilter in a pipeline, my program crashes with a "HEAP<br>
&gt; CORRUPTION DETECTED" message from windows (ITK3.18, VS2008).<br>
&gt; The pipeline is this one:<br>
&gt; inputImg-&gt;ThresholdImageFilter-&gt;CastImageFilter-&gt;HessianRecursiveGaussianImageFilter-&gt;Hessian3DToVesselnessMeasureImageFilter-&gt;StreamImageFilter(8<br>
&gt; divisions)<br>
&gt; I call Update at the StreamImageFilter.&nbsp;Maybe some filters can't be<br>
&gt; streamed, and that's why the program crashes?<br>
&gt; Any Idea about why streamImageFilter causes such a heap corruption? (The<br>
&gt; pipeline works ok without it)<br>
&gt;<br>
&gt; Thanks in advance<br>
&gt; --<br>
&gt; Sergio Vera<br>
&gt;<br>
&gt; &nbsp;Alma IT Systems<br>
&gt; &nbsp;C/ Vilana, 4B, 4º 1ª<br>
&gt; &nbsp;08022 Barcelona<br>
&gt; &nbsp;T. (+34) 932 380 592<br>
&gt; &nbsp;<a href="http://www.alma3d.com/" target="_blank">www.alma3d.com</a><br>
&gt;<br>
</div></div>&gt; _____________________________________<br>
&gt; Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><div class="im">Sergio Vera<br><br>&nbsp;Alma IT Systems<br>&nbsp;C/ Vilana, 4B, 4º 1ª<br>&nbsp;08022 Barcelona<br>&nbsp;T. (+34) 932 380 592<br>&nbsp;<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>&nbsp;Alma IT Systems<br>&nbsp;C/ Vilana, 4B, 4º 1ª<br>&nbsp;08022 Barcelona<br>&nbsp;T. (+34) 932 380 592<br>&nbsp;<a href="http://www.alma3d.com/">www.alma3d.com</a><br>
<span>&lt;ATT00001..txt&gt;</span></blockquote></div><br></div></body></html>