[][src]Function imageproc::template_matching::match_template

pub fn match_template(
    image: &GrayImage,
    template: &GrayImage,
    method: MatchTemplateMethod
) -> Image<Luma<f32>>

Slides a template over an image and scores the match at each point using the requested method.

The returned image has dimensions image.width() - template.width() + 1 by image.height() - template.height() + 1.

Panics

If either dimension of template is not strictly less than the corresponding dimension of image.