什么是最好的方法来检查一个图像是在某个地方/类似于另一个图像? [英] Whats the best way to check whether one image is somewhere on/similar to another image?

查看:110
本文介绍了什么是最好的方法来检查一个图像是在某个地方/类似于另一个图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用openCV来检查图片是否位于另一个图片上的某处。这个其他图像也可以是照片。我不想知道位置或任何东西,我只想知道图像是否存在 - 或者如果图像是足够。



示例:我使用我的iphone拍照静态对象的照片。现在,一天后,我再次拍摄这张照片,我想检查它是否是大体相同的对象。



最好的方法是什么?

解决方案

也许 SURF (加速稳健功能)可以达到此目的。
我使用它来检查是否可以在沿着移动的传送带的对象上找到模板图像。
查看此页面,其中介绍了SURF的用法与EMGU-OpenCV包装程序类。


I want to use openCV to check whether an image is somewhere on another image. This other image could also be a photo. I dont want to know the position or anything, I just want to know whether the image is there or not - or, if the images are "equal enough".

Example: I use my iphone to take a photo of a static object. Now, one day later I take this photo again and I want to check if it is the mostly the same object.

Whats the best way to do this? I alos tried CVMatchTemplate (but was not able to get a working check) and CVNorm.

解决方案

Maybe SURF (Speeded Up Robust Features) can to this. I used it to check if an template image can be found on objects along an moving conveyor belt. Have a look on this page, it describes the usage of SURF with the EMGU-OpenCV wrapper classes.

这篇关于什么是最好的方法来检查一个图像是在某个地方/类似于另一个图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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