Re: Color closest to color
Re: Color closest to color
- Subject: Re: Color closest to color
- From: edward taffel <email@hidden>
- Date: Tue, 17 Jun 2014 10:02:37 -0400
you may wish to look up ‘Delta E’. [what has this to do w/ cocoa?]
On Jun 17, 2014, at 9:29 AM, Maxthon Chan <email@hidden> wrote:
> Alternatively I have an idea based on HSB colours: difference in hue in radians raised to 4th power (or 6th) plus squared Euclidean distance of saturation and brightness.
>
> On Jun 17, 2014, at 21:22, Torsten Curdt <email@hidden> wrote:
>
>> RGB is not perceptually uniform, hence the Euclidean distance is not quite right.
>> Wikipedia and Stackoverflow has more information on this:
>>
>> http://en.wikipedia.org/wiki/Color_difference
>> http://stackoverflow.com/questions/9018016/how-to-compare-two-colors
>>
>> cheers,
>> Torsten
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden