color_difference
This is an old revision of the document!
Color Distance
Red ≠ Blue, but Red is close to pink. How would you measure the difference between two colors? If you figure out a metric for measuring the difference between two colors, you could train computers how to compare and manipulate pictures.
You could use the distance formula from Euclid using the Red-Green-Blue values from a digital picture like it were a 3D (x, y, z) way: ,
In March 2024 Tim Chartler (and friends) published Data Science Distance: When Close seems far. The article describes switching from Euclidean distance
color_difference.1749923103.txt.gz · Last modified: 2025/06/14 13:45 by frchris