Take the 2-minute tour ×
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It's 100% free, no registration required.

I am familiar with additive (RGB), substractive (CMYK), and HSV-like colorspaces, but an article I'm currently trying to understand operates on YCbCr color space for image segmentation / object definition.

I've spend most of my morning looking for something that would explain the YCbCr naturally, but I just don't get it. I got a nice, intuitive explanation of the general idea behind this color space here, and explanation of how it's used for image coding/compression from these guys (all on photo.SE).

The formulas for calculating YCbCr from RGB is readily accessible on wikipedia.

I got the motivation for this representation, I got that Y component contains the most important (to the human eye) grey-scale information about the image.

I got that Cb and Cr carry information about the colors, and that (because of human eye (in)sensibility), they can be compressed without a visible lost in quality. But, what does each of the chrominance components actually represent?

As the article authors mention that "chrominance information is paramount in the definition of objects" in their approach, and I can not fully understand what I'm reading with my current "Y is intensity, Cb and Cr carry color information somehow" level of understanding YCbCr.

I'm seeking for an answer along the lines "Cb is..., while Cr is..." or "if you imagine looking through/with XY, you're actually looking at Cb component...", or some other way that would help me understand information carried by each of the components separately, not just that they, together, carry color information.

EDIT

Let me give examples of intuitive explanations for other color spaces of the type I'm looking for:

RGB: Like shining a colored flashlight on a black wall: If you shine with a blue flashlight, you see a blue reflection. If you add a red flashlight, it will show a magenta reflection, which is a mixture of blue and red.

CMYK: Like mixing watercolors, you "add to the colors the surface reflects", (i.e. subtracts color from the background) so if you mix a yellow one with a cyan one, if will reflect green and thus you will get a green color.

HSV: Little kids are attracted to highly saturated objects, not bright (value). The Hue component is what "gives the color", while low saturation means the color is "diluted" by white. Change in value makes the whole thing brighter or darker.

With this definitions, I've been able to get an intuitive feeling about what a color representation in each color space means, without memorizing charts for each of them.

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

$YUV$ (or $YCbCr$) is like $HSV$, but in different coordinates. (The difference between $YUV$ and $YCbCr$ is marginal - mostly related to exact formulas).

The $V$ component is the same. $(S,H)$ can be thought of as polar coordinates, and $U,V$ as cartesian. $H$ is the angle, $S$ is the radius. A rough conversion would be:

$ U = S *cos(H) $

$ V = S * sin(H) $

You can see this link for more information.

Another thing to add to your intuition list:

Saturation is how pure the color is from spectral point of view. For example, a laser has a very narrow spectrum, which implies high saturation.

share|improve this answer
    
can you add the explanation of the difference between YUV and YCbCr, for the sake of completeness? –  penelope Oct 31 '12 at 0:03
add comment

Not sure what you mean by "actually" represent, as neither RGB nor YUV represent either photon frequency or the typical human eyes rod/cone responses. But you can see what they look like to you by synthesizing some YCrCb color patches, such as (1,1,0), (1,-1,0), (1,0,1), (1,0,-1), etc.

Here's a Wikipedia page which includes a chart:

http://en.wikipedia.org/wiki/File:YCbCr-CbCr_Scaled_Y50.png

ADDED: RGB, and such, were almost designed (or evolved) to match a possible human intuitive understanding of perception (and color names turn out to be culturally learned). YUV is the opposite, designed such that noise in the UV area (added to a noisy NTSC subband) would be hard to see and thus be harder to describe. YCrCb is a variation on the same color mapping. So don't look for an existing "intuitive" insight, which may not exist. Perhaps create your own by "learning" the chart and building some brand new neural connections that may not currently exist in your brain (or something like that.)

share|improve this answer
    
I added examples for other color spaces of the type I would like to get for YCbCr. Hope this makes the type of explanation I'm seeking fore clearer. –  penelope Oct 30 '12 at 19:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.