Hi Pietro,<br><br>The following suggestion will not prevent your airways<br>label segmentation from having bigger diameters in <br>the lower branches, but it should help you detect<br>if it happens.<br><br>Take the label image, compute a signed distance map<br>
from it, and then use the Minimum / Maximum image<br>filter to detect local extrema.<br><br>If the diameters were monotonically decreasing,<br>you shouldn&#39;t find any extrema in the distance map<br>(at least in theory.... the discretionary may artificially<br>
create some though...).<br><br><br>    Luis<br><br><br>-------------------------------------------------------------<br><div class="gmail_quote">On Mon, May 28, 2012 at 11:12 AM, Pietro Nardelli <span dir="ltr">&lt;<a href="mailto:pie.nardelli@gmail.com" target="_blank">pie.nardelli@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">Hi all,<br>
<br>
I have a question: does exist a function to compute the diameter of a<br>
volume label? I&#39;m segmenting the airway of the lung and I need to be<br>
sure that the label&#39;s diameter of the deepest branches isn&#39;t greater<br>
than the diameter of the higher ones.<br>
<br>
Thank you very much,<br>
<br>
Pietro<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>
</blockquote></div><br>