yea, you can do something like a = MRIread('aseg.mgz'); rhovol= a; rhovol.vol = zeros(size(rhovol.vol)); lhip = find(a.vol==17); rhovol.vol(lhip) = left_hippo_rho; MRIwrite(rhovol,'rhovol.mgh');
On 12/11/2018 11:41 AM, Conchy PF wrote:
External Email - Use Caution
Dear Greve,
I would like to represent the r values (correlations calculated in Matlab) from specific subcortical regions (hippocampus, for example) in a subcortical segmentation (aseg.mgz), so I can load the aseg.mgz and visualise it using Freeview.
Shall I use MRIRead & MRIWrite to change the values in aseg.mgz? How can I do it?
Thank you and best regards,
Conchy
On Tue, Dec 11, 2018 at 4:18 PM Greve, Douglas N.,Ph.D. <DGREVE@mgh.harvard.edu mailto:DGREVE@mgh.harvard.edu> wrote:
not sure that you are trying to do. An annot is usually used for cortical segmentation, not subcortical On 12/9/18 5:57 PM, Conchy PF wrote:External Email - Use Caution Hello FS experts, I was wondering if there is a command similar to annotval2surfoverlay.m that allows converting subcortical values into aseg.annot subcortical segmentation. Thank you in advance and kind regards, Lisbeth _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu <mailto:Freesurfer@nmr.mgh.harvard.edu> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu <mailto: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