Hi Camilo

[v,M,p] = load_mgh('wm.mgz');

will load the volume (v) into matlab, in addition to the vox2ras matrix M and the MR parameters p. The .m file is in $FREESURFER_HOME/matlab/load_mgh.m.

cheers,
Bruce


On Fri, 24 Mar 2006 [EMAIL PROTECTED] wrote:

Hi Freesurfer Help,

I am trying to get the wm.mgz file into matlab. Is there a way to change
the mgz into dicom format, or any othe matlab compatible formats?

Thanks,

Camilo


_______________________________________________
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

Reply via email to