Expand description
Honest partial DICOM helpers — not a full pydicom replacement.
- Little-endian explicit VR tag scan for a small common set
- PHI tag redact on a simple attribute map
- SUV body-weight formula (pure arithmetic)
Unsupported transfer syntaxes / implicit VR / compressed pixel data fail closed.
Modules§
- anonymize_
tag_ map - Redact known PHI tag keys in a simple DICOM attribute map.
- parse_
dicom_ tags_ basic - Minimal little-endian explicit-VR DICOM tag scanner.
- suv_
from_ activity - Standardised Uptake Value (SUV) from activity and body metrics.
Structs§
- Anonymize
Report - Report of anonymization actions.
- Parsed
Dicom Tags - Subset returned as typed convenience fields + full map of found strings.
Enums§
- Dicom
Lite Error - DICOM-lite errors (fail closed).
Constants§
- PHI_
TAG_ KEYS - PHI / identity tags zeroed or replaced with a fixed placeholder.
Functions§
- anonymize_
tag_ map - Zero/redact known PHI keys in
map(in place). - parse_
dicom_ tags_ basic - Scan
bytesfor common DICOM tags (little-endian explicit VR). - suv_bw
- Convenience: SUV_bw from activity concentration, injected activity (Bq), body weight in kg, and decay factor.
- suv_
from_ activity - Body-weight SUV (SUV_bw).
Type Aliases§
- Dicom
TagMap - Simple string-valued attribute map after parse/anonymize.