cloudinary / ssimulacra2

SSIMULACRA 2. Perceptual metric.
BSD 3-Clause "New" or "Revised" License
161 stars 5 forks source link

Images can produce negative ssimulacra2 scores #2

Closed shssoichiro closed 2 years ago

shssoichiro commented 2 years ago

This seems to be an issue in the new version of the algorithm. Certain pairs of images can produce negative ssimulacra2 scores, which I'm assuming shouldn't be possible. For example, the following source/distorted image pair produces a score of -109.

source_-109

distorted_-109

shssoichiro commented 2 years ago

Never mind it seems this is intentionally a thing that can happen. Although it does seem a bit odd.