Eight paper-grade image metrics, no literature review required
It bundles eight disparate image-similarity metrics—from common workhorses to obscure paper-grade indices—into a single Python package and CLI, sparing you from scattered academic implementations.

What it does
image-similarity-measures is a Python library and CLI tool that quantifies how alike two images are using eight different indices. It covers common metrics like RMSE, PSNR, and SSIM alongside more obscure ones—FSIM, ISSM, SAM, SRE, and UIQ—that usually require digging through individual papers to find. Born from super-resolution research on multispectral satellite imagery, it also offers optional rasterio support for TIFF files and emits machine-readable JSON from the command line.
The interesting bit The project’s real work is curation, not invention: it wraps eight academic-grade similarity measures into one consistent API so you don’t have to maintain a folder of scattered implementations. That uniformity is the quiet convenience here.
Key highlights
- Eight metrics in one box: RMSE, PSNR, SSIM, FSIM, ISSM, SRE, SAM, and UIQ.
- Dual interface: importable Python module or CLI tool that returns JSON.
- Optional
pyfftwacceleration for faster FSIM evaluation. - Optional
rasteriobackend for reading TIFF images instead of OpenCV. - Requires Python 3.10 or newer.
Caveats
- The README has visible typos (e.g., “beteween”) and labels a Python import block as
bash, so the docs feel lightly proofread. - It mandates channel-last images but is vague on expected dtypes or value ranges, which may cause head-scratching if your arrays are normalized unexpectedly.
- Because it is fundamentally a curated collection of existing metrics, developers who only need SSIM or PSNR may find the broader suite and its optional dependencies overkill.
Verdict
Reach for this if you’re benchmarking image reconstruction—especially in remote sensing—and want paper-grade metrics without the literature hunt. If you just need a quick SSIM from scikit-image, this is more toolbox than you need.
Frequently asked
- What is nekhtiari/image-similarity-measures?
- It bundles eight disparate image-similarity metrics—from common workhorses to obscure paper-grade indices—into a single Python package and CLI, sparing you from scattered academic implementations.
- Is image-similarity-measures open source?
- Yes — nekhtiari/image-similarity-measures is open source, released under the MIT license.
- What language is image-similarity-measures written in?
- nekhtiari/image-similarity-measures is primarily written in Python.
- How popular is image-similarity-measures?
- nekhtiari/image-similarity-measures has 647 stars on GitHub.
- Where can I find image-similarity-measures?
- nekhtiari/image-similarity-measures is on GitHub at https://github.com/nekhtiari/image-similarity-measures.