Original Post
Lets say I have one image of 10 pixels, and another of 1 pixel. I need to see which of the 10 pixels best matches the other image - not value wise, but how a human would see it. For example, two shades of blue. First I used: r2+toleration < r1 < r2-toleration g2+toleration < g1 < g2-toleration b2+toleration < b1 < b2-toleration Second, I used Euclidean distance on the RGB aka (r1-r2)^2+(g1-g2)^2+(b1-b2)^2 < toleration It didn't not work well - it worked pretty badly in fact. I also tried using HSB - but no luck. [So far, #1 worked the best for me - best for shades of a color, but not good enough :( ] Can anyone suggest some better ways to do it? P.S. Does anyone know how to convert HSB to 3D space?