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 calculation #57

Open
saisharathsadu opened this issue Oct 18, 2024 · 2 comments
Open

SSIM calculation #57

saisharathsadu opened this issue Oct 18, 2024 · 2 comments

Comments

@saisharathsadu
Copy link

Hello Team, as you are aware that SSIM can be varied based on the window size, assigning of weights and multiple other factors. Can you kindly share the code which you used to calculate SSIM?

@pureexe
Copy link
Contributor

pureexe commented Oct 19, 2024

Here is how we calculate SSIM.

ssims.append(structural_similarity(predict_image, gt, win_size=11, multichannel=True, gaussian_weights=True))

@saisharathsadu
Copy link
Author

Thanks for sharing that. I missed it while I was going through the code!

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