Match Template

../../../../_images/image_template.svg

Uses cross-correlation to match a template image to an image. Returns an image with maxima where the template matches.

Documentation

Uses cross-correlation to match a template image to an image. Returns an image with maxima where the template matches.

Definition

Input ports

image
Type: image
Description: image to perform matching on
template
Type: image
Description: Template image

Output ports

result
Type: image
Description: result after matching

Configuration

Pad value (k)

Value used for padding mode “constant”

Padding mode (padding mode)

Method used for padding the input

Examples

Example flows demonstrating this node:

Implementation

class node_correlation.MatchTemplate[source]