[][src]Function simplecv::filter::canny::canny_edge

pub fn canny_edge<S>(
    src: &ArrayBase<S, Ix2>,
    max_val_percent: f64,
    min_val_percent: f64,
    border: BorderType
) -> Array<f64, Ix2> where
    S: Data<Elem = f64>, 

Simply Canny's edge detector.

  • src: input image
  • max_val_percent: the ratio of strong edge.
  • min_val_percent: the ratio of noise (smaller than weak edge).

This functions requires that max_val_percent + min_val_percent <= 1.0. The implementation follows Canny edge detector, while fast-edge is also referred.