BSD Ports

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

SystemPortVersion
FreeBSDgraphics/dssim3.2.4_37
HardenedBSDgraphics/dssim3.2.4_35
GhostBSDgraphics/dssim3.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.2.4_363.2.4_37-3.2.4_253.2.4_37
FreeBSD:14:quarterly3.2.4_353.2.4_35n/a3.2.4_243.2.4_35
FreeBSD:15:latest3.2.4_373.2.4_37n/a3.2.4_253.2.4_25
FreeBSD:15:quarterly3.2.4_353.2.4_35n/an/an/a
FreeBSD:16:latest3.2.4_353.2.4_37n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

===>   NOTICE:

The dssim port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 70
FileSizeSHA256
rust/crates/dssim-3.2.4.crate224023ea54acfcd238d680c2c720a5eef56d210aaabc7582a48615602bcdf0c9a5894
rust/crates/adler-1.0.2.crate12778f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
rust/crates/ahash-0.7.6.crate38030fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47
rust/crates/aom-decode-0.2.4.crate10399e1adbf5e66bba769d936f6006611803b46e2bfed4da89279b2cfea3cdf9532df
rust/crates/autocfg-1.1.0.crate13272d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
rust/crates/avif-parse-1.0.0.crate2467287fb3f9afbbb9f71ae53da13771284895f51c6acc77cfb3571ab966780250dee
rust/crates/bitreader-0.3.6.crate11525d84ea71c85d1fe98fe67a9b9988b1695bc24c0b0d3bfb18d4c510f44b4b09941
rust/crates/bytemuck-1.12.3.crate39835aaa3a8d9a1ca92e282c96a32d6511b695d7d994d1d102ba85d279f9b2756947f
rust/crates/byteorder-1.4.3.crate2251214c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610
rust/crates/cc-1.0.76.crate6013276a284da2e6fe2092f2353e51713435363112dfd60030e22add80be333fb928f
rust/crates/cfg-if-1.0.0.crate7934baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
rust/crates/cmake-0.1.49.crate16717db34956e100b30725f2eb215f90d4871051239535632f84fea3bc92722c66b7c
rust/crates/crc32fast-1.3.2.crate38661b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d
rust/crates/crossbeam-channel-0.5.6.crate90292c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521
rust/crates/crossbeam-deque-0.8.2.crate21237715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc
rust/crates/crossbeam-epoch-0.9.11.crate47900f916dfc5d356b0ed9dae65f1db9fc9770aa2851d2662b988ccf4fe3516e86348
rust/crates/crossbeam-utils-0.8.12.crate41785edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac
rust/crates/dssim-core-3.2.5.crate28387c0286ae9482caf2cc3fb8ce55c5ff7dc1986425f36fd8423f00e38a83b4169fb
rust/crates/dunce-1.0.3.crate80350bd4b30a6560bbd9b4620f4de34c3f14f60848e58a9b7216801afcb4c7b31c3c
rust/crates/either-1.8.0.crate1599290e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797
Master sites 1
  • CRATESIO/dssim/${DISTNAME}${CARGO_CRATE_EXT}

Commit history 5

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
396c159306 Alan Somers */*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the compat-11 symbols until version 0.2.176. Patch a great many Rust ports to use a newer version of libc, to eliminate the dependency on COMPAT11. Explicitly patching Cargo.lock isn't usually necessarily, since within the build jail cargo is forced to use whichever crates Makefile.crates installs there. Notes on specific ports: * textproc/bookokrat: Rework bookokrat's existing patch to be more robust. Also, report the issue upstream: https://github.com/bugzmanov/bookokrat/issues/182 * security/sequoia-chameleon-gnupg security/sequoia-sq "cargo update -p libc" insisted on updating some other crates, too. * devel/cargo-generate finance/tickrs net-im/gurk-rs net-p2p/oura textproc/mdbook-linkcheck www/lychee …
162d8b0284 Jan Beich all: unbreak fetch after bc18f00c490c
fetch: https://static.crates.io/crates/cargo-c/0.10.25+cargo-0.99.0?dummy=/rust/crates/cargo-c-0.10.25+cargo-0.99.0.crate: Forbidden fetch: https://static.crates.io/crates/desed/1.2.2?dummy=/rust/crates/desed-1.2.2.crate: Forbidden fetch: https://static.crates.io/crates/fsx/0.3.2?dummy=/rust/crates/fsx-0.3.2.crate: Forbidden fetch: https://static.crates.io/crates/gbump/1.3.0?dummy=/rust/crates/gbump-1.3.0.crate: Forbidden fetch: https://static.crates.io/crates/bindgen-cli/0.72.1?dummy=/rust/crates/bindgen-cli-0.72.1.crate: Forbidden fetch: https://static.crates.io/crates/cbindgen/0.29.4?dummy=/rust/crates/cbindgen-0.29.4.crate: Forbidden fetch: https://static.crates.io/crates/doh-proxy/0.9.16?dummy=/rust/crates/doh-proxy-0.9.16.crate: Forbidden …
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645