hm.. I don't see the point of RGB here.
I have an array of hsv-locations, one for each color in my predefined list of colors.
Then I'll have the hsv-location of the pixel in an image, I iterate through the list of pre-defined colors, to see which one is the closest match.
I took HSV because I figured the HUE is quite an important factor, there's no such thing in RGB colorspace..
or do I miss something?
I have an array of hsv-locations, one for each color in my predefined list of colors.
Then I'll have the hsv-location of the pixel in an image, I iterate through the list of pre-defined colors, to see which one is the closest match.
I took HSV because I figured the HUE is quite an important factor, there's no such thing in RGB colorspace..
or do I miss something?