deid

Anonymization for medical images using python

A Python module intended for basic coding of medical images, which means “cleaning” image headers and pixel data. It can anonymize header data based on a specific logic of replacing, blanking, removing, or through use of a custom function. Pixel data can be blacked out based on header logic. All of the above can use defaults (blacklist, whitelist, graylist), or custom logic