Skip to main content

compute_otsu_threshold

Function compute_otsu_threshold 

Source
pub fn compute_otsu_threshold(values: &[f64]) -> f64
Expand description

Returns the threshold that maximizes inter-class variance.