在图像/帧序列中查找差异/相似度的算法 [英] Algorithms to find difference/similarity in a sequence of images/frames

查看:213
本文介绍了在图像/帧序列中查找差异/相似度的算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找可以在给定的指定数量的图像/帧序列(例如2或10)中输出相似性或差异性的已知算法(也许是openCV函数).

I am searching for known algorithms (perhaps openCV function) that can output similarity or difference in a given specified number of sequence of images/frames (say 2 or 10).

期刊/会议文章也受到赞赏.谢谢.

Journal/conference article is also appreciated. Thank you.

推荐答案

您可以使用结构相似性索引

有关出版物,请查看标题为《 图像质量评估:从错误可见性到 Zou Wang在IEEE图像处理事务中的结构相似性

For related publication check out the paper titled Image Quality Assessment: From Error Visibility to Structural Similarity by Zou Wang in IEEE TRANSACTIONS ON IMAGE PROCESSING

OpenCV中没有任何可用的功能(据我所记得),尽管scikit_image中有一个功能.这是from skimage.measure import structural_similarity as ssim行所提供的ssim模块.

There isn't any function available in OpenCV (as far as I can remember), though there si one in scikit_image. It is the ssim module made available by this line from skimage.measure import structural_similarity as ssim.

关于ssim的好处是它考虑了:

The good thing about ssim is it considers:

  • 给定窗口内像素强度的平均值.
  • 像素强度的方差
  • 协方差
  • the mean of pixel intensities for within a given window.
  • the variance of the pixel intensities
  • and the covariance

链接论文的等式13中给出的公式包含上述三个.

The formula given in equation 13 of the linked paper contains the above three.

提供了一个示例实现这里

这篇关于在图像/帧序列中查找差异/相似度的算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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