[][src]Function arrayfire::harris

pub fn harris<T>(
    input: &Array<T>,
    max_corners: u32,
    min_response: f32,
    sigma: f32,
    block_size: u32,
    k_thr: f32
) -> Features where
    T: HasAfEnum + RealFloating

Harris corner detector.

Compute corners using the Harris corner detector approach. For each pixel, a small window is used to calculate the determinant and trace of such a window, from which a response is calculated. Pixels are considered corners if they are local maximas and have a high positive response.


Return Values

This function returns an object of struct Features containing Arrays for x and y coordinates and score, while array oreientation & size are set to 0 & 1, respectively, since harris doesn't compute that information