pydicom / deid

best effort anonymization for medical images using python
https://pydicom.github.io/deid/
MIT License
145 stars 44 forks source link

fixing save for compressed data #67

Closed vsoch closed 6 years ago

vsoch commented 6 years ago

This will close #65 by doing a check for compressed data, and if compressed, we use dicom.decompress() to adjust the Transfer Syntax. Discussion and help from @scaramallion is shown here https://github.com/pydicom/pydicom/issues/738#issuecomment-421581350.

I have also updated headers (date for 2018) and fixed an issue with showing the version to close #66. @

@fimafurman we are ready for testing! Note that this compressed data doesn't load in my goto viewer (normally brain images I use mricron) but dropping into Papaya worked like a charm!

image

fimafurman commented 6 years ago

Tested, verified - thank you!

vsoch commented 6 years ago

https://pypi.org/project/deid/0.1.17/