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

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Tue Apr 24 10:31:02 EDT 2007


Le 24 avr. 07 à 16:25, Bill Lorensen a écrit :

> 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.

But that's not the centroid. It can be ok though - it just depend on  
what you need :-)

>
> 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.
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>

--
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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
Url : http://public.kitware.com/pipermail/insight-users/attachments/20070424/0b68dca4/PGP.pgp


More information about the Insight-users mailing list