How to anonymize DICOM images?

Hi all,

I wanted to share a no-code solution for pseudonymizing your cases
The whole code and step by step use-guide is here: PanCanAID/Step1_SortingFiles/README.MD at main · Sdamirsa/PanCanAID · GitHub

I know that these days, more people (like me :slight_smile: are working with Dicom, and I also noticed how anonymization can disturb your peace. So, I created this no code Python script, you just need to run it and it will identify dicom studies (each with many .dcm files) and extract dicom meta (I tried to extract all useful studies), assign pseudonymized numbers (defined by you), and then anonymize all dicoms while providing an excel that links new pseudonymized numbers with your patient (I call pseudonymized key). If you don’t want to code, use it. And if you know how to code, you can revise it for your project. You can ask doctors involved in your project to pseudonymize cases even before sharing them with you).

The reason behind this is my problems during the PanCanAID project (I have been working on it for three years now), which contains data from many various centres and CT scans with various metadata.