EasyMatch - Matching Area Patterns

EasyMatch is a pattern matching library that allows users to learn and identify given patterns in an image.

../../../_images/matchingapattern1.webp

A geometric pattern found in an image

Process

EasyMatch learns a pattern and finds exact matches:

  • The pattern is learned by defining an ROI that contains the object to be matched (see Learn a Pattern).

  • Images can now be searched for one or more occurrences of the pattern, which may be translated, rotated or scaled (an)isotropically (see Find Matches).

    • These matches are represented by a vector of EFoundPattern .NET Python.

    • Each EFoundPattern contains a Score, Center, Angle, ScaleX and ScaleY.

  • EasyMatch scores positions (translation, rotation, scaling) by computing the correlation between the pixels of the learned pattern and the corresponding pixels of the image.

  • EasyMatch supports both BW8 .NET Python and C24 .NET Python images.

Learning a pattern
Matching a pattern

Note

In practice, you can assume an accuracy of 1/20th pixel in position and 1/10th of a degree in rotation.

Contents

Learn a Pattern

How to learn a pattern from an image.

Learn a Pattern
Find Matches

How to find a learned pattern inside of an image.

Find Matches