It is possible to get a center of gravity of a surface ROI, but it is more involved (and doesn't result in a vertex). We don't really use ROI centers, as the entire ROI is generally more informative. See:
https://www.mail-archive.com/hcp-users%40humanconnectome.org/msg02495.html With the commas removed, as in "-44 40 29" (without the quotes), the command should have worked, regardless of how far from the surface the coordinates are. I tried it with a random surface I have and those coordinates, and got a vertex number in the output file, on both linux and mac. I am adding more help info and error messages to better indicate when the format of the file is not what is expected. For completeness, I have attached a file that has the coordinates in the expected format. Tim On Sun, May 29, 2016 at 6:14 PM, Glasser, Matthew <glass...@wustl.edu> wrote: > Actually not sure we have something for on the surface. Maybe check > FreeSurfer. > > Peace, > > Matt. > > From: <hcp-users-boun...@humanconnectome.org> on behalf of Matt Glasser < > glass...@wustl.edu> > Date: Sunday, May 29, 2016 at 6:13 PM > To: Marta Moreno <mmorenoort...@icloud.com> > > Cc: HCP Users <hcp-users@humanconnectome.org> > Subject: Re: [HCP-Users] geodesic-distance > > fslstats -c or -C > > Peace, > > Matt. > > From: Marta Moreno <mmorenoort...@icloud.com> > Date: Sunday, May 29, 2016 at 6:11 PM > To: Matt Glasser <glass...@wustl.edu> > Cc: HCP Users <hcp-users@humanconnectome.org> > Subject: Re: [HCP-Users] geodesic-distance > > I thought they were. I was using them from the literature. > Another way I could get those coordinates is from a mask I have mapped to > the surface. How do you get vertex coordinates from the center of an ROI? > > *********************** > Leah Moreno, Ph.D. > Postdoctoral Research Fellow > Division of Experimental Therapeutics > New York State Psychiatric Institute > Department of Psychiatry > Columbia University College of Physicians and Surgeons > 1051 Riverside Dr., Unit 21 > New York, NY 10032 > > > > On May 29, 2016, at 7:06 PM, Glasser, Matthew <glass...@wustl.edu> wrote: > > Try without the commas. > > Peace, > > Matt. > > From: Marta Moreno <mmorenoort...@icloud.com> > Date: Sunday, May 29, 2016 at 6:04 PM > To: Matt Glasser <glass...@wustl.edu> > Cc: HCP Users <hcp-users@humanconnectome.org> > Subject: Re: [HCP-Users] geodesic-distance > > ?44, 40, 29 > > *********************** > Leah Moreno, Ph.D. > Postdoctoral Research Fellow > Division of Experimental Therapeutics > New York State Psychiatric Institute > Department of Psychiatry > Columbia University College of Physicians and Surgeons > 1051 Riverside Dr., Unit 21 > New York, NY 10032 > > > > On May 29, 2016, at 6:59 PM, Glasser, Matthew <glass...@wustl.edu> wrote: > > How did you call the command? > > Peace, > > Matt. > > From: Marta Moreno <mmorenoort...@icloud.com> > Date: Sunday, May 29, 2016 at 5:58 PM > To: Matt Glasser <glass...@wustl.edu> > Cc: HCP Users <hcp-users@humanconnectome.org> > Subject: Re: [HCP-Users] geodesic-distance > > Thanks for answering! > No error message but vertex-list-out is empty > > *********************** > Leah Moreno, Ph.D. > Postdoctoral Research Fellow > Division of Experimental Therapeutics > New York State Psychiatric Institute > Department of Psychiatry > Columbia University College of Physicians and Surgeons > 1051 Riverside Dr., Unit 21 > New York, NY 10032 > > > > On May 29, 2016, at 6:57 PM, Glasser, Matthew <glass...@wustl.edu> wrote: > > What is the error message? > > Peace, > > Matt. > > From: <hcp-users-boun...@humanconnectome.org> on behalf of Marta Moreno < > mmorenoort...@icloud.com> > Date: Sunday, May 29, 2016 at 5:54 PM > To: HCP Users <hcp-users@humanconnectome.org> > Subject: [HCP-Users] geodesic-distance > > Dear users, > > I want to compute the geodesic distance in mm between two vertices using > MNI coordinates as input. I was planing to do: > wb_command -surface-closest-vertex > wb_commands -surface-geodesic-distance > But the first command is not working. > What am I doing wrong? Also, is there any other way? > > Thanks, > > Leah > *********************** > Leah Moreno, Ph.D. > Postdoctoral Research Fellow > Division of Experimental Therapeutics > New York State Psychiatric Institute > Department of Psychiatry > Columbia University College of Physicians and Surgeons > 1051 Riverside Dr., Unit 21 > New York, NY 10032 > > > > _______________________________________________ > HCP-Users mailing list > HCP-Users@humanconnectome.org > 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. > > > > > ------------------------------ > 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 > HCP-Users@humanconnectome.org > 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. > > _______________________________________________ > HCP-Users mailing list > HCP-Users@humanconnectome.org > http://lists.humanconnectome.org/mailman/listinfo/hcp-users > _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users
-44 40 29