Message Boards Message Boards

0
|
3630 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Test results for ColorDistance built-in distance functions

Posted 3 years ago

POSTED BY: Richard Frost
2 Replies

Could you please post the code that produces this output?

POSTED BY: Kapio Letto

First obtain the data from

ColorData["HTML", "ColoRules"]

and eliminate duplicate colors. Then loop through the distance measures built-in for ColorDistance: https://reference.wolfram.com/language/ref/ColorDistance.html

For each of these, check the four properties listed in the table above (see https://mathworld.wolfram.com/Metric.html and distance[a,b] > 0 for all a != b), collecting pertinent information.

Afterwards, summarize the results in a Table[], using Histogram[] to produce the charts in the last row.

POSTED BY: Richard Frost
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract