Re: [Freesurfer] Fwd: a question on flat surface

2014-05-10 Thread peng
Thank you Bruce. I can load it as patch as you suggested. I can also load the curvatures to color it. Thus I imagine in the data, there would be 2D locations of the vertices, and their indices respect to the full surface. Is it true? How can I read this information (e.g. into matlab) ? Thanks

Re: [Freesurfer] Fwd: a question on flat surface

2014-05-10 Thread Bruce Fischl
Hi Peng we provide matlab code (read_patch.m) for reading patches and for reading patches converted to ascii format (read_patch_asc.m). You can use mri_convert to generate the ascii format cheers Bruce On Sat, 10 May 2014, peng wrote: Thank you Bruce. I can load it as patch as you

Re: [Freesurfer] Fwd: a question on flat surface

2014-05-10 Thread peng
Great, Thank you Bruce! On Sat, May 10, 2014 at 3:09 PM, Bruce Fischl fis...@nmr.mgh.harvard.eduwrote: Hi Peng we provide matlab code (read_patch.m) for reading patches and for reading patches converted to ascii format (read_patch_asc.m). You can use mri_convert to generate the ascii

[Freesurfer] Fwd: a question on flat surface

2014-05-09 Thread peng
More information, error from tksurfer is as following: MRISalloc(16711682, 480): could not allocate vertices Cannot allocate memory -- Forwarded message -- From: peng prio...@gmail.com Date: Fri, May 9, 2014 at 1:01 PM Subject: a question on

Re: [Freesurfer] Fwd: a question on flat surface

2014-05-09 Thread Bruce Fischl
Hi Peng the flat maps are stored in a different format than the surfaces, called a patch format (since they are only a piece of the whole surface - not the entire thing). You can load them with file-load patch in tksurfer. Not sure about freeview, perhaps Ruopeng can comment? cheers Bruce