To get the center of gravity, use -gifti-label-to-roi, -surface-coordinates-to-metric, and then -metric-weighted-stats (with both -roi and -area-surface or -weight-metric with average vertex areas, depending on if it is individual or atlas data). Be aware that this coordinate is unlikely to lie exactly on the surface, due to curvature. I am not aware of any other generally used center coordinates for surfaces.
If this is for reporting atlas coordinates in a publication, we suggest that you consider making the ROIs/label maps available as well, as they are more useful. Tim On Mon, May 2, 2016 at 9:25 PM, Glasser, Matthew <[email protected]> wrote: > That is a little more specific. I suppose you could do something like > take the patch, binarize it, smooth it, and then run the extrema command on > it. Perhaps Tim has a better idea though. > > Matt. > > From: tony han <[email protected]> > Date: Monday, May 2, 2016 at 9:21 PM > To: Matt Glasser <[email protected]>, "[email protected]" < > [email protected]> > Subject: RE: [HCP-Users] Get the center of a ROI > > Hi Matt, are there several types of centers of ROIs? Sorry sounds stupid. > I guess mostly geodesic center is used? What I'm doing is to get the vertex > index of the center of each patches. So could you give me more hints? > Thanks! > > ------------------------------ > From: [email protected] > To: [email protected]; [email protected] > Subject: Re: [HCP-Users] Get the center of a ROI > Date: Tue, 3 May 2016 02:16:36 +0000 > > What do you mean by “get the center”? > > Peace, > > Matt. > > From: <[email protected]> on behalf of tony han < > [email protected]> > Date: Monday, May 2, 2016 at 9:15 PM > To: "[email protected]" <[email protected]> > Subject: [HCP-Users] Get the center of a ROI > > Hi, sorry for a stupid question. Is there any way to get the center of a > ROI. I have a gifti file with patch labels and I want to get centers of > these patches. Is this possible? Thanks! > > Best, > Tony > > _______________________________________________ > HCP-Users mailing list > [email protected] > http://lists.humanconnectome.org/mailman/listinfo/hcp-users > > > ------------------------------ > > The materials in this message are private and may contain Protected > Healthcare Information or other information of a sensitive nature. If you > are not the intended recipient, be advised that any unauthorized use, > disclosure, copying or the taking of any action in reliance on the contents > of this information is strictly prohibited. If you have received this email > in error, please immediately notify the sender via telephone or return mail. > > > ------------------------------ > > The materials in this message are private and may contain Protected > Healthcare Information or other information of a sensitive nature. If you > are not the intended recipient, be advised that any unauthorized use, > disclosure, copying or the taking of any action in reliance on the contents > of this information is strictly prohibited. If you have received this email > in error, please immediately notify the sender via telephone or return mail. > _______________________________________________ HCP-Users mailing list [email protected] http://lists.humanconnectome.org/mailman/listinfo/hcp-users
