From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to programmatically generate Color Pattern Matching template in Labwindows 2015

How to programmatically generate Color Pattern Matching template in Labwindows
2015? This can currently be performed in NI Vision Assiatant, but would like to
do this programmatically for a whole bunch of images.

NI Software :  NI Vision Development Module 2013 SP1 (Free form entry)  version
OS :  Windows 7

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

I don't think there is a really easy way of doing this. The only way that comes to mind (maybe) is using the editor from the command line. There is a similar conversation happening on this FORUM, but I don't believe we have any LabWindows/CVI examples.

 

I believe the LabWindows Color Pattern Matching (C:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Color Pattern Matching) is still pretty manual to create a template.

 

Command Line Arguments.PNG

 

---

Aaron F.

National Instruments

0 Kudos
Message 2 of 2
(2,356 Views)