Function imgproc_rs::filter::threshold[][src]

pub fn threshold(
    input: &Image<f64>,
    threshold: f64,
    max: f64,
    method: Thresh
) -> ImgProcResult<Image<f64>>

Performs a thresholding operation based on method