hmm, not sure what's going on. Can you also send the output of mri_info?
If you try to load the file as an overlay in tksurfer does it work?
On Sat,
11 Jul 2009, Lars M. Rimol wrote:
Hi Bruce,
Yes, mri_info works on all these files, and it states that it's an mgh file and
the dimensions look allright and it says: type FLOAT (3).
Here's the output for the left hemisphere (with command line)
[...@localhost area]$ mri_surf2surf --s fsaverage --sval
/home/lmr/subjects/analysis/TOP_sm100_lh_cc2_11072009.mgh
--hemi lh --fwhm 30 --tval
/home/lmr/subjects/analysis/TOP_sm100.s30_lh_cc2_11072009.mgh
srcsubject = fsaverage
srcval =
/home/lmr/subjects/analysis/TOP_sm100_lh_cc2_11072009.mgh
srctype =
trgsubject = fsaverage
trgval =
/home/lmr/subjects/analysis/TOP_sm100.s30_lh_cc2_11072009.mgh
trgtype =
surfreg = sphere.reg
srchemi = lh
trghemi = lh
frame = 0
fwhm-in = 0
fwhm-out = 30
label-src = (null)
label-trg = (null)
Reading source surface reg /home/lmr/subjects/fsaverage/surf/lh.sphere.reg
Loading source data
mghRead(/home/lmr/subjects/analysis/TOP_sm100_lh_cc2_11072009.mgh,
-1): could not open file
ERROR: could not read
/home/lmr/subjects/analysis/TOP_sm100_lh_cc2_11072009.mgh
as type 3
yours,
LMR
Date: Sat, 11 Jul 2009 13:42:03 -0400
From: fis...@nmr.mgh.harvard.edu
To: lari...@gmail.com
CC: freesurfer@nmr.mgh.harvard.edu
Subject: Re: [Freesurfer] cannot read file as type 3
Hi Lars,
can you send us the whole command line and output? I think type 3 is an
MGH/MGZ file. Does mri_info work on it properly?
cheers
Bruce
On Sat, 11 Jul 2009, Lars
M. Rimol wrote:
Hi,
What does it mean when mris_surf2surf produces the error message that the input file
cannot be read "as type 3" ?
The file is an .mgh which I converted from an .mgz using mri_convert
(mri_convert oldfile.mgz newfile.mgh). I get the same error when I use the .mgz
file.
Thank you!
yours,
LMR
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer