Skip to main content

auto_window

Function auto_window 

Source
pub fn auto_window(raw: &RawImage) -> (f64, f64)
Expand description

Pick a sensible default window for raw.

Returns the DICOM file’s default window if present, otherwise a centred full-range window over [min_val, max_val].