The surface labels are independent of the coordinates.
If it is just the tal.xfm, you might be able to convert it to lta (lta_convert), then concatenate with your other reg (mri_concatenate_lta), then convert it back to xfm, but you're on your own after this -- I can't spend time supporting it

On 7/26/2022 12:45 PM, Salar Dini, Elaheh wrote:

        External Email - Use Caution


  Hi Douglas,


  It does. Thank you. Can you also help me with something else? If we
  coregister bunch of volume and surfaces using the same reg.lta for
  one subject, is there a way to safely reflect these changes in label
  files like rh.cortex.label or in transformation fies like
  talairach.xfm? In other words, can we make any changes to
  rh.cortex.label and talairach.xfm from pre co-registeration to make
  them usable with post co-registration files?


  Thanks


  Re: [Freesurfer] Understanding ?h.sphere.reg
  
<https://secure-web.cisco.com/1rk2MKOjpSqMx6O6Gs9J5G611q44zgtkUjxcAkL0cj2Q8DgKYurAHYr5XY-L3Ah1Z4sM-OJxT0FuQO1oUG9I-NIpKEqPHPVHDNpw0MkWkQCkYETeYJ4-FSqcXJkb3Sxe6X0rs2Zhm0bv5uyOgHOe6562W87rx_lR38MQm4f7geeDjJqc-XQ1Siwe8JdOgW1Pvu4W6NcYt-Mioh3rNm5Ke5rt_DDvt75i_I6RhnTg6n30ZIDtp-aE8KYJlMP0L-3nx7jWsJ1r7ICcWLRUesbHCWwlUIL0YPHfSE0vpEtSKWlGG0FJfdqLrou6KtdB-WDzgdlCqe_9KsX_Hmewhp6VLcA/https%3A%2F%2Fwww.mail-archive.com%2Fsearch%3Fl%3Dfreesurfer%40nmr.mgh.harvard.edu%26q%3Dsubject%3A%2522Re%255C%253A%2B%255C%255BFreesurfer%255C%255D%2BUnderstanding%2B%255C%253Fh.sphere.reg%2522%26o%3Dnewest>

Douglas N. Greve <https://secure-web.cisco.com/1ihiy9xLc9u1yyF8DQ1uOVgvZt_RRMNCUkxXo527aY3PFbUXS3sfC31bcx11dGxVlTccZYSThLDEdA1-3FGQ1CRTg7XrTBcJhZLLtaE0sj3xsYQuQhsTIcoXEHc80x65wcAwmwzAQhBjtjU7gSRcvRovhlCWIQpbERg4NaELK39aLmAdyzCW6rcv0uS1vZXVVEKZpjbIClaZc0KvKcon0XBFT2EnE8V8WnmbZFA0Ms_Ajk2yCM4wEA-7EDHvdugmdMATHvEeQPqsHB6ENdIMYKfIMnLuuC5f1jPWqeO-ve2V1a2AkfCiwwnI0UyGL51Wq7nwq4gghSRQwhaImVRrJoQ/https%3A%2F%2Fwww.mail-archive.com%2Fsearch%3Fl%3Dfreesurfer%40nmr.mgh.harvard.edu%26q%3Dfrom%3A%2522Douglas%2BN.%2BGreve%2522>Sun, 24 Jul 2022 19:20:57 -0700 <https://secure-web.cisco.com/1e1fNuakNR9rUdATXJzSZ_w-tcuJBuKAh2t_dACTgCH1j5-4VUvtc5rvIZCJFKOlPbGXowSq_6kruiE2CsHDduor_EB8P0u7msIv7b6emi5-qXTO4AoZNtQTQqDVE11xqp9oDDo4cd6tXFfkSrOTLtWA442PBdZAdcqU7Fd7wz1CHXGUUNHszhAlSZ3AA6c3hbUr_6ixRbFwjz4iXIDW8IMMII2EEUfKEt9AEnXMOhtwsfG9FIw4gw8vk19UKnZvNodvU6bIcdaLavEDXunsu65KfnqeVc0LAfE8Y-qW-DWvTg91JOJFCjU_5sgZdZtPVFYHCUuqrlvYOP4mjqiHUIQ/https%3A%2F%2Fwww.mail-archive.com%2Fsearch%3Fl%3Dfreesurfer%40nmr.mgh.harvard.edu%26q%3Ddate%3A20220724>


The ?h.sphere.reg xyz coordinates are coordinates on the sphere. Toapply a spherical registration, a point on one spherical mesh is mappedto the closest point on the other spherical mesh. not sure if thatanswers your question ...
------------------------------------------------------------------------
*From:* Salar Dini, Elaheh <elaheh.salard...@yale.edu>
*Sent:* Thursday, July 21, 2022 5:26 PM
*To:* Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
*Subject:* Understanding ?h.sphere.reg
Dear freesurfer experts,

I was wondering if ?h.sphere.reg files have any coordinates in space tagged to them? What I actually mean is I'm using TRACULA which itself use the following files from mri and surf folder (all created by running recon-all on T1 image): aparc+aseg.mgz, brain.mgz, brainmask.mgz, orig.mg, T1.mgz and ThalamicNuclei.v12.Ta.FSvoxelSpace.mgzlh.thickness,rh.thickness,lh.white,rh.white,lh.sphere.reg,rh.shere.reg. I have all these files (except ?h.thickness and ?h.sphere.reg) in new coordinates in space created by co-registration. The pipeline we use to create recon-all results is almost the same as freesurfer pipeline with a slight difference in autorecon1 step, so the final results are almost always the same but the coordinate of the brain in 3D space is different, so we usually end up co-register one's reconstruction result (from our pipeline) with oneself T1.nii (come from mri_convert T1.dcm) so the structural mri reconstruction and dwi dcm files are in the same coordinate and can overlay. My understanding is that there is no coordinate tagged to ?h.sphere.reg files in 3D space, rather they are regulatory files which include some information about x,y,z vertices in regard to the surface of a hypothetical sphere (and the xyz are coming from the curvature of one's brain). As a result, I can use ?h.sphere.reg files as they are without any need to make any changes to match my files after they are coregistered. Is my understanding correct?

I'm sorry if my language is not clear enough. I tried my best to describe the situation, but I'm not sure if my description is clear enough.

Thank you for your help and time.
Ela

_______________________________________________
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to