Re: [Freesurfer] A question about spherical registration

2014-10-04 Thread Reza Rajimehr
Hi Doug, Before I saw your response, I modified make_average_surface code by removing -annot aparc flag in the mris_make_template command within this code, and my script worked fine all the way to the end without any error. The change you made in make_average_surface would be useful in future. Ju

Re: [Freesurfer] A question about spherical registration

2014-10-03 Thread Douglas N Greve
It is trying to use the annotation when making the registration tif. This is hard coded in your version of make_average_surface. I've attached a new version. Run it with --no-annot. Let me know if it works and I'll check it into our distribution doug On 10/02/2014 12:00 AM, Reza Rajimehr w

Re: [Freesurfer] A question about spherical registration

2014-10-01 Thread Reza Rajimehr
Hi Doug, Step 1 did not generate "/iter00/lh.reg.template.tif" - though there was no obvious error for that on the screen. Not sure if this happened because of not having an annot file for mris_make_template. Here is what I saw on the screen: %% /usr/local/freesurfer/bin/make_average_surf

Re: [Freesurfer] A question about spherical registration

2014-09-25 Thread Douglas N Greve
oops, sorry, that should have been sphere not sphere.reg On 09/25/2014 01:35 PM, Reza Rajimehr wrote: > Thank you Doug for your comprehensive response. This looks clear, and I am > going to try it out. Just one question for now: > > In step 1 (create a template from a single subject), I do not yet

Re: [Freesurfer] A question about spherical registration

2014-09-25 Thread Reza Rajimehr
Thank you Doug for your comprehensive response. This looks clear, and I am going to try it out. Just one question for now: In step 1 (create a template from a single subject), I do not yet have "sphere.reg". Should I write "--surf-reg sphere"? make_average_surface --subjects $subjectlist[1] \

Re: [Freesurfer] A question about spherical registration

2014-09-25 Thread Douglas N Greve
Hi Reza, I think that this should work. doug set subjectlist = (subject1 subject2 ...) 1. Create a template from a single subject make_average_surface --subjects $subjectlist[1] \ --out iter00 --template-only --surf-reg sphere.reg 2. Register each subject to this template, including first s

[Freesurfer] A question about spherical registration

2014-09-19 Thread Reza Rajimehr
Hi, I have a question about spherical registration, and I couldn't find a relevant answer in the mailing list. I have two subjects S1 and S2 with corresponding functionals. I want to show the functionals of each subject on the surfaces of the third subject S3. I have .sphere files for S1, S2, and