how to calculate degree of similarity between two images
50 views (last 30 days)
Show older comments
i wanna know if there is a way to calculate degree of similarity between two images?
0 Comments
Accepted Answer
Image Analyst
on 3 Feb 2016
ssimval = ssim(A,ref) computes the Structural Similarity Index (SSIM) value for image A using ref as the reference image.
peaksnr = psnr(A,ref) calculates the peak signal-to-noise ratio for the image A, with the image ref as the reference. A and ref must be of the same size and class.
err = immse(X,Y) calculates the mean-squared error (MSE) between the arrays X and Y. X and Y can be arrays of any dimension, but must be of the same size and class.
12 Comments
RAKESH KUCHANA
on 12 Apr 2021
I am unable to find Similarity Index of two images in MATLAB R2013a version. Can anyone help me regarding this?
Image Analyst
on 12 Apr 2021
Edited: Image Analyst
on 12 Apr 2021
Yes, these people can : Click Here
or here:
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!