NI Vision for LabVIEW

Searching and Matching

  • Updated2023-02-21
  • 3 minute(s) read
Owning Palette: Machine Vision
Requires: NI Vision Development Module

Use the Searching and Matching VIs to locate patterns and sub-images in an image. These VIs allow you to perform color and grayscale pattern matching as well as shape matching.

Palette Object Description
IMAQ Learn Pattern 5

Creates a description of the template image for which you want to search during the matching phase of pattern matching. This description data is appended to the input template image. During the matching phase, the template descriptor is extracted from the template image and used to search for the template in the inspection image.

IMAQ Match Pattern 4

Searches for a pattern, or template image, in an inspection image. Run the IMAQ Learn Pattern 5 VI before this VI to configure the template image for the matching phase.

IMAQ Get Template Information

Retrieves the information used to learn the template image.

IMAQ Calculate Defect Map

Calculates the defect map between the template image and the match image. For each match found, a corresponding defect map is created in Defect Images Out.

IMAQ Setup Learn Geometric Pattern 2

Sets parameters that are used during the learning process. Run this VI before using the IMAQ Learn Geometric Pattern 2.

IMAQ Learn Geometric Pattern 2

Creates a description of the template image for which you want to search during the matching phase.

IMAQ Setup Match Geometric Pattern 2

Sets parameters that are used during the matching process. Run this VI before using the IMAQ Match Geometric Pattern 2 VI.

IMAQ Match Geometric Pattern 2

Searches for a pattern, or template image, in the inspection image.

IMAQ Setup Learn Color Pattern

Sets parameters that are used during the color learning stage. Run this VI before using the IMAQ Learn Color Pattern VI.

IMAQ Learn Color Pattern

Creates a description of the color template image that you are going to look for during the color pattern matching stage.

IMAQ Setup Match Color Pattern

Sets parameters that are used during the color matching process. Run this VI before using the IMAQ Match Color Pattern VI.

IMAQ Match Color Pattern

Searches for a color pattern, or color template image, in the input Image.

IMAQ Read Image And Vision Info

Reads an image file, including any extra vision information saved with the image. This includes overlay information, pattern matching template information, calibration information, and custom data, as written by the IMAQ Write Image And Vision Info File 2 instance of the IMAQ Write File 2 VI.

IMAQ Write Image And Vision Info File 2

Writes an image, along with extra vision information associated with the image, to a PNG file. This extra vision information includes overlay information, pattern matching template information, calibration information, and custom data.

IMAQ Detect Shapes

Searches for rectangles, lines, ellipses, or circles in an image.

IMAQ Shape Match Tool

Finds objects in an image whose shape matches the shape of the object specified by a template.



Subpalette Description
Geometric Matching Advanced (Edge Based)

Use the Geometric Matching Advanced (Edge Based) VIs to optimize and fine-tune advanced parameters used during the learning and matching phases of edge based geometric pattern matching. These functions are intended for advanced users. Improper use may cause unexpected results.

Geometric Pattern Matching (Feature Based)

Use the Geometric Matching (Feature Based) VIs to locate regions in a grayscale image that match a template of a reference pattern.

Log in to get a better experience