Hi Douglas,

Thanks, that worked. However, for future reference, if it's necessary to keep the original values then put  --no-rev  
 
Thanks
Dorothy

On Tue, May 16, 2017 at 10:31 AM, Douglas Greve <greve@nmr.mgh.harvard.edu> wrote:

Try something like

mris_apply_reg --src overlay4k.mgh --trg overlay1k.mgh --streg surf4k surf1k


On 5/16/17 12:41 PM, Dorothy Sincasto wrote:
Hi Douglas,

I am using the cortical surface for MEG time series reconstruction. I need to know which vertices belong to a specific area, i.e.  vertices that belong to the PCC, AG... I got the surfaces from the HCP which has 4.002 vertices in each subject, then I decimated with mris_decimate 0.25, getting 1.000 vertices. The problem is that the atlas is in this 4.002 vertices space, and I want to downsample it to 1.002. Is there a way to downsample the atlas in an mgh overlay format? 

One work around that I thought is getting the 4k vertices coordinates and the 1k vertices coordinates and find the nearest vertices in the 4k. 

Thanks
Dorothy

On Mon, May 15, 2017 at 6:49 PM, Douglas Greve <greve@nmr.mgh.harvard.edu> wrote:

I don't understand what you are trying to do. Can you elaborate? Sending command lines is always helpful


On 5/15/17 6:50 PM, Dorothy Sincasto wrote:
Hi freesurfers,

I have an overlay with 4k vertices and I want to decimate it to 1k. This overlay is actually an atlas with a label value for each vertex. My surfaces will have 1k vertices and I need the overlay to 1k so I know which areas each vertex belong to. 

I tried to decimate the atlas.mgh but it gives me this error:

ERROR: MRISread: file '/Users/dsinc35/Desktop/projects/parcellation/MMP_atlas_L.mgh' has 0 vertices! Probably trying to use a scalar data file as a surface!

Maybe there is a way to project it?

Any thoughts?

Thanks,

Dorothy



_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.