01-26-2010 09:37 PM
Dear All,
Now, I make some program using NI VDM and ADNLINK Grabber. I want to program online recognition using pattern matching method. I can read image program the grabber using Labview 8.6, but when I want to learn image and search image the program can't do it. some massenge that I get from labview. I attach the program that I done. Error that I found is;
a. occured at IMAQ learn pattern 2- the template is too smaall. IMAQ Vision: (Hx 0xBFF6079E) the template is too small.
b. Occured at IMAQ Match Pattern 2 Invalid template descriptor. Imaq Vision: (Hex 0xBFF60791) invalid template descriptor.
I hope some one can help me. Thank you very much.
01-27-2010 04:22 AM - edited 01-27-2010 04:24 AM
saifizi wrote:
...
I attach the program that I done. Error that I found is;
a. occured at IMAQ learn pattern 2- the template is too smaall. IMAQ Vision: (Hx 0xBFF6079E) the template is too small.
b. Occured at IMAQ Match Pattern 2 Invalid template descriptor. Imaq Vision: (Hex 0xBFF60791) invalid template descriptor.
...
The template is too small. Cannot be created because not enough learn information. Try to select bigger ROI. The next error invalid template descriptor - template is invalid because was not created, because too small.
In additional, as far as I know, Learn Pattern accepts 8 bit gray images only (but not sure - check help for supported image types).
For real help:
a) post VI without missing SubVI (grabber related)
b) post images and show desired ROI.
Andrey.
01-27-2010 08:16 PM
Dear All,
Thank Andrey for your help. Here I attach adlink library that you need. I will do what you tell me. I hope you can help me to solve the problem. Thank you very much.
02-18-2010 09:39 PM