Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Proper Function to Create Template for Geometric Pattern Match

What is the proper function for .net creation of a geometric pattern match template?

 

I am having a problem creating a new template to use for a pattern match using Visual Studio C#. Attempting to grab a template from a ROI and find a match in the same image. The png templates created during the grab are significantly smaller than the templates created using Vision Assistant.

 

Learning the template and attempting the match works for pattern matching but throws the following exception when attempting geometric pattern matching

 

 

---------------------------

---------------------------
Exception of type 'NationalInstruments.Vision.VisionException' was thrown.
---------------------------
OK
---------------------------

 

 

code included 

 

0 Kudos
Message 1 of 2
(2,259 Views)

Hello,

 

What NI Vision Software are you using?

 

NI VAS 2014 was the last version to support .NET. Take a look at the .NET section of this readme for more information. 

 

Have a great day, 

Aaron Douglass
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,234 Views)