SMI / dicompixelanon

DICOM Pixel Anonymisation
3 stars 0 forks source link

dicom_redact - implement redaction from rules #14

Closed howff closed 1 year ago

howff commented 1 year ago

Currently the redaction rectangles are only taken from a database (or CSV) on a per-filename basis.

We need the ability to redact based on rules (just like CTP and pydicom). Probably base the implementation on the pydicom file format?

The only problem is that CTP removes all private tags so if we need to refer to any of these (e.g. to check for ZIEHM machines which don't populate the Manufacturer tag, only private tags) then we either:

We need

Tasks:

howff commented 1 year ago

Rules are stored in files named $SMI_ROOT/data/deid/deid.dicom.*