Skip to content
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

More robust DICOM reading #90

Merged

Conversation

mateuszbaran
Copy link
Contributor

I've made a couple of modifications to DICOM.jl to handle poorly anonymized files. This can prevent some crashes, and the IS parsing issue was quite hard to debug. I'm submitting it here in case you think it would be useful to have it in the library.

@notZaki
Copy link
Member

notZaki commented Jun 7, 2024

Thanks!

Any idea why the IS element(s) can't be parsed in those files? Were non-numeric characters added during anonymization?
I'm curious if other dicom readers can parse it.

@mateuszbaran
Copy link
Contributor Author

There was a text inserted during anonymization instead of a number. IIRC pydicom and Slicer read it just fine, keeping the text there. That would also be a valid option instead of converting to 0.

@notZaki notZaki merged commit d37b427 into JuliaHealth:master Jun 7, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants