Message Boards Message Boards


Test results for ColorDistance built-in distance functions

Posted 11 months ago
2 Replies
0 Total Likes

2 Replies

Could you please post the code that produces this output?

First obtain the data from

ColorData["HTML", "ColoRules"]

and eliminate duplicate colors. Then loop through the distance measures built-in for ColorDistance:

For each of these, check the four properties listed in the table above (see 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.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract