Open Maturin opened 7 years ago
Hello Maturin! Sorry about the late reply. I understand that you may not be able to share the sample DICOM file due to privacy issues, but perhaps you could be able to share a screenshot of the last part of the DICOM file loaded in a DICOM dump type of program?! (the part which ruby-dicom misinterpretes)
Use for example this tool: https://rawgit.com/chafey/dicomParser/master/examples/dumpWithDataDictionary/index.html
Ruby DICOM fails reading files, which have more data after a pixel data sequence. As far as I know storing additional tags after the pixel data is not recommend by the DICOM standard but not prohibited. In fact GE cardiac ultrasound systems does it for private data.
@dicom : I am working on getting you some example data. I have to clarify, if I can share it. Anyway, it is too big to simple put it into the repository.
I have a fix already 95e4c11. On the one hand can you have a look at my change on the other hand can you point me to where I can add a test for the change?