External Email - Use Caution Hi Yujing, Thank you so much for your help. It works well! Cheers, Rosie
At 2024-03-01 21:39:02, "Huang, Yujing" <yhuan...@mgh.harvard.edu> wrote: Hi Rosie, Are you trying to combine all volume files (.nii.gz) into one single volume by stacking all frames? Maybe you should use Freesurfer mri_concat instead of mrcalc? Here are the help pages for mri_concat and mri_vol2surf: https://secure-web.cisco.com/1tLcusmOJJpls_HMuxOKJJmKCYKR_Ppkbo1C4mLApp-4lMHJJZZmI5AxGitZB_66ceS4m-V2l061ljcKGhq9CDUUYwYv-a3-02omLvfID7wnNVDTR6tE0T-bByxfKTxx30WZjrfEe_pdotF4yJhzco8WClGA4jHwBnP2e14rAs4SMWyX_A4lSuDrlTwYRKKSPFHc-SeFfrATCZ8wvGS002wN3wtfO1ZRKcNpvJGOigMWut_k2lhBA0mZhpJr6AIJsuy_qdipPmBj-eKpnUYTkmwfNg1SUygQINgtq2S8tWGubL00W-kqDVc6jkQ58g1PeWYdHMZlksAA_TuQMpiKIuQ/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2Fmri_concat https://secure-web.cisco.com/1dNBwTwslJ7ddeVw34J9pR8X5ecwtAz43umMNRC7GAnKcRahGL-UVWskpllrdKewG4AYAFvAXIgfwU1T7aO_LHzGgcFpSTMlEc8Ckg6yRdzcRyevZpOylpL9Y__-Svc9B8e8t-rZ6GBjL3mDaLA2311F46wwzrSHN_1uHxm3bRXf4s-rxoqVtdsu4z_j-aX3xV8HLbKmreqbFXig5GNwjPPPaoX3GSjKORDETG3Cxag_TaPe3CAdtakPR2SzPwFu75MNgyagNPyIiXWfjO93Jc4PPOCtNujAN6kagk8EONvyGeG_pW5UgdWGfUDMqODDX-0iKRIJccme5pIpaEjhjuQ/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2Fmri_vol2surf Best, Yujing From: freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> On Behalf Of Rosie Sent: Thursday, February 29, 2024 10:55 PM To: freesurfer@nmr.mgh.harvard.edu Subject: [Freesurfer] Assistance Request: Issue with Merging .mgh Files in Ubuntu18 External Email - Use Caution Dear Support Team, I'm reaching out for assistance with merging two .mgh files. As I try to generate a surface mapping for all subjects, I merged all volume files (.nii.gz) by mrcalc. So I get a volume file whose voxel value represents the number of valid subjects. And then I convert it to .mgh using mri_vol2surf. But the value of each voxel seems to be thrown out. Because I found the max value of .mgh is not the same as .nii file. I guess I should merge files of all subject in mgh format to maintain the number of valid subjects, but it seems to be a volume encoded surface file format. So I don't know how to merge them. I'm working on Ubuntu18. I would be very grateful for your assistance. Best, Rosie
_______________________________________________ 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.