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

pub fn canny_edge_<S, T>(
    src: &ArrayBase<S, Ix2>,
    max_val_percent: f64,
    min_val_percent: f64,
    border: BorderType,
    out: &mut ArrayBase<T, Ix2>
) where
    S: Data<Elem = f64>,
    T: DataMut<Elem = f64>, 

Simply Canny's edge detector. Output buffer is allocated by users.

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

Refered to canny_edge() for more details.