Skip to content

Instantly share code, notes, and snippets.

@mgautam98
Last active July 8, 2020 06:39
Show Gist options
  • Save mgautam98/3968a671b657df8a129d42b0d5fef7c6 to your computer and use it in GitHub Desktop.
Save mgautam98/3968a671b657df8a129d42b0d5fef7c6 to your computer and use it in GitHub Desktop.
Iref = imread('lena_gray_512.png'); % https://i.imgur.com/LHqmBwZ.png
I = imread('fabio_gray_512.png'); % https://i.imgur.com/jGM4euO.png
figure;
montage({Iref,I});
score = multissim(I,Iref)
# 0.3701
[ssimval,ssimmap] = ssim(I,Iref);
ssimval
# ssimval = 0.4525
@johnnychen94
Copy link

johnnychen94 commented Jul 8, 2020

ssim(I,Iref) gives me 0.3451 in MATLAB R2018b, which matches the result of ImageQualityIndexes.assess_ssim: 0.34505006577497543

multissim is introduced in R2020a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment