Hi Suchada,
the number of entries in bvals and bvecs should match the number of diffusion-weighted *volumes* in your dataset, it has nothing to do with the number of slices. Your data file should be 4D, with the 4th dimension indicating the diffusion-weighted volumes. If you open the data file with fslview and press the 'i' button, the number of volumes is provided. Is this 42?
Stam
On 11 Oct 2011, at 11:05, Suchada Tantisatirapong wrote:
> Hi,
>
> I'm running FDT diffusion and got the error saying 'Errors: data and bvals/bvecs do not contain the same number of entries'.
> There are 42 DTI slices/subject. I used dcm2nii to convert dicom to nii.gz. dcm2nii generates 42 values in bvals file and 3 x 42 matrices in bvecs file. But FDT still complains about mismatch entries.
>
> Besides, in some of my data set having 55 dicom slices, the dcm2nii could not extract bvals and bvecs from these data set. No bvals and bvecs file generated at all.
>
> Could you please tell me why and how to solve this?
> Thank you so much
> Suchada
>
|