pub fn find_contours_with_threshold<T>(
image: &GrayImage,
threshold: u8,
) -> Vec<Contour<T>>
Expand description
Finds all borders of foreground regions in an image. All pixels with intensity strictly greater
than threshold
are treated as belonging to the foreground.
Based on the algorithm proposed by Suzuki and Abe: Topological Structural Analysis of Digitized Binary Images by Border Following.