Skip to main content

Module export

Module export 

Source
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 study under out_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 series as a PNG under out_dir. Filenames are slice_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.