dssim - Image similarity comparison simulating human perception (multiscale SSIM in C)

  •        277

This tool computes (dis)similarity between two or more PNG images using an algorithm approximating human vision.Comparison is done using the SSIM algorithm (based on Rabah Mehdi's implementation) at multiple weighed resolutions.

https://kornel.ski/dssim
https://github.com/pornel/dssim

Tags
Implementation
License
Platform

   




Related Projects

dssim - Image similarity comparison simulating human perception (multiscale SSIM in Rust)

  •    Rust

This tool computes (dis)similarity between two or more PNG images using an algorithm approximating human vision. Comparison is done using the SSIM algorithm at multiple weighed resolutions.

PerceptualSimilarity - Learned Perceptual Image Patch Similarity (LPIPS) metric. In CVPR, 2018.

  •    Python

This repository contains the (1) Learned Perceptual Image Patch Similarity (LPIPS) metric and (2) Berkeley-Adobe Perceptual Patch Similarity (BAPPS) dataset proposed in the paper below. It can also be used as an implementation of the "perceptual loss". The Unreasonable Effectiveness of Deep Features as a Perceptual Metric Richard Zhang, Phillip Isola, Alexei A. Efros, Eli Shechtman, Oliver Wang. In CVPR, 2018.

SetSimilaritySearch - All-pair set similarity search on millions of sets in Python and on a laptop (faster than MinHash LSH)

  •    Python

Efficient set similarity search algorithms in Python. For even better performance see the Go Implementation. A popular way to measure the similarity between two sets is Jaccard similarity, which gives a fractional score between 0 and 1.0.

UMLS Similarity

  •    Perl

UMLS::Similarity is a Perl/mysql package that measures the similarity between concepts found in the Unified Medical Language System (UMLS). At present it is only available via CPAN : http://search.cpan.org/dist/UMLS-Similarity


autoencoding_beyond_pixels - Generative image model with learned similarity measures

  •    Python

Implementation of the method described in our Arxiv paper. We present an autoencoder that leverages learned representations to better measure similarities in data space. By combining a variational autoencoder with a generative adversarial network we can use learned feature representations in the GAN discriminator as basis for the VAE reconstruction objective. Thereby, we replace element-wise errors with feature-wise errors to better capture the data distribution while offering invariance towards e.g. translation. We apply our method to images of faces and show that it outperforms VAEs with element-wise similarity measures in terms of visual fidelity. Moreover, we show that the method learns an embedding in which high-level abstract visual features (e.g. wearing glasses) can be modified using simple arithmetic.

Facial-Similarity-with-Siamese-Networks-in-Pytorch - Implementing Siamese networks with a contrastive loss for similarity learning

  •    Jupyter

The goal is to teach a siamese network to be able to distinguish pairs of images. This project uses pytorch. Any dataset can be used. Each class must be in its own folder. This is the same structure that PyTorch's own image folder dataset uses.

UMLS::Query

  •    Perl

UMLS::Query is an umbrella for projects that create measures of semantic similarity for the biomedical domain. Our current project is UMLS-Interface and UMLS-Similarity. Our JBI-2007 article was based on Semantic-Similarity and Snomed-Interface.

Text::Similarity

  •    Perl

This project will produce a set of machine measures of text document similarity. A measure of document similarity quantifies the degree to which two text documents are related.

gensim - Topic Modelling for Humans

  •    Python

Gensim is a Python library for topic modelling, document indexing and similarity retrieval with large corpora. Target audience is the natural language processing (NLP) and information retrieval (IR) community. If this feature list left you scratching your head, you can first read more about the Vector Space Model and unsupervised document analysis on Wikipedia.

tf-idf-similarity - Ruby gem to calculate the similarity between texts using tf*idf

  •    Ruby

Calculates the similarity between texts using a bag-of-words Vector Space Model with Term Frequency-Inverse Document Frequency (tf*idf) weights. If your use case demands performance, use Lucene (see below).

XML Processing Benchmark for Java

  •    

XML Processing Benchmark for Java (XPB4J) is a Java based performance measurement and comparison program for XML processing software such as parsers, transformers, processing pipelines etc.

SIM-DL (SimCat)

  •    Java

SIM-DL: Semantic Similarity Measurement Server for concepts (and individuals) represented using (expressive) Description Logics (DL).

imagehash - 🌄 Perceptual image hashing for PHP

  •    PHP

A perceptual hash is a fingerprint of a multimedia file derived from various features from its content. Unlike cryptographic hash functions which rely on the avalanche effect of small changes in input leading to drastic changes in the output, perceptual hashes are "close" to one another if the features are similar. Perceptual hashes are a different concept compared to cryptographic hash functions like MD5 and SHA1. With cryptographic hashes, the hash values are random. The data used to generate the hash acts like a random seed, so the same data will generate the same result, but different data will create different results. Comparing two SHA1 hash values really only tells you two things. If the hashes are different, then the data is different. And if the hashes are the same, then the data is likely the same. In contrast, perceptual hashes can be compared -- giving you a sense of similarity between the two data sets.

latency-benchmark - Tests web browser input latency and jank

  •    C

The Web Latency Benchmark is a new kind of benchmark that tests your browser's responsiveness by directly measuring latency and jank. Visit the homepage at http://google.github.io/latency-benchmark for examples of the kinds of latency and jank that are measured.The Oculus Latency Tester is a hardware device with a light sensor that can measure end-to-end latency from USB input to pixels changing on the screen. This kind of hardware-based measurement accounts for all possible sources of latency. It's the most complete and accurate measurement possible, and it's now supported by the Web Latency Benchmark. Just plug it in and you'll see a special test page.

turicreate - Turi Create simplifies the development of custom machine learning models.

  •    C++

Turi Create simplifies the development of custom machine learning models. You don't have to be a machine learning expert to add recommendations, object detection, image classification, image similarity or activity classification to your app. For detailed instructions for different varieties of Linux see LINUX_INSTALL.md. For common installation issues see INSTALL_ISSUES.md.

Sift String Distance and Similarity algorithm

  •    DotNet

This is my alternative to the Levenstein string distance algorithm. By looking for similarity locally, I made it really fast! Complexity O(n*constant) rather than O(n^2)

fuzzy_match - Find a needle (a document or record) in a haystack using string similarity and (optionally) regular expression rules

  •    Ruby

Find a needle in a haystack based on string similarity and regular expression rules. Replaces loose_tight_dictionary because that was a confusing name.

faiss - A library for efficient similarity search and clustering of dense vectors.

  •    C++

UPDATE: As of July 30 2017, the license on Faiss was relaxed to BSD from CC-BY-NC. Read LICENSE for details. Faiss is a library for efficient similarity search and clustering of dense vectors. It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM. It also contains supporting code for evaluation and parameter tuning. Faiss is written in C++ with complete wrappers for Python/numpy. Some of the most useful algorithms are implemented on the GPU. It is developed by Facebook AI Research.