How do I compare two images and find the similarity percentage?
220 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Parth Deshpande
am 26 Aug. 2020
Beantwortet: Raunak Gupta
am 5 Sep. 2020
Hello,
I have two images and I want to find the similarity percentage between the two images. The two images are almost the same, just one is blur than the other. The images are of same size. There can also be a translation or rotation involved between the two images.
Can cross-correlation be used for this?
Thanks in advance.
0 Kommentare
Akzeptierte Antwort
Raunak Gupta
am 5 Sep. 2020
Hi Parth,
For finding structural similarity index between two images you can use ssim function. If there is translation and rotation, then you may need to use xcorr2 to find where the second image fits in the first image. Although cross correlation may not be able to figure out a similarity index like ssim, you may first align both image using method mentioned here, then can apply ssim on output images.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!