image-compare

Crates.io Documentation CI Coverage Status License

Simple image comparison in rust based on the image crate

Note that this crate is still work in progress. Algorithms are not cross-checked. Everything is implemented in plain CPU with rayon multithreading and seems to perform just fine on modern processors. Neither memory optimizations nor SIMD seemed to provide any remarkable improvement.

Supported now:

Changelog: 0.3.0: - An error was found in hybrid RGB compare in 0.2.x that over-weighted color differences. Numbers in tests were adjusted - Influence was very small for most images but noticeable for the color-filtered one which yields much higher similarity now - Added an idea for RGBA comparison - Added GitHub inline latex for equations instead of embedded images - fixes dark theme rendering