图片相似度比较 [英] Image similarity comparison

查看:258
本文介绍了图片相似度比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我本来要求在 cstheory.stackexchange.com 这个问题,但建议将其移动到的 stats.stackexchange.com

I originally asked this question on cstheory.stackexchange.com but was suggested to move it to stats.stackexchange.com.

有没有一种现有的算法,返回到我两个位图图像之间的相似性指标?通过类似,我的意思是一个人会说这两个图像是从同一张照片改变。例如,算法应该说以下3图像是一样的(原来,位置移动,缩小)。

Is there an existing algorithm that returns to me a similarity metric between two bitmap images? By "similar", I mean a human would say these two images were altered from the same photograph. For example, the algorithm should say the following 3 images are the same (original, position shifted, shrunken).

我并不需要检测翘曲或翻转的图像。我也不需要检测,如果它在不同的方向相同的对象。

I don't need to detect warped or flipped images. I also don't need to detect if it's the same object in different orientations.

我想用这种算法来prevent垃圾邮件在我的网站。我注意到,垃圾邮件发送者都懒得改变他们的垃圾邮件的图像。它不仅限于面孔。我已经知道有已经有很多伟大的面部识别算法在那里。垃圾邮件图像可能是从URL到足球场上任何一个赤裸的身体。

I would like to use this algorithm to prevent spam on my website. I noticed that the spammers are too lazy to change their spam images. It's not limited to faces. I already know there's already many great facial recognition algorithms out there. The spam image could be anything from a URL to a soccer field to a naked body.

推荐答案

图像相似的讨论的算法在堆栈溢出。因为你不需要检测翘曲或翻转图像,直方图方法可能足以提供图像来源不是太严重。

There is a discussion of image similarity algorithms at stack overflow. Since you don't need to detect warped or flipped images, the histogram approach may be sufficient providing the image crop isn't too severe.

这篇关于图片相似度比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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