Alireza,<br><br>itkLabelStatisticsImageFilter computes a number of quantities for labels in an image. One of them is the region covered by the label. The center is easiliy calculated from this.<br><br><a href="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1LabelStatisticsImageFilter.html">
http://public.kitware.com/Insight/Doxygen/html/classitk_1_1LabelStatisticsImageFilter.html</a><br><br>Bill<br><br><div><span class="gmail_quote">On 4/24/07, <b class="gmail_sendername">Alireza Salamy</b> <<a href="mailto:alireza_sal2000@yahoo.com">
alireza_sal2000@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Hi Gaetan,</div> <div>I got the webpage that you send me for getting the centroid of Labels in Labeled image,but the language of that is in
French.would you please let me know how can I have access to your contribution?Does your contribution available as a source code in ITK?</div> <div>Thanks alot</div> <div>Alireza <br><br><b><i>Gaëtan Lehmann <<a href="mailto:gaetan.lehmann@jouy.inra.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
gaetan.lehmann@jouy.inra.fr</a>></i></b> wrote:</div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;"><br>Hi Alireza,<br><br>Please keep the discussions on the list so they can be archived !
<br><br><br>Le 23 avr. 07 à 12:14, Alireza Salamy a écrit :<br><br>> Hi Gaetan ,<br>> would you please tell me if there is any filter or source code <br>> which can give out the center of the labels on the labeled image?
<br>> for example in Matlab we have:<br>> STATS = REGIONPROPS(L,PROPERTIES) measures a set of properties for <br>> each<br>>
labeled region in the label matrix L.<br>> the code above included centroid of the labels.<br>><br><br>Again you can use my contribution to ITK <a href="http://voxel.jouy.inra.fr/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://voxel.jouy.inra.fr/</a> <br>darcsweb/darcsweb.cgi?r=binaryAttributeMorphology;a=summary to get <br>this info, or an older one I will NOT submit to the insight journal, <br>but which may be a little easiest to use <a href="http://voxel.jouy.inra.fr/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://voxel.jouy.inra.fr/</a> <br>darcsweb/darcsweb.cgi?r=labelShape;a=summary .<br>I don't know any other way to get those infos.<br><br>Gaëtan<br><span class="sg"><br>--<br>Gaëtan Lehmann<br>Biologie du Développement et de la Reproduction
<br>INRA de Jouy-en-Josas (France)<br>tel: +33 1 34 65 29 66 fax: 01 34 65 29 09<br><a href="http://voxel.jouy.inra.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://voxel.jouy.inra.fr</a><br>
</span><span class="ad"><br><br><br></span></blockquote><span class="ad"><br><p>
</p><hr size="1">Ahhh...imagining that irresistible "new car" smell?<br> Check out
<a href="http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
new cars at Yahoo! Autos.</a>
<p></p></span><br>_______________________________________________<br>Insight-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" 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>