Skip to content

Conversation

@rymuelle
Copy link

@rymuelle rymuelle commented Nov 3, 2025

This pull request adds the functionality to specify the alpha, beta, and gamma parameters to tailor the luminance, contrast, and structural elements of the SSIM computation. With alpha=beta=gamma, the computation should be equivalent to the original implementation.

The formulate is implemented as described here: https://en.wikipedia.org/wiki/Structural_similarity_index_measure#General_formula_and_components

I have tested the code personally, but I have not run the included tests due to issues downloading the files. Additional work should be done to ensure the tests pass.

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

Successfully merging this pull request may close these issues.

2 participants