You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After testing with the DICOM folder the user provided, I found that MRScaleSlope/MRScaleIntercept have more than one value.
Debugger at line 625 of spm_dicom_convert shows:
K>> Headers{1}.MRScaleSlope
ans =
147 109 39 59
K>> Headers{1}.MRScaleIntercept
ans =
0 0 0 0
This is not handled in the function, it causes the following error:
** Error: Line 625: /
** Matrix dimensions must agree.
**
** Call stack:
** >spm_dicom_convert.m>WriteVolume at 625
** >spm_dicom_convert.m>ConvertStandard at 246
** >spm_dicom_convert.m at 72
@gllmflndn I'll send you the DICOM folder by email (this is not public data).
A user reported this bug on the Brainstorm forum:
https://neuroimage.usc.edu/forums/t/import-mri-error/37412
After testing with the DICOM folder the user provided, I found that MRScaleSlope/MRScaleIntercept have more than one value.
Debugger at line 625 of spm_dicom_convert shows:
This is not handled in the function, it causes the following error:
@gllmflndn I'll send you the DICOM folder by email (this is not public data).
Related to this commit:
5ea021b
The text was updated successfully, but these errors were encountered: