-
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
Error during conversion : slices not stacked #239
Comments
dcm2niix should parse valid icons without problem. My best guess is that this image was corrupted by a PACS system running an obsolete version of GEIIS. This software would insert an icon image that is incompatible with the DICOM standard. The latest versions of dcm2niix have a couple kludges to handle these DICOM-like images, but it is hard to detect these in all cases without causing problems with legitimate Enhanced DICOM images. In particular, the issue can be compounded if the data is later saved with an implicit VR. I note one of your tags refers to a vendor that no longer exists (
|
@stity my most recent code includes a patch that might work - it attempts to ignore the private SQ 07a3,10ce. You might want to check the providence of your data and see how that SQ got injected - the other images in your set use the normal SQ for icons. Without seeing your data, I am not sure my kludge will work, but it should be close. I do think this reveals a limitation of your images, and not my software. I have never had this reported, but since ELSCINT no longer exists, it may be hard to get vendor support. |
@neurolabusc Unfortunately I can't share my dataset. I tried to build and run from your latest code and it worked. Are you planning on doing a release soon ? |
There will be a new stable release when issue 240 is closed. |
I ran into what seems a bug during the conversion of a DICOM series.
Encountered behavior
One of the slices was excluded from the series with the following error :
Two files are created.
Expected behavior
There should be only one file
Likely root cause of the problem
After a bit of investigation among the DICOM tags we did the following findings:
Rows
,Columns
,Bits Allocated
,Bits Stored
tags are identical in the main sectionRows
,Columns
,Bits Allocated
,Bits Stored
can be different in what seems to be a thumbnail stored in the DICOM file inside a Sequence TagTags of a "normal" slice :
Tags of the left out slice :
Proposed solution
dcm2niix should ignore the tags in sub sequences and see that the two images have the same size
The text was updated successfully, but these errors were encountered: