I have a bit of a problem. I have a list of numbers (RGBRed) and im trying to find the odd one out. For instance.
c1 = 51
c2 = 50
c3 = 49
c4 = 52
c5 = 51
c6 = 52
c7 = 44
Theres always 7 numbers, and theres always 1 odd color.
I was thinking of taking the average, then taking the absolute value of the differnce of the numbers. The one with the highest differnce should be the odd one out most of the time (as its only the red in the pixel). How would I use the max or the ceil command to find the farthest off of the number so I can single it out?
Or if anyone has any other ideas to find the odd color out, id be greatful.