Reputation: 6828
Let's assume, I had a bunch of colorful pictures and I wanted to group them by their predominant color. So that in the end I get all blueish pictures, yellowish, greenish, greyish and whateverish as different groups, a bit like google image search can do it. Also I do not want groups with less than, say, 3 pictures and put pictures falling into these groups into the next best color group (So I also need group similarity).
How would I go about this? I have no idea.
In Ruby.
Upvotes: 1
Views: 328
Reputation: 4920
I would use a color histogram with an euclidean distance to measure the color similarity between images. Click here and search for Color histogram definition. It's a pretty simple approach for such problem
Upvotes: 1