Expand description
PNG export with optional annotation burn-in, plus a basic anonymisation pass for DICOM files.
Functions§
- anonymize_
file - PS3.15 Basic Application Confidentiality — minimal subset. Strips patient identifiers; keeps imaging tags.
- anonymize_
study - Anonymise every instance in
studyunderout_dir, organised by series (one subdirectory per series UID). - export_
current_ view - Export the active cell’s image to a PNG, optionally with annotations burned in.
- export_
series_ pngs - Export every instance in
seriesas a PNG underout_dir. Filenames areslice_0001.png,slice_0002.png, … in slice order. Per-slice decode failures are logged and skipped; the function only fails if the output directory can’t be created.