Original Post
I am trying to find which 2 images out of a set of images look the most alike. Currently I am using the sum each color component after XOR ing the pixels of the 2 images, and doing this with every image combination. for all pixels diffpixel = pixel1 XOR pixel2 sum += RED(diffpixel) + GREEN(diffpixel) + BLUE(diffpixel) I was wondering if anyone had any suggestions for a better image matching algorithm, would converting to HSV be better, and why?