LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I read a template and differentiate if it is a pattern matching template or a geometric matching template?

Solved!
Go to solution

Hey all,

 

I would like to know how can I read a template´s information to know if it is a pattern macthing or a geometric matching template? 

In my code, users provide templates and the algorithm must match them using pattern matching or geometric matching depending on the template.

At the moment I am doing it by including a P or a G in the name of the file, but I would like to avoid this and read the information from the file.

Any ideas?

 

Thanks in advance,

Esteban

0 Kudos
Message 1 of 3
(2,507 Views)
Solution
Accepted by topic author Arroyo

Hey Esteban,

 

you can use the VI "IMAQ Is Vision Info Present 2 VI" to reice the information:

 

IMAQ Is Vision Info Present 2 VI - NI Vision 2011 for LabVIEW Help - National Instruments
http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_is_vision_info_present_2/

 

Take a look at the attached VI

 

Stephan

Message 2 of 3
(2,482 Views)

Hey Stephan,

 

Thanks for the hint and for taking the time to prepare a VI. 

 

Best regards,

Esteban

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