Function opencv::imgproc::canny [] [src]

pub fn canny(image: &Mat, edges: &Mat, threshold1: f64, threshold2: f64, apertureSize: i32, L2gradient: bool) -> Result<(), String>

applies Canny edge detector and produces the edge map.

default value for arguments: - apertureSize: default 3 - L2gradient: default false