-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Siemens XA partial volumes in 4D datasets #742
Comments
@Jolinda can you test the latest commit to the development branch and close this issue if it resolves your issue.
This commit will read the extended ICE_dims[20] (0021,118e) to determine the number of frames specified by the sequence. If this differs from the number of frames (0028,0008) stored. If these values differ:
|
Tested, works perfectly. |
Hi @neurolabusc, I think we are running into an unintended side effect of this for XA30 DICOM stored in classic mode. (Not recommended, I know, but many hospital systems still aren't compatible with enhanced.) Some time back our local (but different building) scanner quietly switched from sending enhanced to classic DICOM, and the visible symptom is warning messages from dcm2niix like
(1 per slice) and the series number being incremented by 1000, which is the problem we actually care about. Otherwise the output is fine. We are also receiving non-enhanced DICOM from a different XA30 site, and for that we don't get the problem. It does give the earlier issue 236 warning, but that's OK:
Interestingly, we are not receiving the number of frames (0028,0008) tag from either site. Locally we are getting
...which matches the 81 slices and supports the pattern you guessed at above. But we are not getting (0021, 118e) from the working site. It seems like two wrongs are better than one here, since both things being missing appear to stop the comparison from going ahead. Neither site appears to be overanonymized; as far as I can tell the presence or absence of (0021, 118e) and/or (0028, 0008) is a vagary of the various XA30 options. Is it possible to refine the partial volume check in this issue so it only triggers on definite evidence of missing slices, instead of uncertainty? From trying different dcm2niix versions, this behavior appeared sometime between 2022-10-13 and 2024-02-02, which is consistent with this issue. |
Hi! I'm pretty new to fMRI analysis and ran into the same issue that gave me the warning: "Series 10 includes partial volume (issue 742): 35 slices acquired but ICE dims (0021,118e) specifies 48". So did I understand correctly that when using dcm2niix -i y, this partial volume is simply discarded, which is not critical anyway for my analysis? Thanks! Annika |
Disable XA partial vol detection for single slice files (#742)
Closed with PR 814 |
For 4D timeseries (T2* fMRI, DWI) Siemens XA enhanced format DICOM will generate one file for each 3D volume. However, if the series is interrupted, a valid DICOM is generated with fewer slices than other images in the series. For example, for a fMRI series with 48 slices, all complete volumes might report:
However, if the series is interrupted, the final volume might only save six slices:
Since NIfTI requires each volume in a 4D series have the same number of slices, dcm2niix will currently save the data as two files: one 4D image with 48 slices and one 3D image with 6 slices. However, this requires one of the images gets the
a
suffix appended to the filename to avoid name clashes. However, since the images are tied, one can not be certain if the complete or partial volumes will get the suffix. A better solution would be to discard partial volumes. There are two solutions:ICE_Dims (0021,118e) appears to store the number of slices for a complete acquisition (e.g. 48). This is a good solution if this is the consistent usage of this array element:
The text was updated successfully, but these errors were encountered: