jterrace / pyssim

A Python module for computing the Structural Similarity Image Metric (SSIM)
MIT License
339 stars 62 forks source link

Compare grayscale pictures with SSIM and CW-SSIM #42

Open Hs-Cheng opened 1 year ago

Hs-Cheng commented 1 year ago

Hi,

I would like to ask several questions related to SSIM and pyssim.

  1. Can I use SSIM to compare the similarity of two gray scale pictures?
  2. When I compared the following two pictures (please see the attached pictures), SSIM gave me a score of 0.95. However, CW-SSIM only gave me 0.44. I am confused. Could you please try to explain what made the scores differ so much? I would like to ask why I can get a high score with SSIM but a low score with CW-SSIM.

Thank you very much for your assistance.

image_12_gray image_12_gray