Hi list,I have read on your mail list that I could use the command line reported below to covert vol to label.I'm confused on the matlab command line.Specifically, if I using an MRS voxel (in native space or MNI, as preferred) located bilaterally of 3.0x3.0x3.0 mm, which are lindex, lxyz, ovals? v = load_mgh('file_created_by_vol_2_surf.mgz'); ind = find(v > threshold); write_label(ind-1, [], v(ind), 'label_file_want_to_create'); Thanks,Stefano
Try using this instead: mri_binarize --i file_created_by_vol_2_surf.mgz --min threshold --o bin.file_created_by_vol_2_surf.mgz mri_cor2label --i bin.file_created_by_vol_2_surf.mgz --id 1 ---l yourlabel.label
On 02/27/2016 06:28 AM, stdp82@virgilio.it wrote:
Hi list, I have read on your mail list that I could use the command line reported below to covert vol to label. I'm confused on the matlab command line. Specifically, if I using an MRS voxel (in native space or MNI, as preferred) located bilaterally of 3.0x3.0x3.0 mm, which are *lindex, lxyz, ovals?*
v = load_mgh('file_created_by_vol_2_surf.mgz'); ind = find(v > threshold); write_label(ind-1, [], v(ind), 'label_file_want_to_create'); Thanks, Stefano
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu