scans
Scan-image support for the patient-data API.
Groups the modules behind GET /scans/image: file decoding to WebP frames
(images), the encrypted LRU on-disk archive cache (image_cache), and the
service that ties them together (scan_image_service).
Module
Submodules
- bitfount.patient_api.scans.identity - How a scan is named in a log line.
- bitfount.patient_api.scans.image_cache - Encrypted, size-capped, on-disk LRU cache of a scan's served image layers.
- bitfount.patient_api.scans.images - Decode scan files to frames and build the scan-image cache layers.
- bitfount.patient_api.scans.scan_image_service - Serves an already-resolved scan file as a ZIP of scaled WebP frames.
- bitfount.patient_api.scans.segmentations - Build per-class segmentation overlays for a served scan, as masks or vectors.