How does ezDicom deal with bad tags in dicom files? (as in, tags in the wrong sequence or with incorrect length data)
I ask because I have a series of files which only ezDicom seems to be able to open. I'm developing some code using the DCMTK libraries and that fails to open these files, throwing the error:
DcmItem: Dataset not in ascending tag order, at element (0000,0000)
DCMSequenceOfItemsL Parse error in sequence, found (adde,efbe) instead of sequence delimiter.
or
DcmItem: Dataset not in ascending tag order, at element (0000,0000)
DcmElement: Unknown Tag & Data(614e,656d) larger (538976314) that remaining bytes in file.
or
Dcm2xml: error (Corrupted Data) reading file:
But ezDicom opens these perfectly. What's your secret?
Thanks,
Mark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
How does ezDicom deal with bad tags in dicom files? (as in, tags in the wrong sequence or with incorrect length data)
I ask because I have a series of files which only ezDicom seems to be able to open. I'm developing some code using the DCMTK libraries and that fails to open these files, throwing the error:
DcmItem: Dataset not in ascending tag order, at element (0000,0000)
DCMSequenceOfItemsL Parse error in sequence, found (adde,efbe) instead of sequence delimiter.
or
DcmItem: Dataset not in ascending tag order, at element (0000,0000)
DcmElement: Unknown Tag & Data(614e,656d) larger (538976314) that remaining bytes in file.
or
Dcm2xml: error (Corrupted Data) reading file:
But ezDicom opens these perfectly. What's your secret?
Thanks,
Mark
PS. and when ezDicom does open these files, the offending tags are not shown.