Example Code

Geometric Pattern Matching with Customized Region of Interest and Curve Parameters

Code and Documents

Attachment

This VI utilizes the Geometric Pattern Matching algorithm to detect shapes on an image according to a user provided template. It was developed in LabVIEW 2010 using Vision Development Module 2010. In this example, the VI uses a cross template to find a cross on the provided images. On some images, when the cross is inside the dark circle, it will not find a cross. This is expected and desired behavior. The values on the front panel can be modified to make the algorithm more or less strict based on the users desires.

GeoMatchFP.pngGeoMatchBD.png

In the provided zip file, the VI is provided along with the test images that the VI was developed around.

Applications Engineer
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
tamhleten1
Member
Member
on

Hi, could you include the "Draw Pattern Matches Position.vi", it is missing from the zip.

Thanks!

Tomas

Contributors