[Insight-users] Re: Is there any filter which can give out the center of labels on the labeled image

Bill Lorensen bill.lorensen at gmail.com
Tue Apr 24 10:25:27 EDT 2007


Alireza,

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.

http://public.kitware.com/Insight/Doxygen/html/classitk_1_1LabelStatisticsImageFilter.html

Bill

On 4/24/07, Alireza Salamy <alireza_sal2000 at yahoo.com> wrote:
>
> Hi Gaetan,
> 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?
> Thanks alot
> Alireza
>
> *Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>* wrote:
>
>
> Hi Alireza,
>
> Please keep the discussions on the list so they can be archived !
>
>
> Le 23 avr. 07 à 12:14, Alireza Salamy a écrit :
>
> > Hi Gaetan ,
> > would you please tell me if there is any filter or source code
> > which can give out the center of the labels on the labeled image?
> > for example in Matlab we have:
> > STATS = REGIONPROPS(L,PROPERTIES) measures a set of properties for
> > each
> > labeled region in the label matrix L.
> > the code above included centroid of the labels.
> >
>
> Again you can use my contribution to ITK http://voxel.jouy.inra.fr/
> darcsweb/darcsweb.cgi?r=binaryAttributeMorphology;a=summary to get
> this info, or an older one I will NOT submit to the insight journal,
> but which may be a little easiest to use http://voxel.jouy.inra.fr/
> darcsweb/darcsweb.cgi?r=labelShape;a=summary .
> I don't know any other way to get those infos.
>
> Gaëtan
>
> --
> Gaëtan Lehmann
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
> http://voxel.jouy.inra.fr
>
>
>
>
> ------------------------------
> Ahhh...imagining that irresistible "new car" smell?
> Check out new cars at Yahoo! Autos.<http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM->
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070424/6dadfe1f/attachment.htm


More information about the Insight-users mailing list