[OT] a good color distance function
Justin Johansson
no at spam.com
Fri Oct 15 01:05:42 PDT 2010
On 15/10/2010 1:16 AM, BCS wrote:
> Hello Justin,
>
> I'd work in HSV. convert the hue channel to an absolute difference and
> then combine with a weighted sum. You might also take a look at some
> graphics design ideas about the color wheel (e.g. make the f(H) have
> peeks for complementary colors) and you could have some fun with a crowd
> sourced fitness function driving a GA to get the tuning factors right.
>
Thanks BCS for these useful ideas.
Cheers, Justin
More information about the Digitalmars-d
mailing list