This error message is all the data I get.At first I thought it was because the indices were int16 and the data was int32, but when I change them to match I get an "Incompatible class types" error.And when I try to display the dcm2nii nifti I get a "foo.img cannot be resampled" warning, followed by a "wrong handle dimentions" error if I click anywhere in the view windows.
Opher Lubzens
--- On Mon, 1/5/09, John Ashburner <[log in to unmask]> wrote:
> From: John Ashburner <[log in to unmask]>
> Subject: Re: [SPM] mat2file DICOM conversion error
> To: [log in to unmask]
> Date: Monday, January 5, 2009, 8:11 PM
> Was there anything more to the error message? Also, what
> sort of errors does
> SPM produce when you try to use NIfTI files generated by
> dcm2nii ?
>
> Best regards,
> -John
>
> On Sunday 04 January 2009 11:19, Opher Lubzens wrote:
> > Hello, I've been trying to import an inplane
> anatomy that I have in DICOM
> > format into nifti using the SPM5 native DICOM import
> function.
> > Unfortunately I get a "Subscripted assignment
> dimension mismatch (2)" error
> > from mat2file, and I can't understand the
> mat2file.c code, since my copy
> > doesn't include documentation.Does anyone know of
> solution to this problem?
> >
> > Opher Lubzens
> >
> > PS.I've tried using dcm2nii but SPM was unable to
> read the resulting nifti.
|