Re: [Freesurfer] Registration and Surface Flattening

2014-05-27 Thread Bruce Fischl
Hi Qiongmin why are you trying to read the patches into matlab? Also, can you send us your full matlab command that generated the error? Sounds like you passed the incorrect file name cheers Bruce On Tue, 27 May 2014, Caka wrote: Thank you Bruce, I convert the fsaverage flat map into a

[Freesurfer] Registration and Surface Flattening

2014-05-27 Thread Caka
Thank you Bruce, I convert the fsaverage flat map into a ascii file, using: mris_convert -p lh.cortex.patch.flat lh.cortex.patch.flat.asc. Now I need to read these two files. (1) I used read_patch.m to read lh.cortex.patch.flat. But an error came out, it said ‘ Error using ==> read_patch a

Re: [Freesurfer] Registration and Surface Flattening

2014-05-26 Thread Bruce Fischl
Hi Qiongmin 1. I think this is a bug in the open GL code that is outside of our control. We will try to track it down 2. The flat maps aren't really any different than say the inflated fsaverage surface. If you can generate group (or individual maps) in fsaverage space you can display them o

Re: [Freesurfer] Registration and Surface Flattening

2014-05-26 Thread Caka
Dear Bruce, Doug and all, Thanks for your suggestion, it helped a lot. (1) I load the fsaverage surface (lh.inflated) in tksurfer, and then load the fsaverage patch (lh.cortex.patch.flat). The flat map was shown for several seconds, and then an error occurred and tksurfer was shut down. The ter