graphics/dssim 3.2.4_37 FreeBSD
Image similarity comparison simulating human perception
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- AGPLv3+
- Categories
- graphics
- Package size
- 881.7 KiB, 1980.5 KiB installed
Description
This tool computes (dis)similarity between two or more PNG images using an algorithm approximating human vision.
Comparison is done in L*a*b* 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 L*a*b* 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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | graphics/dssim | 3.2.4_37 |
| HardenedBSD | graphics/dssim | 3.2.4_35 |
| GhostBSD | graphics/dssim | 3.2.4_35 |
Install
Binary package:
pkg install dssim
From the ports tree:
cd /usr/ports/graphics/dssim/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= dssim>0:graphics/dssim
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.2.4_36 | 3.2.4_37 | - | 3.2.4_25 | 3.2.4_37 |
| FreeBSD:14:quarterly | 3.2.4_35 | 3.2.4_35 | n/a | 3.2.4_24 | 3.2.4_35 |
| FreeBSD:15:latest | 3.2.4_37 | 3.2.4_37 | n/a | 3.2.4_25 | 3.2.4_25 |
| FreeBSD:15:quarterly | 3.2.4_35 | 3.2.4_35 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.2.4_35 | 3.2.4_37 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 19
No port depends on this one.
Configuration
No options to configure.
- USES
- cargo
- Service scripts
- none
Message after installing
Files
distinfo 70
| File | Size | SHA256 |
|---|---|---|
| rust/crates/dssim-3.2.4.crate | 22402 | 3ea54acfcd238d680c2c720a5eef56d210aaabc7582a48615602bcdf0c9a5894 |
| rust/crates/adler-1.0.2.crate | 12778 | f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe |
| rust/crates/ahash-0.7.6.crate | 38030 | fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47 |
| rust/crates/aom-decode-0.2.4.crate | 10399 | e1adbf5e66bba769d936f6006611803b46e2bfed4da89279b2cfea3cdf9532df |
| rust/crates/autocfg-1.1.0.crate | 13272 | d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa |
| rust/crates/avif-parse-1.0.0.crate | 24672 | 87fb3f9afbbb9f71ae53da13771284895f51c6acc77cfb3571ab966780250dee |
| rust/crates/bitreader-0.3.6.crate | 11525 | d84ea71c85d1fe98fe67a9b9988b1695bc24c0b0d3bfb18d4c510f44b4b09941 |
| rust/crates/bytemuck-1.12.3.crate | 39835 | aaa3a8d9a1ca92e282c96a32d6511b695d7d994d1d102ba85d279f9b2756947f |
| rust/crates/byteorder-1.4.3.crate | 22512 | 14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610 |
| rust/crates/cc-1.0.76.crate | 60132 | 76a284da2e6fe2092f2353e51713435363112dfd60030e22add80be333fb928f |
| rust/crates/cfg-if-1.0.0.crate | 7934 | baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd |
| rust/crates/cmake-0.1.49.crate | 16717 | db34956e100b30725f2eb215f90d4871051239535632f84fea3bc92722c66b7c |
| rust/crates/crc32fast-1.3.2.crate | 38661 | b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d |
| rust/crates/crossbeam-channel-0.5.6.crate | 90292 | c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521 |
| rust/crates/crossbeam-deque-0.8.2.crate | 21237 | 715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc |
| rust/crates/crossbeam-epoch-0.9.11.crate | 47900 | f916dfc5d356b0ed9dae65f1db9fc9770aa2851d2662b988ccf4fe3516e86348 |
| rust/crates/crossbeam-utils-0.8.12.crate | 41785 | edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac |
| rust/crates/dssim-core-3.2.5.crate | 28387 | c0286ae9482caf2cc3fb8ce55c5ff7dc1986425f36fd8423f00e38a83b4169fb |
| rust/crates/dunce-1.0.3.crate | 8035 | 0bd4b30a6560bbd9b4620f4de34c3f14f60848e58a9b7216801afcb4c7b31c3c |
| rust/crates/either-1.8.0.crate | 15992 | 90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797 |
Master sites 1
- CRATESIO/dssim/${DISTNAME}${CARGO_CRATE_EXT}