Testing out color distance formulas in Rust

This commit is contained in:
2024-10-22 09:16:57 -07:00
parent 5d5ea914c7
commit ba1337147b
5 changed files with 193 additions and 14 deletions
+19
View File
@@ -241,8 +241,11 @@ version = "0.1.0"
dependencies = [
"anyhow",
"clap",
"empfindung",
"image",
"lab",
"ordered-float",
"rand",
]
[[package]]
@@ -303,6 +306,16 @@ version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
[[package]]
name = "empfindung"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8af095ec32b4a626b56a2e188515e4e5480d82b02e5d8a830fdb61934226b0df"
dependencies = [
"lab",
"rgb",
]
[[package]]
name = "equivalent"
version = "1.0.1"
@@ -486,6 +499,12 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0"
[[package]]
name = "lab"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf36173d4167ed999940f804952e6b08197cae5ad5d572eb4db150ce8ad5d58f"
[[package]]
name = "lebe"
version = "0.5.2"