Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Color Match Results Lost

Solved!
Go to solution

I use Match Color Pattern node to search a template from a webcam. But the node can just return one or two correct results among ten times of grabs. For the other nine times, the node can't even find the target. I have tried to change a more accurate webcam, and adjusted the Color Score Weight, Match Mode, Search Strategy, Color Sensitivity, etc, for several times. But the problem still exists, and the improvements are not significant(almost no improvements). Now, I want to improve the rate of success in matching. What shall I do? Thanks!

0 Kudos
Message 1 of 6
(3,767 Views)

Also, I have met another problem on Match Color Pattern node. When the shift orientation of the target is near to 180 degrees, the match results are really easy to be lost. VISION can hardly search the target, which have rotated for 180 degrees. What cause this problem? How to solve it?

0 Kudos
Message 2 of 6
(3,765 Views)
Solution
Accepted by topic author BayernFans

Try to extract the luminance plane and experiment with the grayscale pattern matching algorithms.

Message 3 of 6
(3,760 Views)

The Grayscale Pattern Matching node is not in the function panel. Do you means I should use the Geometric Matching Pattern node or Match Pattern node instead? And the raw pictures from the webcam is RGB. Is that time-economic to convert it into grayscale (Converting will cost the CPU resource), though it's time-saving in Matching process. I am using this program to catch the position of a moving target. Should I still use the Match node provided by Vision with low success rate? Or as ChristopheC said, extract the luminance plane, and do every other things by my self?

0 Kudos
Message 4 of 6
(3,755 Views)

I also met this problem before, and don't know how to optimize the matching results.

0 Kudos
Message 5 of 6
(3,749 Views)

Thanks for your advice!

0 Kudos
Message 6 of 6
(3,715 Views)