Hello,<br><br>I recently posed a similar request and someone suggested that I use the following submission by Gaetan for<br>
that purpose. Note that it has way more<br>
morphological features than you asked for.<br>
<br>
<a href="http://www.insight-journal.org/browse/publication/176" target="_blank">http://www.insight-journal.org/browse/publication/176</a><br><br>The classes in Gaetan&#39;s paper now reside in the Insight/Code/Review of the latest Insight version 3.16.<br>

<br>
Also someone suggested that one thing to consider is that 3D Slicer already has the<br>

capability to provide you <span class="il">statistics</span> like mm^3 <span class="il">volume</span> for a label. See<br>

the documentation here:<br>

<br>

<a href="http://wiki.slicer.org/slicerWiki/index.php/Modules:LabelStatistics-Documentation-3.4" target="_blank">http://wiki.slicer.org/slicerWiki/index.php/Modules:LabelStatistics-Documentation-3.4</a><br>

<br>I hope this helps you.<br><br>john<br><br><div class="gmail_quote">On Wed, Nov 18, 2009 at 9:05 AM, Michael Xanadu <span dir="ltr">&lt;<a href="mailto:xanadu.michael@googlemail.com">xanadu.michael@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I want to calculate some volume statistics of a segment (label) delivered by any itk filter, for example the volume in cubic centimeter or the surface in square centimeter. Is there any class or option to do that in itk?<br>

<br>Regards, Michael<br>
<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.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></blockquote></div><br>