deid: US data corrupted by pixel anonymization

Input is Ultrasound multiframes, decompressed (LittleEndianExplicit), RGB encoded. Output is a scrambled image.

Instructions are very simple:

                client = DicomCleaner(output_folder=output_folder + sub_path, deid='config.txt')
                client.detect(path + '\\' + file)
                client.clean()
                client.save_dicom()

And my config file is also very basic

FORMAT dicom

%filter graylist

LABEL Philips Ultrasound Header
    contains Manufacturer Philips
    + contains Modality US
    + contains ImageType Cardiology
    coordinates 0,0,1024,23

This is an input/output example. It is affecting all of the multiframes in the dataset: https://imgur.com/a/GF7ZO2w

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (10 by maintainers)

Most upvoted comments

Just the dicom on its own

Could you maybe make an empty dicom of that type and add the pixel data and tags to it? That would work!

I can share the pixel data and other tags you may need - but not the whole dicom (I do not own the data)