Re: [Freesurfer] mri_surcluster and centroid option

2014-04-09 Thread Joerg Pfannmoeller
On Mon, 07 Apr 2014 12:02:24 -0400 Douglas N Greve gr...@nmr.mgh.harvard.edu wrote: Is this group data? Or otherwise on fsaverage? Or on the subject's surface? It is on a single subject on its on anatomy (self). How are you determining that the centroid is outside of the cluster? The

Re: [Freesurfer] mri_surcluster and centroid option

2014-04-09 Thread Bruce Fischl
Hi Jeorg if the cluster is non-convex, the centroid is not guaranteed to be in the interior. Think of a C or U shape. cheers Bruce On Wed, 9 Apr 2014, Joerg Pfannmoeller wrote: On Mon, 07 Apr 2014 12:02:24 -0400 Douglas N Greve gr...@nmr.mgh.harvard.edu wrote: Is this group data? Or

Re: [Freesurfer] mri_surcluster and centroid option

2014-04-09 Thread Douglas Greve
By irregular, I mean irregularly shaped (non-concave) such that the centroid is actually not inside the cluster. Eg, a ring would have the centroid in the center but technically it would not be in the ring On 4/9/14 2:48 AM, Joerg Pfannmoeller wrote: On Mon, 07 Apr 2014 12:02:24 -0400

Re: [Freesurfer] mri_surcluster and centroid option

2014-04-09 Thread Joerg Pfannmoeller
Hi, I am sorry to disappoint you. I wrote another srcipt to compute the centroid in order to clarify whats happening. The centroid computed by the script is in the center of the cluster. However, the differences could be due to details of the computation. I was not able to unriddle all the

Re: [Freesurfer] mri_surcluster and centroid option

2014-04-07 Thread Joerg Pfannmoeller
Hi, you are right! The Talairach ccordinates change. Unfortunately, the centroid coordinate of my data are outside the cluster. Do you have any suggestions about that? I also tried your version of the script. The following message appeared: mri_surfcluster: error while loading shared

Re: [Freesurfer] mri_surcluster and centroid option

2014-04-07 Thread Douglas N Greve
On 04/07/2014 03:20 AM, Joerg Pfannmoeller wrote: Hi, you are right! The Talairach ccordinates change. Unfortunately, the centroid coordinate of my data are outside the cluster. Do you have any suggestions about that? Is this group data? Or otherwise on fsaverage? Or on the subject's

Re: [Freesurfer] mri_surcluster and centroid option

2014-04-04 Thread Douglas N Greve
I'm not sure, when I run it it results in different xyz. What version are you using? I've put a copy of my version (for linux) here ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/mri_surfcluster doug On 04/03/2014 03:56 AM, Joerg Pfannmoeller wrote: Hi, I am trying to