# Tag Archives | color

## Labeling superpixel colorfulness with OpenCV and Python

After our previous post on computing image colorfulness was published, Stephan, a PyImageSearch reader, left a comment on the tutorial asking if there was a method to compute the colorfulness of specific regions of an image (rather than the entire image). There are multiple ways of attacking this problem. The first could be to apply […]

## Computing image “colorfulness” with OpenCV and Python

Today’s blog post is inspired by a question I received from a PyImageSearch reader on Twitter, @makingyouthink. Paraphrasing the tweets myself and @makingyouthink exchanged, the question was: Have you ever seen a Python implementation of Measuring colourfulness in natural images (Hasler and Süsstrunk, 2003)? I would like to use it as an image/produce search engine. […]

## Determining object color with OpenCV

This is the final post in our three part series on shape detection and analysis. Previously, we learned how to: Compute the center of a contour Perform shape detection & identification Today we are going to perform both shape detection and color labeling on objects in images. At this point, we understand that regions of an image […]

## OpenCV and Python Color Detection

So, here I am. Riding the Amtrak 158 train, coming home after a long business trip. It’s hot. The AC is barely working. A baby is screaming right next to me while the accompanying mother looks forlornly out the window, clearly questioning whether or not having a child was the right life decision. And to […]

## Charizard Explains How To Describe and Quantify an Image Using Feature Vectors

If you haven’t noticed, the term “feature vector” is used quite often in this blog. And while we’ve seen it a lot, I wanted to dedicate an entire post to defining what exactly a feature vector is. What is an Image Feature Vector? Image Feature Vector: An abstraction of an image used to characterize and […]

## Building an Image Search Engine: Indexing Your Dataset (Step 2 of 4)

Last Wednesday’s blog post reviewed the first step of building an image search engine: Defining Your Image Descriptor. We then examined the three aspects of an image that can be easily described: Color: Image descriptors that characterize the color of an image seek to model the distribution of the pixel intensities in each channel of the […]

## Building an Image Search Engine: Defining Your Image Descriptor (Step 1 of 4)

On Monday, I showed you how to build an awesome Lord of the Rings image search engine, from start to finish. It was a lot of fun and we learned a lot. We made use of OpenCV image descriptors. More importantly, we got to look at some real-world code to see how exactly an image […]

## Clever Girl: A Guide to Utilizing Color Histograms for Computer Vision and Image Search Engines

It’s…it’s a histogram. – Dr. Grant Okay. So maybe that isn’t the exact quote. But I think Dr. Grant would have been equally thrilled had he known the power of color histograms. And more importantly, when the power goes out, the histograms don’t eat the tourists. So, what exactly is a histogram? A histogram represents the distribution […]

[email]
[email]