Hi,
I have been trying to plot flattened cortex surfaces using MATLAB but have been unsuccessful so far.
After flattening the cortex in freesurfer, I convert in into an ascii file by using: mris_convert -p label1.flat label1.flat.asc
But then fail to read the *.asc file as a patch in MATLAB using the read_asc.m from the Freesurfer MATLAB toolbox. Are there any other MATLAB codes to read and plot the *.flat.asc files ?
Thank you.
Shriks
Share files, take polls, and discuss your passions - all under one roof. Go to http://in.promos.yahoo.com/groups
Hi Shriks,
use read_label.m after you've converted to a label (or use mris_convert to convert to an ascii surface and use your own reading utility - I don't think we have one).Or use read_patch.m in the native patch format.
cheers, Bruce
On Tue, 1 Apr 2008, SHRIKANTH KULASHEKHAR wrote:
Hi,
I have been trying to plot flattened cortex surfaces using MATLAB but have been unsuccessful so far.
After flattening the cortex in freesurfer, I convert in into an ascii file by using: mris_convert -p label1.flat label1.flat.asc
But then fail to read the *.asc file as a patch in MATLAB using the read_asc.m from the Freesurfer MATLAB toolbox. Are there any other MATLAB codes to read and plot the *.flat.asc files ?
Thank you.
Shriks
Share files, take polls, and discuss your passions - all under one roof. Go to http://in.promos.yahoo.com/groups
freesurfer@nmr.mgh.harvard.edu