LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Pattern Information, Display Mask

Hi,

we use NI Vision 8.2. Exactly we use the CVI imaq library in our own application. The task for which we use is geometric pattern matching. I have create a tool which looks like the Vision Assistent. I can change all the option, learn pattern and match with my source image. Read and Write the picture is not a problem. Creating a image mask and set points to ignore and other points to curve points is also not a problem.

So here my questions:

When i load a patterfile via "imaqReadVisionFile", how can i get the "curveOptions" information, advancedLearnOptions and how i get the pattern mask from the pattern file?


Greetings
Mirko
0 Kudos
Message 1 of 3
(3,237 Views)
Hi Mirko,

the NI Vision library in CVI offers different functions that should be helpful to your question in "Pattern Matching":

imaqLearnGeometricPattern (, IMAQ_NO_OFFSET, NULL, NULL, NULL);
imaqReadMultipleGeometricPatternFile (, NULL);

For more information about the elements of CurveOptions refer to the NI Vision for LabWindows/CVI Function Reference Help in the Vision Development Module Bookshelf. To access the bookshelf, select Start>>All Programs>>National Instruments>>Vision>>Documentation>>Search the NI Vision Bookshelf..

regards,

Nikolai



0 Kudos
Message 2 of 3
(3,184 Views)

In this illustrative example, we will create a program in Labview capture an image pattern, after the search to show the location and coordinates, you can check the following article in the following link

 

https://decibel.ni.com/content/docs/DOC-31880

0 Kudos
Message 3 of 3
(2,773 Views)