Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

About the NI Vision Assistant problem.

 Hello,

I have encountered some problem with "Geometric matching"  when I use the NI Vision Assistant tool . The problem description is shown below:

1. Here is my "Template image".

 2_Pattern_ampm.png

2. When I load the target image in NI Vision Assistant. It can't found any match pattern.

EnableOccludedRange.png

3. But when I disable the "Occluded", the pattern can be found with "Occlusion" 0%.DisableOccludedRange.png

If my understanding for "Occuled" is correct, the occluded setting 0~60% means that the NI vision Assistant should find the matched pattern with occlusion 0% ~60%

Why cancel "Occluded" the result can't be found?

 

 

0 Kudos
Message 1 of 2
(2,443 Views)

The underlying algorithms are subtly different.. and there can also be different rounding.

 

I would not use geometric pattern matching to find this pattern.

If there is even a subtle change in illumination, an edge border can change 1-2 pixels, and because you have a rather low resolution (total size of the shape), it can result in a shape that is hard to find.

 

Although it's already pretty good, clean up the image a bit first:

clean.png
(I used the Median Filter and then adjusted brightness/contrast/gamma) Your initial image quality is nice, so you get almost pure signal vs background.

 

Then use Pattern Matching (eventually with subpixel accuracy if you need it). This should be much more robust than Geometric Pattern Matching.

 

Cheers Birgit

Message 2 of 2
(2,423 Views)