External Email - Use Caution Hi Haley
I'm not sure I understand how you ran SynthSeg in matlab, but we supply .m files for reading/writing volumes (MRIread and MRIwrite). You probably want to read in the existing aseg to get the header, then replace the data with the segmentation you want and then write it out Cheers Bruce -----Original Message----- From: freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> On Behalf Of Haley O Higginbotham Sent: Friday, August 25, 2023 11:06 PM To: freesurfer@nmr.mgh.harvard.edu Subject: [Freesurfer] Import Matlab SynthSeg labels to FS External Email - Use Caution Hi, I experienced issues with segmentation (exclusion of large portion of cerebellum) and so used SynthSeg in Matlab (as the built-in mri_synthseg in freesurfer wasn’t working on my computer) to create the segmentation. Does anyone know how to import the resultant 3D categorical array containing the labels back into freesurfer (for the sake of further manipulating it in freeview and replacing the aseg file)? Best, Haley _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1O9U-l8rQMnLgUIorrDaC3ZH-I-kMSFXrFzKKjnh06D_LWZQqAoeJB654FjufofcUnnQpbMOPTZlAJbIAKETgLZ6dzH1DFul3Zn3sa_lb9O9cK-Gwr1Gqbicbz_h23rQgHPHBstQRrJpdTKUGpV40wUVOG9Ye1FEqDN9nABUtbW6NG7dSH6_4VYjlMpBCnTOuw6NAsZYdRJH3wtaI2UL1klEGO8R2mHkhTGI0wSTlz21ICZLQNCM3MsJ9WTXU637zN1IStzmpCb7QHSWd12fypw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer _______________________________________________ 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.