Skip to main content

raster_stats

Function raster_stats 

Source
pub fn raster_stats(data: &[f64]) -> (f64, f64, f64, f64)
Expand description

Compute basic statistics of a raster field.

Returns (min, max, mean, std_dev).