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 <xcvi...@me.com> 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 <tcu...@vafer.org> 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 (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/etaffel%40me.com > > This email sent to etaf...@me.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com