Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSIM result is different from skimage.measure.compare_ssim #23

Open
Pixie8888 opened this issue Aug 25, 2021 · 1 comment
Open

SSIM result is different from skimage.measure.compare_ssim #23

Pixie8888 opened this issue Aug 25, 2021 · 1 comment

Comments

@Pixie8888
Copy link

Hi,
Thanks for this tool. I use both pytorch_mssim.ssim and skimage.measure.compare_ssim to compute ssim, but the results are different. For example, ssim evaluation on an image sequence:
pytorch_msssim.ssim: [0.9655, 0.9500, 0.9324, 0.9229, 0.9191, 0.9154]
skimage.measure.compare_ssim: [0.97794482, 0.96226299, 0.948432, 0.9386946, 0.93113704, 0.92531453]

Why will this happen?

@yifeipet
Copy link

yifeipet commented Sep 8, 2021

I think the Pytorch MS SSIM is based on a differentiable MS SSIM algorithm so it's an approximation of the real MS SSIM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants