<div dir="ltr">You can disconnect the pipeline with:<div style>filter-&gt;DisconnectPipeLine();</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 1, 2013 at 12:10 PM, Jose Ignacio Prieto <span dir="ltr">&lt;<a href="mailto:joseignacio.prieto@gmail.com" target="_blank">joseignacio.prieto@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi all, I have loaded a 4d matrix (x,y,z,t) and then I try to segment it (a first try using otsu 4d for easiness). To visualize it on VTK I use itk::extractimagefilter&lt;4d,3d&gt; and then imagetovitkimagefilter&lt;3d&gt; <br>

</div>The problem is that when changing the frame number using a callback, the pipeline segments the whole file agains instead of doing the complete segmentation at the first time and then just changing the visualization part of the pipeline. I think it is working this way because without the otsu filter step, the frame change would be very fast, but know it takes 5 secs and 100%cpu. Is there something like &quot;update and stay&quot; for the otsu output?<br>

<br></div>Thanks <br></div><span class="HOEnZb"><font color="#888888">Ignacio<br><div><div><div><div><br>-- <br>José Ignacio Prieto<br>celular(nuevo): 94348182
</div></div></div></div></font></span></div>
<br>_____________________________________<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.php" target="_blank">http://www.kitware.com/products/protraining.php</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></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>