pub fn auto_window(raw: &RawImage) -> (f64, f64)
Pick a sensible default window for raw.
raw
Returns the DICOM file’s default window if present, otherwise a centred full-range window over [min_val, max_val].
[min_val, max_val]