01-08-2014 01:03 PM
Hello everyone,
i am currently working on a pattern matchinug code on LabVIEW. I have made a VI but i do not get any result .
i will be grateful if i can get some assistance with the code.
attached the code in LabVIEW 2011 format .
Thanks in advance
Jalashwa
01-08-2014 02:42 PM
Your code does not contain a call to IMAQ Learn Pattern. The Pattern Matching Example that comes with NI Vision properly demonstrates how to use it.
01-08-2014 10:53 PM
01-10-2014 02:29 AM
uday ,
thank you for reverting back.
as asked by you i am enclosing the image which i want to compare. initially i want to compare the image with itself and proceed to the next stage later.
further , i have added the IMAQ LEARN PATTERN 2 to the block diagram with little success as the VI does not execute. Can you please tell me more about the error i am getting .
i read about the IMAQ READ IMAGE AND VISION INFO in the help toolbar but i cant make out why you ask mw to use it instead of IMAQ READ IMAGE.
Regards
Jalashwa
01-10-2014 02:44 AM - edited 01-10-2014 02:46 AM
-Hi please go through the example provided on pattern matching.
http://www.ni.com/example/30594/en/
-Goto>>Help>>Find examples>>search for pattern match
-What error you got?
-IMAQ Read image and vision info will read the info other than image stored along with image file.
-So, in general template image is not simply an image and it contains more information which will not be readable by normal read image.
-You need that extra information to do pattern matching.
01-10-2014 03:43 AM
Please find the attached image to do pattern match for a fixed region which i am specifying in the rectangle region.
-Attaching vi also(in lv13)
01-10-2014 03:57 AM
Uday
thank you for taking the pains sto help me out.
i cant download and run the vi that you have attached in the post. Request you to please attach it again . i am using LabvIEW 2011
Regards
Jalashwa
01-10-2014 03:59 AM
here for lv11