07-23-2015 05:29 AM
Hi all,
using the Pattern Matching 3 tool i found that minimum contrast could be useful. It will be interesting to calculate the minimum contrast in the template image and then use this value to set the same property of the setup match pattern VI. Problem is: i don't know how to calculate the minimum contrast in an image, any idea?
07-23-2015 06:16 AM - edited 07-23-2015 06:18 AM
Hello,
if you input value "0" to the minimum contrast, the value is computed by the algorithm.
Anyway, the contrast is the difference (in this case) between the maximum and minimum pixel value of the inspection image. Based on this, you can choose the minimum contrast.
In other cases, the contrast could also be defined as the ratio between the two.
Best regards,
K
07-23-2015 07:10 AM
Thank you Klemen. I had made some experiments but i expected bigger improvements (in pattern matching 3) by changing the mentioned value. Seem to me that differences are minimal.