Data Anonymization

Learn to anonymize data from DICOM images.

We'll cover the following

How to anonymize data

When working with patient images, it is necessary to anonymize the files. An example of anonymization is when we transfer images to doctors for marking. The easiest way is to anonymize is to use a ready-made function called remove_private_tags().

  • We can remove the meta tag using the delattr().
  • We can change the image tag using data_element().value and then save the new file.

Get hands-on with 1200+ tech skills courses.