https://github.com/bytespider/ssim
The structural similarity (SSIM) index is a method for measuring the similarity between two images. http://en.wikipedia.org/wiki/Structural_similarity
https://github.com/bytespider/ssim
Last synced: 12 months ago
JSON representation
The structural similarity (SSIM) index is a method for measuring the similarity between two images. http://en.wikipedia.org/wiki/Structural_similarity
- Host: GitHub
- URL: https://github.com/bytespider/ssim
- Owner: bytespider
- License: mit
- Created: 2014-01-31T14:33:12.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2021-02-04T08:44:23.000Z (over 5 years ago)
- Last Synced: 2025-06-21T08:51:08.498Z (12 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ssim
http://en.wikipedia.org/wiki/Structural_similarity
The structural similarity (SSIM) index is a method for measuring the similarity between two images. The SSIM index is a
full reference metric; in other words, the measuring of image quality based on an initial uncompressed or distortion-free
image as reference. SSIM is designed to improve on traditional methods like peak signal-to-noise ratio (PSNR) and mean
squared error (MSE), which have proven to be inconsistent with human eye perception.
# example
```
var ssim = require('ssim');
var result = ssim(image1, image2);
// for better performance it maybe better to operate on windows of image data then average the results.
```
# license
MIT