[][src]Function arrayfire::canny

pub fn canny<T>(
    input: &Array<T>,
    threshold_type: CannyThresholdType,
    low: f32,
    high: f32,
    sobel_window: u32,
    is_fast: bool
) -> Array<bool> where
    T: HasAfEnum + EdgeComputable

Canny edge detection operator

The Canny edge detector is an edge detection operator that uses a multi-stage algorithm to detect a wide range of edges in images. A more in depth discussion on it can be found here.

Parameters

Return Values

An Array of binary type DType::B8 indicating edges(All pixels with non-zero values are edges).