Image similarity comparison simulating human perception (multiscale SSIM in Rust)
1.2k
Stars
80
Forks
8
Open issues
14
Contributors
AI Analysis
DSSIM is a specialized image similarity metric tool that measures perceptual differences between images using a multiscale SSIM algorithm implemented in Rust. It is purpose-built for image compression benchmarking and quality assessment where perceptual accuracy matters more than simple pixel-level comparison. This tool is primarily for image engineers, compression researchers, and quality assurance workflows in imaging pipelines—not for general-purpose image analysis.
Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.
AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.
Perceptual image comparison tool in Rust with multiscale SSIM; modest adoption in image processing workflows
dssim computes image similarity using a refined SSIM algorithm designed to approximate human vision. It operates at multiple scales in Lab color space, supports alpha channels and color profiles, and can be used as a CLI tool, C library, or Rust/WASM library. Primary users appear to be image compression researchers, quality assurance teams, and visual regression testers. Adoption is niche but appears sustained over 15 years; the tool is stable rather than rapidly growing.
Created in 2011 by Kornel Lesiński, dssim emerged as a response to limitations in standard SSIM implementations for perceptual image quality assessment. The project has evolved through algorithmic refinements (multiscale weighting, Lab color space adoption, linear-light RGB scaling) and has maintained dual licensing (AGPL/commercial) to support both open and proprietary use.
Star growth is slow and steady: 1 star in the last 7 days from a base of 1,181 suggests limited recent momentum, but the project has remained actively maintained for 15 years with consistent pushes (last push 2026-07-01). Growth appears driven by niche adoption in image compression benchmarking and visual regression testing rather than explosive visibility. Comparable tools (odiff at 3,056 stars, pixelmatch at 6,865 stars) have higher GitHub visibility, suggesting dssim occupies a smaller but specialized segment.
Adoption not verified through public case studies or prominent deployments documented in README. However, indirect signals suggest real-world use: (1) availability in package managers (Homebrew, Ubuntu Snaps), (2) C and WASM library APIs indicating integration into larger systems, (3) commercial licensing tier suggesting paying customers, (4) documentation on 'benchmarking image compression' implying researcher/practitioner audience. No endorsements or known major users listed.
Based on README, dssim implements a multiscale SSIM variant that operates in Lab color space with weighted spatial resolution handling. Likely uses a Rust core library (dssim-core) exposing C and WASM bindings. Appears to leverage multi-core CPUs for parallel processing. The architecture supports both binary and library modes, with documented APIs for Rust, C, and WASM consumers.
Not documented in README. README includes validation metrics (Spearman/Kendall correlations against TID2013 database for v3.2) but does not describe unit test coverage, integration test scope, or CI/CD pipelines.
Active maintenance: last push 2026-07-01 (2 days before analysis date). Repository shows consistent activity over 15 years with regular version releases. Rust version requirement (1.63+) appears current. No signals of abandonment; slow growth should not be confused with decay. Dual licensing model may indicate sustained commercial interest.
ADOPT IF: you are benchmarking image compression quality and need perceptual accuracy aligned with human vision perception, require multiscale SSIM with Lab color space support, or need a C/Rust library for visual QA integration. AVOID IF: you need high-visibility community support, abundant third-party integrations, or prefer JavaScript/Python ecosystems for web-based visual regression (use pixelmatch instead). MONITOR IF: you are building image quality tools and considering SSIM as a component; dssim's academic validation (TID2013 correlations) and 15-year stability make it a credible foundation, but adoption signals remain modest.
Independent dimensions
Mainstream potential
3/10
Technical importance
7/10
Adoption evidence
4/10
- AGPL licensing may deter proprietary software integration; commercial license option exists but adds friction and cost.
- Adoption appears concentrated in specialized niche (compression researchers, QA teams); limited evidence of mainstream visual regression tool usage.
- Slow growth trajectory (1 star/week) suggests limited ecosystem momentum; maintenance is steady but not expanding.
- Validation metrics (TID2013) are from academic database, not production deployment benchmarks; real-world performance claims unverified.
- C/WASM API surface not detailed in README; binding maintenance burden and API stability over time unclear.
dssim will likely remain a stable, niche tool for image compression benchmarking and specialized visual quality assessment. Slow growth will continue as long as Rust ecosystem and perceptual imaging communities value it. Unlikely to challenge broader visual regression ecosystems (pixelmatch, odiff) but may deepen adoption in scientific/compression research domains.
Newsletter
Get analyses like this every Monday
Free weekly digest of the most interesting open-source discoveries.
Languages
Information
- Website
- https://kornel.ski/dssim
- Language
- Rust
- License
- AGPL-3.0
- Last updated
- 1w ago
- Created
- 187mo ago
- Analyzed with
- anthropic/claude-haiku-4-5
Stars over time
Contributors over time
Top 100 contributors only — repos with more will plateau at 100.
Open issues
Feature request: Provide mapping to scale such as JPEG Quality
Heap Buffer Overflow leading to Core Dump via vulnerable `libwebp` dependency (CVE-2023-4863)
Why does the -o flag create 5 images in different sizes
Feature request: set `scale_weights` in CLI
Excessive memory consumption with multiple modified files in CLI
Top contributors
Similar repos
dmtrKovalenko/odiff
ODiff is a high-performance SIMD-optimized image comparison library that...
| Repository | Stars | Week Δ | Language | Score | Updated |
|---|---|---|---|---|---|
|
|
1.2k | +5 | Rust | 8/10 | 1w ago |
|
|
3.1k | — | Zig | 8/10 | 4w ago |
|
|
1.3k | — | Rust | 8/10 | 2mo ago |
|
|
5.8k | — | Rust | 8/10 | 3d ago |
|
|
2.3k | — | C++ | 7/10 | 21h ago |
|
|
1.1k | — | Rust | 8/10 | 7d ago |
Higher GitHub visibility; similar perceptual comparison focus but written in Zig. dssim offers multiscale Lab-space SSIM with color profile support; odiff's specific algorithm not detailed in this analysis. dssim has 15-year history and commercial licensing; odiff appears newer.
Significantly higher adoption; JavaScript-based makes it web-native. pixelmatch is simpler/faster for pixel-level diff; dssim emphasizes perceptual accuracy via multiscale SSIM. Different use cases: pixelmatch for visual regression testing, dssim for compression quality assessment.
General-purpose image processing library; dssim is single-purpose (similarity). image-rs offers broader image manipulation; dssim is specialized metric. Could be complementary rather than competitive.
Rust-based image tool but focused on sprite/pixel manipulation, not similarity metrics. Serves different problem domain.
Low-level performance library unrelated to image metrics. dssim may use SIMD internally but serves entirely different purpose.