All Projects → jterrace → Pyssim

jterrace / Pyssim

Licence: mit
A Python module for computing the Structural Similarity Image Metric (SSIM)

Projects that are alternatives of or similar to Pyssim

Reinforcement Learning
Implementation of Reinforcement Learning Algorithms. Python, OpenAI Gym, Tensorflow. Exercises and Solutions to accompany Sutton's Book and David Silver's course.
Stars: ✭ 17,453 (+5918.28%)
Mutual labels:  jupyter-notebook
Thinking In Tensors Writing In Pytorch
Thinking in tensors, writing in PyTorch (a hands-on deep learning intro)
Stars: ✭ 287 (-1.03%)
Mutual labels:  jupyter-notebook
Dianping textmining
大众点评评论文本挖掘,包括点评数据爬取、数据清洗入库、数据分析、评论情感分析等的完整挖掘项目
Stars: ✭ 289 (-0.34%)
Mutual labels:  jupyter-notebook
Styleclip
Stars: ✭ 285 (-1.72%)
Mutual labels:  jupyter-notebook
Stock market
Stars: ✭ 286 (-1.38%)
Mutual labels:  jupyter-notebook
Eif
Extended Isolation Forest for Anomaly Detection
Stars: ✭ 287 (-1.03%)
Mutual labels:  jupyter-notebook
Building Machine Learning Pipelines
Code repository for the O'Reilly publication "Building Machine Learning Pipelines" by Hannes Hapke & Catherine Nelson
Stars: ✭ 284 (-2.07%)
Mutual labels:  jupyter-notebook
Sscnet
Semantic Scene Completion from a Single Depth Image
Stars: ✭ 290 (+0%)
Mutual labels:  jupyter-notebook
Python
This repository helps you understand python from the scratch.
Stars: ✭ 285 (-1.72%)
Mutual labels:  jupyter-notebook
Tensorflow Glove
An implementation of GloVe in TensorFlow
Stars: ✭ 288 (-0.69%)
Mutual labels:  jupyter-notebook
Covid Qa
API & Webapp to answer questions about COVID-19. Using NLP (Question Answering) and trusted data sources.
Stars: ✭ 283 (-2.41%)
Mutual labels:  jupyter-notebook
Fire Detect Yolov4
fire-smoke-detection-dataset and fire-detection-yolov4-v5,火灾检测,烟雾检测
Stars: ✭ 280 (-3.45%)
Mutual labels:  jupyter-notebook
Code
Compilation of R and Python programming codes on the Data Professor YouTube channel.
Stars: ✭ 287 (-1.03%)
Mutual labels:  jupyter-notebook
Google Research
Google Research
Stars: ✭ 20,927 (+7116.21%)
Mutual labels:  jupyter-notebook
Simple Faster Rcnn Pytorch
A simplified implemention of Faster R-CNN that replicate performance from origin paper
Stars: ✭ 3,422 (+1080%)
Mutual labels:  jupyter-notebook
100 Days Of Ml Code
100-Days-Of-ML-Code中文版
Stars: ✭ 16,797 (+5692.07%)
Mutual labels:  jupyter-notebook
Building A Simple Chatbot In Python Using Nltk
Building a Simple Chatbot from Scratch in Python (using NLTK)
Stars: ✭ 286 (-1.38%)
Mutual labels:  jupyter-notebook
Python for data science
A rapid on-ramp primer for programmers who want to learn Python for doing data science research and development.
Stars: ✭ 290 (+0%)
Mutual labels:  jupyter-notebook
Image Captioning
Image Captioning using InceptionV3 and beam search
Stars: ✭ 290 (+0%)
Mutual labels:  jupyter-notebook
Bokeh Cn
Bokeh中文文档(翻译中)
Stars: ✭ 288 (-0.69%)
Mutual labels:  jupyter-notebook

pyssim

This module implements the Structural Similarity Image Metric (SSIM). Original code written by Antoine Vacavant from http://isit.u-clermont1.fr/~anvacava/code.html, with modifications by Christopher Godfrey and Jeff Terrace.

Build Status

Installation

pip install pyssim

Running

$ pyssim --help
usage: pyssim [-h] image1.png image path with* or image2.png

Compares an image with a list of images using the SSIM metric.
  Example:
    pyssim test-images/test1-1.png "test-images/*"

positional arguments:
  image1.png
  image path with* or image2.png

optional arguments:
  -h, --help            show this help message and exit
  --cw                  compute the complex wavelet SSIM
  --width WIDTH         scales the image before computing SSIM
  --height HEIGHT       scales the image before computing SSIM

Compatibility

pyssim is known to work with Python 2.7, 3.4 and 3.5 and we test these versions on Travis CI to make sure they keep working.

Development

To run from a local git client:

PYTHONPATH="." python ssim

To run the lint checks:

pylint --rcfile=.pylintrc -r n ssim setup.py

To test:

$ PYTHONPATH="." python ssim test-images/test1-1.png "test-images/*"
test-images/test1-1.png - test-images/test1-1.png: 1
test-images/test1-1.png - test-images/test1-2.png: 0.9980119
test-images/test1-1.png - test-images/test2-1.png: 0.6726952
test-images/test1-1.png - test-images/test2-2.png: 0.6485879

References

  • [1] Z. Wang, A. C. Bovik, H. R. Sheikh and E. P. Simoncelli. Image quality assessment: From error visibility to structural similarity. IEEE Transactions on Image Processing, 13(4):600--612, 2004.
  • [2] Z. Wang and A. C. Bovik. Mean squared error: Love it or leave it? - A new look at signal fidelity measures. IEEE Signal Processing Magazine, 26(1):98--117, 2009.
  • [3] Z. Wang and E.P. Simoncelli. Translation Insensitive Image Similarity in Complex Wavelet Domain. Acoustics, Speech, and Signal Processing, 2005. Proceedings. (ICASSP '05). IEEE International Conference on , vol.2, no., pp.573,576, March 18-23, 2005
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].