[Freesurfer] Flattening section of the Cortex

2004-11-12 Thread Ajay Pillai
Hello Everyone, I have the following problem. I have a section/patch of the Cortical Surface (Auditory area.) which I would like to unfold/flatten. The data is in matlab and I have it as vertex and faces of the cortical surface. I know how to write it to a ?h.pial.asc file format from matlab.

[Freesurfer] vertex "area"

2004-11-12 Thread Doug Greve
I have just fixed a bug in FreeSurfer that involves computing the area of some surface structures. For those of you who care, this was a bug that emerged after converting our surface meshes from quadralaterals to triangles. This change was made a few years ago. This change should have little eff

Re: [Freesurfer] functional overlay

2004-11-12 Thread Doug Greve
Actually, I don't know what the first two mean either. I don't think you need them. Once you have the register.dat, then you're ready to go. On Fri, 12 Nov 2004, Joongnam Yang wrote: > Thanks Doug, > > So, > "structural data registration" > "functional data registration" > "co-registration"

Re: [Freesurfer] functional overlay

2004-11-12 Thread Joongnam Yang
Thanks Doug, So, "structural data registration" "functional data registration" "co-registration" have to be done separately? How do I do the first two? The manual is pretty murky on that. Please enlighten me... I am trying to do functional overlay using csurf and there are so many hidden things w

Re: [Freesurfer] functional overlay

2004-11-12 Thread Doug Greve
Tell it to initialize the registration based on the header information. To do this add --regheader to the command-line. Once the register.dat exists, do not use --regheader unless you want to overwrite your results. On Fri, 12 Nov 2004, Joongnam Yang wrote: > Thanks Doug, > > When I run >

Re: [Freesurfer] functional overlay

2004-11-12 Thread Joongnam Yang
Thanks Doug, When I run tkregister2 --targ structuralimage --mov functionalimage --reg register.dat I got the following error. == target volume X.img movable volume XX.img reg file register.dat LoadVol1 $Id: tkregister2.c,v 1.22 2003/11/05 21:30:50 gr

Re: [Freesurfer] functional overlay

2004-11-12 Thread Bruce Fischl
I'll leave this for Doug. Bruce On Fri, 12 Nov 2004, Joongnam Yang wrote: > Hi Bruce, > > I co-registered functional and structural images using SPM, the results of > which looked normal. > Then, I used spmmat2register to produce register.dat file. > But "register.dat" contained only following tw

Re: [Freesurfer] functional overlay

2004-11-12 Thread Doug Greve
Use tkregister2 to create the register.dat. Run it with --help to get more info. spmmat2register is obsolete. doug On Fri, 12 Nov 2004, Joongnam Yang wrote: > Hi Bruce, > > I co-registered functional and structural images using SPM, the results of > which looked normal. > Then, I used spmmat

Re: [Freesurfer] functional overlay

2004-11-12 Thread Joongnam Yang
Hi Bruce, I co-registered functional and structural images using SPM, the results of which looked normal. Then, I used spmmat2register to produce register.dat file. But "register.dat" contained only following two lines. subjectname 0.3000 It is supposed to have 8 lines. Could you guess what we