Weighted colour matches

We were figuring that it might be useful to have a colour match that was in some way relevancey ranked, so I have been working on ways to achieve this.

What we have now is a result set that is sorted according to the position of the frequent colours in the image.  We also know where each cell is in the image, and can calulate – at it’s simplest – a sort order based on centre weighting.

Need an example?  These examples will take a moment or two to calculate…

Try this one: Test number one.
Or this one: Test number two.

We divide the image into an odd number of cells, ensuring that there is one in the middle. We then scan each cell and analyse the colour content.  Then we give you the results.

Simple yet strangely satisfying, and not only that, but you can analyse an image from any source, be it File, URL or book jacket retrieved by isbn search courtesy of the Talis Platform.

Tags: ,

Leave a Reply