问题描述
问题陈述:
我必须制作一个包含(i,j,s(i,j))的表,其中i和j是关键帧或图像,而S(i,j)是这些图像之间的相似性度量值.
I have to make a table consists of ( i,j,s(i,j)) where i and j are Keyframes or images and S(i,j) is similarity measure value between those images.
如何找到两幅图像之间的相似度值?
how to find similarity value between two images?
任何人都可以告诉我如何使用Matlab使用像素平方距离的总和来找到它吗?
Can anyone please tell me how to find this Using sum of squared distances of pixels using Matlab ?
我的问题包含一系列图像,比如说N,我需要计算总共N(N-1)个相似度值.
My problem contains series of images , say N and i need to calculate total of N(N-1) similarity values.
请给我一些关于如何针对同一问题进行编程的煽动性.
please give me some incite on how to do programming for the same problem.
预先感谢奎师那
推荐答案
您可以找到两个图像的均方误差(MSE),如下所示(编辑):
You can find the mean squared error (MSE) of two images as follows (Edited):
e = abs(Y - X);
MSE = sum(e(:).^2)/prod(size(e));
峰值信噪比通常用于测量两个图像之间的距离(通常是在嘈杂图像和原始图像之间):
The peak signal-to-noise ratio is often used to measure the distance between two images (often between a noisy image and the original image):
PSNR = 10*log10(255^2/MSE);
这篇关于查找不同图像之间的相似性度量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!