如何使用倒角匹配算法查找“相似图像”
我想询问有关如何使用倒角匹配算法(边缘匹配算法)查找“相似”图像的更多信息。我想知道是否可以为匹配的结果打分。
I would like to ask for more information on how Chamfer Matching algorithm (an edge matching algorithm) can be used to find 'similar' images. I would like to know if it is possible to place a 'score' for the matched results.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
倒角匹配算法基本上计算两个图像之间的距离(不相似度)。基本思想是:
这给出了倒角距离,即两个图像之间的不相似性值。值越低,结果越好。但是,如果目标图像大于查询图像(通常是这种情况),您还必须注意缩放和滑动窗口。
您可以在 opencv\modules\contrib 上找到工作示例。
The Chamfer Matching Algorithm basically calculates the distance (dis-similarity) between two images. The basic idea is to:
This gives the Chamfer Distance i.e. a value of dis-similarity between two images. The lower the value better the result. However, you have to take care of scaling, and sliding windows as well if target image is larger than query image which is often the case.
You could find working exampling on opencv\modules\contrib.