Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anonymize pixel data #222

Open
RobinFrcd opened this issue Sep 27, 2022 · 2 comments
Open

Anonymize pixel data #222

RobinFrcd opened this issue Sep 27, 2022 · 2 comments

Comments

@RobinFrcd
Copy link
Contributor

RobinFrcd commented Sep 27, 2022

Hello,
I'd like to anonymize pixel data in my dicom file.

If I understood well, this snippet should be enough, right ? Taken from the examples

from deid.dicom import DicomCleaner

client = DicomCleaner()
summary = client.detect(PATH)
client.clean()

The thing is, summary is empty: {'flagged': False, 'results': []} so nothing is happening.

What am I missing here ?
Thanks

@RobinFrcd
Copy link
Contributor Author

Alright,
It's because the model name I have is not handled in the default deid. Is it possible to add it ?

LABEL Samsung # (AMBR)
  contains Manufacturer Samsung
  + contains Modality US
  + contains ManufacturerModelName HERA W9
  + equals Rows 872

Thanks

@vsoch
Copy link
Member

vsoch commented Sep 27, 2022

Sure! Here is the file to PR to: https://github.com/pydicom/deid/blob/master/deid/data/deid.dicom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants