Re: [Freesurfer] mri_convert failure

2009-01-15 Thread Bruce Fischl
no problem, thanks for tracking it down. Bruce On Thu, 15 Jan 2009, Ian Malone wrote: The file is the right size, however further investigation shows that vox_offset in the .hdr file was (incorrectly) non-zero; equal to 1, so mri_convert is correct in skipping one byte at the start. Sorry f

Re: [Freesurfer] mri_convert failure

2009-01-15 Thread Ian Malone
The file is the right size, however further investigation shows that vox_offset in the .hdr file was (incorrectly) non-zero; equal to 1, so mri_convert is correct in skipping one byte at the start. Sorry for the fuss. Ian Douglas N Greve wrote: Can you verify that the file is the right siz

Re: [Freesurfer] mri_convert failure

2009-01-14 Thread Douglas N Greve
Can you verify that the file is the right size? Ian Malone wrote: Hi, I'm finding that mri_convert produces a read error when trying to convert some short analyze files to mgz, invoked as the following: mri_convert -it analyze -i `pwd`/reslice/00125-003-1.img -o reslice/mni.mgz The output

Re: [Freesurfer] mri_convert failure

2009-01-14 Thread Bruce Fischl
Hi Ian, do you have a .hdr file for both of them? A .mat? cheers, Bruce On Wed, 14 Jan 2009, Ian Malone wrote: Hi, I'm finding that mri_convert produces a read error when trying to convert some short analyze files to mgz, invoked as the following: mri_convert -it analyze -i `pwd`/reslice/

[Freesurfer] mri_convert failure

2009-01-14 Thread Ian Malone
Hi, I'm finding that mri_convert produces a read error when trying to convert some short analyze files to mgz, invoked as the following: mri_convert -it analyze -i `pwd`/reslice/00125-003-1.img -o reslice/mni.mgz The output contains (the dimensions shown are correct): ERROR: premature end of f

Re: [Freesurfer] mri_convert failure

2007-02-04 Thread Bruce Fischl
Hi Joan, what exactly are you trying to do? You should be able to specify the cc, wm and pons points to mri_fill without having to synthesize another hemi. Bruce On Sun, 4 Feb 2007, Joan Fisher wrote: Hi all -- I have edited an anatomical volume (using AFNI's 3dcalc and 3dLRflip commands)

Re: [Freesurfer] mri_convert failure

2007-02-04 Thread Nick Schmansky
Joan, Try using the flag "-it brik" or "-it afni". The "--help" flag to mri_convert lists all its options. Nick On Sun, 2007-02-04 at 14:07 -0600, Joan Fisher wrote: > Hi all -- > I have edited an anatomical volume (using AFNI's 3dcalc and 3dLRflip > commands), and the final volume looks good

[Freesurfer] mri_convert failure

2007-02-04 Thread Joan Fisher
Hi all -- I have edited an anatomical volume (using AFNI's 3dcalc and 3dLRflip commands), and the final volume looks good. My reading is that mri_convert should not have trouble recognizing an afni BRIK file. However, the error is: unknown file type for file ... (The original Volume+orig.BRIK