开发者

Finding Similarity measure between different images?

开发者 https://www.devze.com 2023-01-21 02:09 出处:网络
problem Statement : Ihave to make a tableconsists of ( i,j,s(i,j)) where i an开发者_JS百科d j are Keyframes or imagesand S(i,j) is similarity measure value between those images.

problem Statement :

I have to make a table consists of ( i,j,s(i,j)) where i an开发者_JS百科d j are Keyframes or images and S(i,j) is similarity measure value between those images.

how to find similarity value between two images?

Can anyone please tell me how to find this Using sum of squared distances of pixels using Matlab ?

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.

Thanks in Advance Krsna


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);
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号