Painting HD Cameras - Basic Colorimetry

Painting HD Cameras - Basic Colorimetry

© 2009 NegativeSpaces (revised January, 2014)

Technical Notes:

The images used in this article were created with a Panasonic HDX900 and the stills / vectorscope information was captured with a Leader LV 5330 Multi-SDI Monitor. Because a Panasonic camera was used, the workflow presented and menu features explained are those found on Panasonic cameras. The menu set on Sony cameras is similar enough though that I feel that if you know one system, you should be able to apply the same concepts to the other. The chip chart used was a DSC Labs Chroma Du Monde 28R CamAlign Chart. These charts are the standard for video engineering and camera alignment. Because the colors and values are so uniformly printed and tested, they can be measured electronically with repeatable results. Correct use of DSC Labs equipment can not only be used to calibrate and match equipment but to paint custom looks in the controlled environment of a studio. The GAIN on the Vectorscope images was set to x1. When doing critical camera matching or alignment with the Chroma Du Monde, it is recommended that you set your Vectorscope Gain to x2. For the purposes of this tutorial, I felt that keeping the Gain at it's default value of x1 best illustrated how to read the scope in the field and objectively evaluate color saturation.  

Part 1: Overview 

In this article we are going to use the video camera's Linear Matrix (also known as Matrix Table or User Matrix) and Multi Matrix (also known as Color Correction) menus to modify its colorimetry, which is the way the camera renders specific colors within its video color space which for HDTV is ITU-Rec. 709.

ITU-Rec.709 Video Color Space (from Wikipedia):

Please refer to the Wikipedia article for a detailed account of the above graphic. 

Please refer to the Wikipedia article for a detailed account of the above graphic. 

On naming conventions:

In most Panasonic cameras, the Linear Matrix is referred to as User Matrix and the Multi Matrix is referred to as Color Correction. In Sony cameras, Linear Matrix is referred to as Matrix Linear and the Multi Matrix is referred to Matrix (Multi). As this is a Panasonic oriented article, from here on out I'll be using the Panasonic nomenclature. 

The combined use of both the Chroma toolset (explained here), the Tonal Response Controls, i.e., Gamma, Knee, Pedestal, and Detail Circuitry is necessary to really "paint" a HD camera. There are a ton of tools at your disposal in a video camera's Paint menu and only through lots of trial and error and the use of a calibrated reference grade monitor can one learn to use them correctly. 

In order for any of this to make sense one needs to know the nomenclature. Colors are referred to as Hues in engineering lingo and Phase refers to the relative position of the color as plotted by a line on the vectorscope. For simplicity, in this tutorial I'll be referring to colors as "colors" and not "hues". For describing a video camera's colorimetry, Japanese engineers have come up with a way of describing the six specific color phase adjustments we can make and those are G-B, G-R, B-G, B-R, R-G, and R-B.

“B-R” is read as: Blue ADDED TO Red which affects all colors MOST NOTICEABLY Blue, LEAST NOTICEABLY Red. A positive value increases the Saturation of Blue added to Red. A negative value decreases the Saturation of Blue added to Red. 

“G-R”, is Green into Red. “B-G”, is Blue into Green, etc. With B-R, you are adding or subtracting Blue into or from the Red channel. G-R, adds/subtracts Green to the Red Channel. You get the idea.

The two colors that form the pair, i.e., B-R, are linked and therefore these adjustments will always change these two colors and often a third or fourth color as well. Generally, all colors are affected slightly, some radically.

These adjustments can be used to make colors punchier or more exaggerated, more saturated or de-saturated, create unique looks, or match one camera to another. 

There is a finer point though –

One might think at first that by adding Blue to the Red channel, Red is going to get Bluer when in fact it has the opposite effect – Adding Blue to Red pushes it closer to its neighbor, Yellow, which makes all Red colors in your image become more Orange because that's what you get when you add Red and Yellow. It's actually basic color theory.

The way changing the Linear Matrix works on HD video cameras is you affect a color by pushing or pulling it into an adjacent color space and all colors are linked to the one opposite them. That said, you can make Red's look more Magenta or more Yellow but you can't turn Red into Green. It just doesn't work like that. 

In video colorimetry, each color has a relationship with both its neighbors and its compliment on the other side of the scope. Really not much different than a color wheel used to teach art foundations. 

In video colorimetry, each color has a relationship with both its neighbors and its compliment on the other side of the scope. Really not much different than a color wheel used to teach art foundations. 

If the naming conventions seem complicated, fret not because fortunately this tool set is essentially the same on every HD video camera. They make the visible colors in their color gamut from six primary video colors: Red, Blue, Green, Cyan, Magenta, and Yellow. This differs from traditional color theory somewhat in that there are three primary colors and three secondaries which are made from them. 

vectorscope.jpg

As you can see there are six colors represented. In the center of the scale is the “chroma free” zone. This area is neutral and colors close to it are very de-saturated and pastel. You can also tell if an image has been correctly white balanced when the concentration of this neutral picture information is centered on the scale. Colors increase in saturation as the move away from it towards the outer edge of the circle. Colors that leave the circle are “out of gamut” and aren’t broadcast legal. White Balance is an extremely important factor in digital imaging. For colors to appear "correct", meaning colors that look natural to your eye, your camera must be white balanced. White balance is a global control and moves your entire chroma information in between the red/yellow - blue/cyan axis. Creative use of white balance is an important tool at your disposal in artistic camera painting.

You can tell these images are properly white balanced because the neutral information is exactly in the center of the scope. On the left is an image with enhanced color saturation. The vectors are approaching the edge of the circle and the colors are extremely saturated, our Yellow has actually wandered "out of gamut" and is no longer broadcast legal. On the right is a very de-saturated image whose color information is close to the neutral center of the circle.

saturation.jpg

This is great because if you learn how to paint one camera you can basically paint any camera that has a User Matrix and Color Correction menu. That’s the nice thing about digital HD video – despite its many different flavors it’s all essentially the same. 

All User Matrix menus have the same six adjustable attributes: B-G, B-R, R-B, R-G, G-R, G-B. You can use these menu adjustments to subtly or radically alter the color characteristics of your image. The User Matrix and Color Correction does NOT affect the camera's Tonal Response which is White, Gamma, or Black levels.

I've heard a video camera’s Linear Matrix likened to a film stock. I like this because just as film stocks have very specific responses to individual colors, so does a video camera’s colorimetry. That said you ordinarily wouldn’t change film stocks in the middle of a scene so a similar attitude toward the matrix is generally recommended. You can quickly end up with mismatched images if you start painting away like crazy so a good eye for continuity can’t be overstated. That isn’t to say you can’t do it but proceed with a light touch because matrix adjustments are baked into the video image and are often times irreversible. 

As you’ll see in the examples below, there is no way to single out one individual color with the User Matrix adjustment tools. However, you can use the Color Correction menu toolset to more closely isolate and adjust individual colors within the Linear Matrix. You can't single out a specific color though as any other color that contains this color will also be affected. Always check the entire scene to gauge the effect. 

In my experience, I use the User Matrix tools for the following:

-Camera matching or emulating the color response qualities of another imager such as a film stock or a CCD chipset from another manufacturer. 

-Emulating a specific look such as Bleach Bypass, Day for Night, or some sort of Color Filter effect.

-Creating a base colorimetry or color response for a specific scene or project.

I use the Color Correction menu tools for: 

- Adjusting the Phase and Saturation in the Yl-R Color Correction attribute is a great way to make fine adjustments to skin tone hue and saturation. 

- Working on a specific color that needs modification. Often times with product shots, there is a very specific hue and saturation that must be followed.

- Fine and subtle color correction. As the name implies, the Color Correction menu can in fact be used this way however it can be an intense process and there is rarely the time on-set to spend on it so you're better off painting various looks in pre-production or at the checkout and modifying those as you go. Just be sure to keep everything within the limits of the legal gamut and don't throw colors completely out of phase and won't make things any worse. 

In a nutshell, the User Matrix is more for broad strokes whereas Color Correction is for small. Ultimately though, you're always going to be using them together to arrive at the desired effect. 

Part 2: Getting into the User Matrix menu

Within the “Paint” menu on the HDX900 you will find a menu called “Matrix”. Within it you will find the six attributes I mentioned that are adjustable in both positive and negative increments. On the HDX900 these increments max out at 63. On Sony cameras, I believe they max out at 99. At any rate, in practice it’s all the same. The comparison for each attribute is a value of 0 versus a maximum value of either +63 or -63.

Here is a waveform of our basic, uncorrected Chroma Du Monde chart:

A correct exposure for the Chroma du Monde chart is indicated by exposing the 11 step grayscale so that is crosses at 60 IRE.

A correct exposure for the Chroma du Monde chart is indicated by exposing the 11 step grayscale so that is crosses at 60 IRE.

The importance of good exposure to camera painting can't be understated. Without good exposure, you don't have much to work with so start by ensuring your image is properly exposed. 

USER MATRIX ADJUSTMENT EXAMPLES:

1. B-G, BLUE INTO GREEN: 

On the left - Positive Value, In the middle - Default Value, On the right - Negative Value

blue-green.jpg

B-G +63 (increase in value)

b-gp63.jpg
b-gp63v.jpg

B-G –63 (decrease in value)

b-g-63.jpg
b-g-63v.jpg

2. B-R, BLUE INTO RED:

On the left - Positive Value, In the middle - Default Value, On the right - Negative Value

blue-red.jpg

B-R +63 (increase in value)

b-rp63.jpg
b-rp63v.jpg

B-R–63 (decrease in value)

b-r-63.jpg
b-r-63v.jpg

3. G-B, GREEN INTO BLUE:

On the left - Positive Value, In the middle - Default Value, On the right - Negative Value

green-blue.jpg

G-B +63 (increase in value)

g-bp63.jpg
g-bp63v.jpg

G-B –63 (decrease in value)

g-b-63.jpg
g-b-63v.jpg

4. G-R, GREEN INTO RED:

On the left - Positive Value, In the middle - Default Value, On the right - Negative Value

green-red.jpg

G-R +63 (increase in value)

g-rp63.jpg
g-rp63v.jpg

G-R –63 (decrease in value)

g-r-63.jpg
g-r-63v.jpg

5. R-B, RED INTO BLUE:

On the left - Positive Value, In the middle - Default Value, On the right - Negative Value

red-blue.jpg

R-B +63 (increase in value)

r-bp63.jpg
r-bp63v.jpg

R-B –63 (decrease in value)

r-b-63.jpg
r-b-63v.jpg

6. R-G, RED INTO GREEN:

On the left - Positive Value, In the middle - Default Value, On the right - Negative Value

red-green.jpg

R-G +63 (increase in value)

r-gp63.jpg
r-gp63v.jpg

R-G –63 (decrease in value)

r-g-63.jpg
r-g-63v.jpg

Part 3: Getting into the Color Correction menu

All Color Correction menus allow the same six components of the Linear Matrix plus six additional in-between components to be individually adjusted. They are: 6 primary video colors - Red (R), Yellow (Yl), Green (G), Cyan (Cy), Blue (B), and Magenta (Mg) and the 6 colors in between the primaries - Red-Magenta (R-Mg), Magenta-Blue (Mg-B), Blue-Cyan (B-Cy), Cyan-Green (Cy-G), Green-Yellow (G-Yl), and Yellow-Red (Yl-R)

vectorscope2.jpg

As exemplified in the above graphic, the colors in and around these areas will be affected by their corresponding adjustments. To modify the Hue or Saturation of Red, use the "R" Color Correction attribute, for the colors in-between Yellow and Red, use "Yl-R", etc. 

yl-r.jpg

These Color Correction attributes are modified with a Phase and Saturation control. A negative Phase value (-) will move the color to the left on the vectorscope, a positive Phase value (+) will move it to the right. A negative (-) Saturation value will move the color closer to the center of the vectorscope, decreasing saturation and a positive (+) value will move it closer to the edge of the circle, increasing saturation. By altering the Phase on an individual color you are moving it out of alignment with other colors and reducing the amount of shades the camera can reproduce. Using these controls you can work on individual colors (such as skin tones) and subtly alter their hue and saturation but you still will affect any other color that contains the color you are modifying. The effect is far more subtle than the Linear Matrix adjustments, however often necessary to arrive at a very specific hue or color saturation. Color correction in post production allows for a much finer degree of control so some cases, it's best left to them. 

phase_sat.jpg

For the sake of simplicity, the goal of this first Colorimetry tutorial is to show how these controls work. It's rare that you'll only use one attribute at a time to color correct a scene. The hard part is knowing how these controls can be used together to create custom looks. But if you know what each one does, you can predict how they will work together and a skillful well practiced hand at the paint box can create some remarkable images.

If there are any errors or omissions, please bring them to my attention. These tutorials need reader feedback to be effective learning tools so if you have something to add, please don't be shy.

HD Monitor Calibration - White Balance and Color Bars

HD Monitor Calibration - White Balance and Color Bars

February 12, 2012

This post is in regards to HD Rec. 709 monitor calibration only. There are several issues relating to standard definition video and monitoring that do not apply to HD.

1. NTSC Setup, or 7.5 IRE (%) Black Level. Setup is for standard definition only. The black portion of HD test signals hit 0 IRE (%) on the waveform. 

2. Phase: There is no Phase control for digital HD monitoring. Only CHROMA (saturation) affects picture as Phase relating to monitoring is an analog issue only. 

COLOR BAR TEST SIGNALS:

Many cameras and recording decks generate color bars - either the HD SMPTE (Society of Motion Picture and Television Engineers) version, which is this:

SMPTE HD

SMPTE HD

Or the newer HD specific version, ARIB (Association of Radio Industries and Businesses):

ARIB

ARIB

Correct use of these test signals will help you properly set your HD monitor's Brightness (black level), Contrast (white level), and Chroma (color saturation level). The process of using either of these color fields is virtually identical. While color bars will help you to setup aspects of your monitor, they do nothing to reveal whether or not it's calibrated, meaning it's accurately reproducing colors and a neutral chroma-free gray scale. This is the most critical component of monitoring and is accomplished through a White Balance Adjustment.

Part 1: Monitor White Balance

When we are calibrating a HD monitor, we are adjusting it so that 100% white is reproduced as completely neutral and chroma free within the Rec. 709 color gamut

Rec. 709 gamut / color space

Rec. 709 is the standard color space for HD images. It specifies a white point at D65, 6500 degrees kelvin. If this white point is placed correctly, it should ensure that all colors and grayscale within the gamut are accurately reproduced. If it does not, then there are calibration issues that cannot be resolve through a white balance adjustment alone.

When we white balance a monitor we start at D65 and then adjust Red, Green, and Blue gains to push 100% into the correct target white point. As is exemplified in the graphic above, this is represented by a two dimensional chart with x and coordinates. For LCD's, CRT's, and other legacy displays the coordinates for white within Rec. 709 are x .313 y .329

These adjustments are made using a spectrophotometer or colorimeter aka "probe". The process of white balance adjustment with a probe is similar from monitor to monitor. Some can use a probe to do this process automatically whereas others must be done manually.

Abel Cine has a great article on how to use this hardware / software combination to White Balance your monitor >>>  

An overview of the process, first input a 100% white test signal into the monitor and then use the probe to objectively measure the screen. It will tell where this white image is hitting in the gamut by way of x and y coordinates. From here, RGB gains are adjusted until the probe verifies that white is hitting the correct coordinates, x .313 y .329. If you're using an OLED monitor, you will use different coordinates than x .313 y .329 and you may need to adjust Bias as well to compensate for chroma cast in the dark tones of the picture. This process is very similar to adjusting White Balance, just using 20% neutral gray instead of 100% white. 

The most inexpensive way to do a White Balance Adjustment on your monitor is with a free software from Sony used with the i1 Pro and i1 Pro 2 probes. These aren't the most accurate probes available but they are well priced and I've had very good results aligning and matching displays with them. 

Use the probe / software and adjust RGB Gains and Bias to hit the correct targets for both 100% White and 20% Gray. Color temperature is denoted by "x" and "y". Luminance level is "Y". 

100% White (Gains)

x .313

y .329

Y 100 (studio level)

20% Gray (Bias)

x .313

y .329

Y 2.7 (gamma 2.2)

The x and y points will always be the same for both Gain and Bias. The Y level for Bias will change with the gamma setting be it 2.2, 2.4, or 2.6. Consult your manufacturer!  

AN IMPORTANT NOTE ON MONITOR GAMMA:

Rec. 709 doesn't actually specify a gamma but the de facto standard is 2.2. The newer Rec. 1886 specs gamma at 2.4. This topic is beyond the scope of this post so I've written a separate article on it. Rec.ommendations for Display Gamma >>> For simplicities sake, this article assumes we are working at a gamma of 2.2

Once we're successfully white balanced and selected gamma, we can now use color bars to finish the calibration process.

Part 2: Setting Brightness, Contrast, and Chroma Level with Color Bars

AN ANALYSIS OF THE SMPTE HD COLOR FIELD:

The components of this test signal are 75% Contrast Color Bars (Yellow, Cyan, Green, Magenta, Red, Blue), 20% Blue Chip, 10% Purple Chip, 75% Contrast White Chip, 100% Contrast White Chip, 0% Black chips, and The Pluge. When using this test signal to set Brightness, Contrast, and Chroma, all you really need to concern yourself with are the 75% Color Bars, 100% White Chip, and Pluge. The 20% Blue Chip and 10% Purple Chip fall along the IQ Line on the Vectorscope for verification that the color information in the test signal is accurately centered on the scope. 

The Pluge will help you set your Brightness (Black Level). It consists of a -3.5% (IRE) chip on the left, 0% chip in the middle, and 3% chip on the right.

digital-smpte2012.jpg

Here are SMPTE Color Bars with lifted blacks so you can see the pluge better:

smpte169_bright.jpg

Here's the same signal's luma waveform. This helps to see where everything in the field is hitting in terms of level, particularly the pluge. 

smpte_waveform75_2012.jpg

And Vectorscope. You can see that each of the color bars lines up perfectly with thier targets indicating that these are pure, undiluted primary and secondary video colors. If this was a 100% contrast color field, the vectors would land perfectly in their little targets; R = Red, Mg = Magneta, B = Blue, Cy = Cyan, G = Green, Yl = Yellow. 

CAP20090328070812.jpeg

SETTING BRIGHTNESS, CONTRAST, AND COLOR WITH HD SMPTE BARS:

SMPTE HD

1. Set your gamma to 2.2 and White Balance to D65 (or User if you have done a custom White Balance Adjustment). Set your Brightness, Contrast, and Chroma to their default levels. If you have a display that can be custom white balanced, make sure that you're aligned before starting this. If you're working with a facility on a project, they can send a technician with a probe to you and he can do it for you. Or you can talk to you manufacturer and get a list of recommended probes for use with your display along with x,y (Color Temperature), and Y (Luminance) targets so you can do it yourself. Once you're there, send the HD SMPTE test signal to your monitor via HD-SDI. This is best done in a dark environment so if you're outside or in an unshielded location, try and keep as much ambient light and direct light off the display as you can. 

2. Everyone has their own way of doing this. I start with Contrast which is the most subjective. Looking at the 100% white chip, turn the contrast up until it visually stops getting any brighter. Now back it off a little bit. This will be different on every display and really the smart way to do is with a probe that reads Luminance level. 

3. By default, increasing Contrast will also somewhat raise the black level. Now use the pluge and set your Brightness so that the left (-3%) pluge chip disappears into the surrounding 0% black field. The right chip which reads 3.5% on the waveform should be just barely visible. 

4. Now check your contrast again. Is the 100% white chip still hitting peak white? If you need to adjust, make sure to go back and check your pluge again. By going back and forth between these 2 adjustments, you should be able to arrive at a satisfactory black and white level. 

5. Now check Chroma. Your monitor most likely has some sort of Blue Only feature. This is used to help you correctly set your color saturation level with Chroma. Turn it on and have a look. 

If it looks something like this, you're in good shape. 

correct.jpg

If you're looking at something like this, then the Chroma level is incorrect.

incorrect.jpeg

Adjust the Chroma level on the display until you're looking at solid, alternating bars of equal value. The larger top portion of each individual bar needs to blend into the smaller section beneath it. 

6. If you find that you have to make some adjustments to Chroma, this could up slightly changing your overall contrast so turn Blue Only off and check the pluge and 100% white chip again. By tweaking back and forth between all of these adjustments, you will be able to find the most accurate settings your monitor can produce. Please note that some monitors don't have Blue Only but can display in Monochrome. The Chroma calibration process with Monochrome is identical to Blue Only. 

At the end of the process you should be looking at something like this:

smpte169-correct.jpg

AN ANALYSIS OF THE ARIB COLOR FIELD:

This test signal has a greater variety of components than it's SMPTE relative. It contains the same 75% Contrast Color Bars, with the addition of neutral gray chips at various luma levels, and pluge with more steps (-2%, 2%, and 4%) that I suppose offer a bit more finesse for setting black level with Brightness. 

ARIB

Here's a handy diagram detailing what's what in the ARIB:

aribexplained.jpeg

Here's the luma waveform of the signal. Note the 0%-100% gradient that ramps through the middle of the field and the pluge at -2, 2, and 4%.

arib_wfm-1.jpeg

SETTING BRIGHTNESS, CONTRAST, AND COLOR WITH ARIB BARS:

ARIB

Though it looks radically different, on principle it's the same as the SMPTE. Follow the exact same steps outlined above when using this signal to arrive at correct Brightness, Contrast and Chroma levels. 

The biggest difference is with the pluge. When using this signal, the middle (2%) and right (4%) pluge chips should be barely visible with the the -2% chip blending into the surrounding 0% black field. 

When setting Chroma with Blue Only, this is what you should be looking at with the correct level:

arib-blue.jpeg

And when you're all done, this is what you should be looking at:

ARIB

SMPTE 100% COLOR FIELD:

100-new.jpg

Some recording decks will output these but very few cameras will. I don't think this is as useful a calibration signal as there's no pluge to help you set black level. It's good for checking saturation on displays or if for some reason you needed to check a 100% signal in a video system. This field contains the 3 primary video colors (Red, Green, and Blue) and 3 secondary colors (Yellow, Cyan, and Magenta) at 100% contrast along with a 0% Black Chip and 100% White Chip. 

On the vectorscope at Gain x2, you can see the colors hit their 100% targets spot on.

CAP20090328070637.jpeg

When looking at this color field with Blue Only and if your Chroma level is set correctly, you should be seeing something like this - bars of equal and alternating value:

100-new-blue.jpg