Dssim

Jul 20, 2023

Image similarity comparison simulating human perception

This tool computes dissimilarity between two or more PNG images using an algorithm approximating human vision.

Comparison is done in Lab* color space D65 white point, sRGB gamma using a multi-scale variant of the SSIM algorithm.

Features

  • Improved algorithm
    • Compares at multiple weighed resolutions, and scaling is done in linear-light RGB. It’s sensitive to distortions of various sizes and blends colors correctly to detect e.g. chroma subsampling errors.
    • Uses Lab* color space for the SSIM algorithm. It measures brightness and color much better than metrics from average of RGB channels.
  • Supports alpha channel.
  • Supports images with color profiles.
  • Takes advantage of multi-core CPUs.
  • Can be used as a library in C, Rust, and WASM.
  • No OpenCV or MATLAB needed.


Checkout these related ports:
  • Zphoto - Zooming photo album generator
  • Zint - Barcode generator (library and utilities)
  • Zimg - Image-generator that uses ASCII input files to create PNGs/EDFs
  • Zgv - Graphics viewer for SVGAlib
  • Zbar - ZBar barcode reader
  • Zathura - Customizable lightweight pdf viewer
  • Zathura-ps - PostScript support for Zathura PDF viewer
  • Zathura-pdf-poppler - Poppler render PDF plugin for Zathura PDF viewer
  • Zathura-pdf-mupdf - MuPDF render PDF plugin for Zathura PDF viewer
  • Zathura-djvu - DjVu support for zathura
  • Zathura-cb - Comic book plugin for Zathura PDF viewer
  • Yukon - Real-time capture tool for OpenGL applications
  • Yed - Editor for graphs and diagrams
  • Yafaray - Montecarlo raytracing engine
  • Yacreader - Yet another comic reader