Precision color searching with Gmagick and Amazon Elastic MapReduce November 2, 2009
There are many insights that we can gain by considering colors. For example, a search for Manchester football teams will yield more meaningful results if colors close to either primary red or blue is specified, and that certainly makes all the difference.
Searching for colors
We can also use information implicit in colors to fulfill our search requirements without additional search support structure. If we want to search for the Victoria line on London's useful tube map for example, we could search for the light blue color RGB(24, 132, 188) instead of having to set up the vector structures or other means to enable highlighting of the line. With Gmagick, we can highlight search results as we shall see further on in this section.
More specificity in terms of colors and positions certainly helps too. Consider a situation where we are looking for a red roof in a collection of paintings. Knowing the opacity and location of red occurrences helps in narrowing down the scope of search.
The necessary challenge with enhancing specificity is that ultimately latent in all human endeavors, that of resource constrain. A typical image usually contains millions of pixels. Storing and indexing a large amount of images is resource intensive depending on the quantization level. While computing resources in the domain of individual servers had and will continue to increase dramatically, the cloud has presented itself as a practical and available solution for us to do such resource intensive tasks.
(more...)