Function opencv::imgproc::threshold
[−]
[src]
pub fn threshold(src: &Mat, dst: &Mat, thresh: f64, maxval: f64, _type: i32) -> Result<f64, String>
applies fixed threshold to the image