05-08-2017 10:33 AM
Hello,
I use the Pattern Matching.vi to get Information about the Glue that we apply on Products.
Unfortunately, the Pattern Matching tool always answers with the Template Image beeing too low on contrast.
This case only Comes with the mask beeing applied. Without the Masking the vi runs perfectly.
I really Need the Masking to sort out other influences on the AOI (Automatic optic Inspection)
Maybe someone knows how I can solve the Problem 😃
PS: .vi and Pictures are all in Attachments!
Thanks a lot!
Jack
Solved! Go to Solution.
05-09-2017 12:03 AM
Error Message -1074395235: The Contrast In The Template Is Too Low
The error is generated when the selected region does not contain enough information to create a useful template. Most often this is caused by an image not having very high contrast. This error can also be caused if the region specified is very small. There are two ways to fix the problem:
Ref:http://digital.ni.com/public.nsf/allkb/F05924D50AD6472B86256F320075CDBF#ContrastTemplateTooLow
-You have to provide little more information with the SubVIs and Sample Image as well.
-Read the help of IMAQ Mask.vi and how the images get modified with inputs.
05-09-2017 10:27 AM
Hi Jack,
out of curiosity I tested it with the high level vision assistant and it works with that one. So I would rather think that it is due to the configuration of your VIs.
I attached my code with the pattern that I used.
Cheers,
Niko
05-10-2017 12:05 AM
Hello,
Thanks for the Solutions.
Both the Vision Assistant and increasing template Information gives a good result.
Im glad you answerd so quickly.
Kind Regards
xJack