Expand description
DICOM domain layer: study/series/instance model, folder loading, and pixel-data decoding to RGBA for the viewport.
The dependency graph inside this layer is roughly linear:
loader → study → pixel → roi → annotation
↘ ↘
thumbnail export
↘
metadataloaderwalks a folder and produces metadata-onlyStudytrees.pixeldecodes a single instance to interactivef32values and re-windows them to RGBA8 on demand.roicomputes statistics over windows onpixel::RawImage.annotationpersists user measurements to a JSON sidecar.thumbnaildecodes a heavily-decimated preview for the sidebar.metadataflattens DICOM tags for the right-hand panel.exportwrites annotated PNGs and a basic anonymised copy of the source DICOM.
Re-exports§
pub use pixel::DecodedFrame;pub use pixel::auto_window;pub use pixel::decode_to_rgba;pub use pixel::load_raw;pub use pixel::render_rgba;pub use pixel::RawImage;pub use pixel::WindowSetting;pub use study::Instance;pub use study::Series;pub use study::Study;
Modules§
- annotation
- User annotations + measurements, persisted to a sidecar JSON.
- export
- PNG export with optional annotation burn-in, plus a basic anonymisation pass for DICOM files.
- loader
- Folder scanning and DICOM metadata extraction.
- metadata
- Flatten a DICOM file’s tags into rows the metadata panel can display.
- pixel
- Pixel-data decode + CPU windowing.
- roi
- ROI statistics + measurement units.
- study
- In-memory model of loaded DICOM studies.
- thumbnail
- Series preview thumbnails for the sidebar.