Hi Nick,
The file looks fine in mri_info and it is convertible to mgz. If I convert it to Analyze (which I can view using fslview) the mri_vol2surf command works. Happy to send the files along if they would be helpful.
I was trying to get a rough approximation of MNI152 space group results projected onto the average surface by registering the volumetric group results with FS's mni305 template and using an identity reg.dat as the srcreg. I have done this but the results look wrong. I have checked the registration of the group results to the mni305 template. Is there anything else I could check? Should I be doing this differently?
Cheers,
-Morgan
Nick Schmansky wrote:
Morgan,
I'm not so sure this is a float2int problem (but Doug may be able to answer when he gets back next week). Can you read that .nii.gz file with mri_info? Can you convert it to, say, an .mgz file using mri_convert? The error message looks like it can't interpret the file as a NIFTI file (the preceeding float2int message being misleading in this instance, I think).
Nick
On Tue, 2007-05-29 at 23:27 +0100, Morgan Hough wrote:
Hi there,
I am trying to interpolate a volume of tstats to the average surface with mri_vol2surf but I am getting the error below. Does mri_vol2surf take all the inputs that mri_convert takes? Is this a float2int problem mentioned in the bugs section of the --help? If the latter, what argument should I specify with --float2int? Thanks in advance for your time.
Cheers,
-Morgan
mri_vol2surf --src vbm_results_mni305_tl.nii.gz --trgsubject average --hemi lh --surf inflated --surfreg lh.sphere.reg --out lh.vbm_surf_results.mgh --srcreg reg.dat srcvol = vbm_results_mni305_tl.nii.gz srcreg = reg.dat srcregold = 0 srcwarp unspecified surf = inflated hemi = lh trgsubject = average surfreg = lh.sphere.reg interp = nearest float2int = round INFO: float2int code = 2 niiRead(): error opening file /home/fs11/mhough/Research/SOS/vbm_interp_results/vbm_results_mni305_tl.nii.gz ERROR: could not read vbm_results_mni305_tl.nii.gz as type 24 _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer