OpenCV匹配图像 [英] OpenCV matching images

查看:194
本文介绍了OpenCV匹配图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用OpenCV来匹配如下图片:






我需要找到它们最好的交集。



我尝试使用SURFDetector和使用BruteforceMatcher进行匹配,但是发现描述符不相等。 p>

告诉我正确的解决方法。

解决方案

看看代码示例?在这里,您可以看到如何使用SURF描述符查找对象。
转到main(),并逐步检查代码。你可以尝试它与您的图像,它应该工作。其他方法使用 SIFT和FAST检测器



祝你好运。如果你没有得到结果继续努力,在开始是很难。


I am trying to use OpenCV to match images like these:

And I need to find the best intersection of them.

I tried using SURFDetector and matching using BruteforceMatcher, but finds descriptors not equal.

Tell me please the correct way to solve problem.

解决方案

Did you have a look to this code example? Here you can see how to find an object using SURF descriptors. Go to main(), and check the code step by step. You can try it with your images and it should work. Other approaches use SIFT and FAST detectors.

Good luck. If you don't get results keep trying, at the beggining it is hard.

这篇关于OpenCV匹配图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆