I want to find similarity between two images.I use SSIM. What does low and high values of SSIM indicates in terms of similarity.

14 次查看(过去 30 天)
I want to find similarity between two images.I use SSIM. What does low and high values of SSIM indicates in terms of similarity.

采纳的回答

Image Analyst
Image Analyst 2017-1-2
If you open the example script from the help, and change this line:
[ssimval, ssimmap] = ssim(A,ref);
to
[ssimval, ssimmap] = ssim(ref,ref);
you'll see that the ssim goes from 0.94 to 1.00, showing that if the images are exactly the same, the ssim is 1 and the more different they are, the lower the ssim value, down to as far as zero.

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by