Juergen,
Are the two subjects different surfaces? If so, then its likely they have differing numbers of vertices. You can check using mris_info. You can use mri_surf2surf to sample one subject onto another to achieve an equivalent number of surface vertices. See mri_surf2surf --help.
Nick
On Wed, 2007-09-12 at 11:16 +0200, Juergen Haenggi wrote:
Dear Bruce, dear Freesurfer users
Thanks a lot for the advice. But when using mri_concate in order to average the volumes, there is the following error: "Error: dimension mismatch" between the lh.volume files of the subjects.
We used following syntax:
[thickness, f] = read_curv('lh.thickness') ; [area, f] = read_curv('lh.area') ; volume = thickness .* area; write_curv('lh.volume', volume, nfaces);
mri_concat --i Subjects_*_Kopie/surf/lh.volume --o average_lh_volume --mean
ERROR: dimension mismatch between Subjects_Control01_Kopie/surf/lh.volume and Subjects_Control02_Kopie/surf/lh.volume
Thanks in advance Best regards Juergen
On 11.9.2007 23:24 Uhr, "Bruce Fischl" fischl@nmr.mgh.harvard.edu wrote:
read_curv will return that also:
[thickness_vector, nfaces] = read_curv('lh.thickness') ;
I'm a bit worried that you have a dimension mismatch. That shouldn't happen.
Bruce
On Tue, 11 Sep 2007, Juergen Haenggi, Psychological Institute wrote:
Dear Freesurfer users
I computed ?.volume files by using several commands sent by Bruce. Instead of using the save_mgh.m command, which not really worked because there was a dimension mismatch later when using mri_concat, we used write_curv.m. I need the number of faces in the surface to write ?h.volume files. Where can I get these numbers? Is it the file called f created in the Matlab current directory after running read_curv multiplying area times thickness, and write_curv?
Thanks in advance Best regards Juergen Haenggi
Juergen Haenggi Ph.D. (Dr. des.) Division of Neuropsychology Institute of Psychology University of Zurich Binzmuehlestrasse 14, PO Box 25 8050 Zurich, Switzerland 0041 44 635 73 97 (phone office) 0041 76 445 86 84 (phone mobile) 0041 44 635 74 09 (fax office) BIN 4.D.04 (office room number) j.haenggi@psychologie.uzh.ch (email) http://www.psychologie.uzh.ch/neuropsy/ (website) http://www.juergenhaenggi.ch (private website)
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Juergen Haenggi Ph.D. (Dr. des.) Division of Neuropsychology Institute of Psychology University of Zurich Binzmuehlestrasse 14, PO Box 25 8050 Zurich, Switzerland 0041 44 635 73 97 (phone office) 0041 76 445 86 84 (phone mobile) 0041 44 635 74 09 (fax office) BIN 4.D.04 (office room number) j.haenggi@psychologie.uzh.ch (email) http://www.psychologie.uzh.ch/neuropsy/ (website) http://www.juergenhaenggi.ch (private website)
------ End of Forwarded Message
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer