Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

pattern matching score is something wrong.

Dear Sir
I want to know what happen to handle about pattern matching in my installing machine
My application is to inspect the hole of the steel panel using pattern matching

First of all, I was located the panel in front of the camera, and I snapped it.
And then I set the template image, and finally tested

When I tested, I put the panel on the conveyor, and the camera is snapped it when it was moving
But, I didn’t understand the matching score
because; the score is above 900 when the panel was stopped,
and the score is about 400 when the panel was moved on ( I snapped it by using async. Reset trigger)
I tested it again using Vision Assistant, but it’s result is same score.
When you see my picture, their images are very close similar
So, I can’t understand why the matching score is dropped of the moving image.
Please, assist me about this situation.

I use LabVIEW 7.0, Imaq vision 7.0, IEEE-1394 for LabVIEW 2.0,
camera AVT F-080B (1024x768, Allied VIsion Tech)
0 Kudos
Message 1 of 3
(3,190 Views)
I see a few possibilities.

If you save your stopped image as a jpeg, then load it to create the template, you will have lost a lot of important image information. The template would be low quality in this case. If you have to save an image, use a lossless format (bmp, png, tiff) instead of jpg.

The moving image has some blur due to the motion. This blur is probably confusing the pattern matching some. It may not look like much, but to the pattern matching algorithm it is significant.

One possible solution would be brighter lighting and a faster shutter speed. This would reduce the motion blur and improve pattern matching.

Another possible solution would be training the pattern matching from a moving image. This way, the two images would match better.

In LabVIEW, you can tweak the pattern matching settings using the Advanced Settings vis. There are three settings for the mode: aggressive, normal, and conservative. Normal is the default, but you will frequently get much better results if you switch to conservative.

Bruce
Bruce Ammons
Ammons Engineering
Message 2 of 3
(3,173 Views)
thanks bruce.
0 Kudos
Message 3 of 3
(3,164 Views)