Yep, that the reconstructed dti from siemens - each value is a direction weighted by the FA - conversion to niifi with dcm2niix
--
Dr Cyril Pernet,
Senior Academic Fellow
Neuroimaging Sciences
Centre for Clinical Brain Sciences
Chancellor's Building, Room GU426D
The University of Edinburgh
49 Little France Crescent
Edinburgh BioQuarter EH16 4SB
[log in to unmask]
tel: +44 (0)131 465 9530
http://www.sbirc.ed.ac.uk/cyril
http://www.ed.ac.uk/edinburgh-imaging
-----Original Message-----
From: Flandin, Guillaume <[log in to unmask]>
Sent: 21 November 2019 15:14
To: PERNET Cyril <[log in to unmask]>; [log in to unmask]
Subject: Re: [SPM] spm_slice_vol - unknown datatype
Dear Cyril,
Data type 128 corresponds to NIFTI_TYPE_RGB24. How did you convert the image to NIfTI? Do you have any reason to expect multiple values per voxel for these data?
Best regards,
Guillaume.
On 21/11/2019 14:46, PERNET Cyril wrote:
> Dear Guillaume, John, .
>
>
>
> Hope you can advice a work around this one ..
>
>
>
> spm_coreg(V(T1w),V(some Siemens reconstructed image), flags) returns
> an error due to data type (dt [128 0])
>
>
>
> Error using spm_slice_vol
>
> Unknown datatype.
>
>
>
> Error in spm_coreg>loaduint8 (line 238)
>
> img = spm_slice_vol(V,spm_matrix([0 0 p]),V.dim(1:2),1);
>
>
>
> Error in spm_coreg (line 141)
>
> VFk.uint8 = loaduint8(VFk);
>
>
>
> spm_vol returns
>
>
>
> V =
>
>
>
> struct with fields:
>
>
>
> fname: 'xxxx_DTI_ColFA_echo1.nii'
>
> dim: [128 128 74]
>
> dt: [128 0]
>
> pinfo: [3×1 double] ß[1 0 NaN]
>
> mat: [4×4 double]
>
> n: [1 1]
>
> descrip: 'TE=0;Time=112056.083;phase=1'
>
> private: [1×1 nifti]
>
>
>
> Thx
>
> Cyril
>
>
>
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|