< Previous | Contents | Next >

Common Controls

Settings Tab

The Settings tab in the Inspector is also duplicated in other Color nodes. These common controls are described in detail at the end of this chapter in “The Common Controls” section.


Color Gain [Clr]


image

The Color Gain node


Color Gain Node Introduction

The Color Gain node contains options for adjusting the gain, gamma, saturation, and hue of the image. Many controls provided by the Color Gain node are also found in the Color Corrector node, but this simpler node may render more quickly. One feature that distinguishes the Color Gain node from the Color Corrector is its balance tab controls. These can be used to adjust the tinting of the colors in the highs, mids, and lows.

Inputs

The Color Gain node includes two inputs: one for the main image and the other for an effect mask.

image

Input: This orange input is the only required connection. It connects a 2D image that gets adjusted by the color gain.

Effect Mask: The optional blue effect mask input accepts a mask shape created by polylines, basic primitive shapes, paint strokes, or bitmaps from other tools. Connecting a mask to this input limits the color gain adjustment to only those pixels within the mask. An effect mask is applied to the tool after it is processed.


Basic Node Setup

The Color Gain node, like many 2D image-processing nodes, receives a 2D image like a Loader node or the MediaIn1 shown below. The output continues the node tree by connecting to another 2D-image processing node or a Merge node.


image

A Color Gain node applied to a MediaIn1 node

Inspector


image

Color Gain controls


Gain Tab

The Gain tab provides control of individual RGBA Lift/Gamma/Gain parameters. These controls can quickly enable you to fix irregular color imbalances in specific channels.

image

Lock R/G/B

When selected, the Red, Green, and Blue channel controls for each effect are combined into one slider. Alpha channel effects remain separate.

Gain RGBA

The Gain RGBA controls multiply the values of the image channel in a linear fashion. All pixels are multiplied by the same factor, but the effect is larger on bright pixels and smaller on dark pixels. Black pixels do not change because multiplying any number times 0 is always 0.

Lift RGBA

While Gain scales the color values around black, Lift scales the color values around white. The pixel values are multiplied by the value of this control. A Lift of 0.5 makes a pixel that is R0.0 G0.0 B0.0 into R0.5 G0.5, B0.5, while leaving white pixels totally unaffected. Lift affects lower values more than it affects higher values, so the effect is strongest in the midrange and low range of the image.

Gamma RGBA

The Gamma RGBA controls affect the brightness of the midrange in the image. The effect of this node is nonlinear. White and black pixels in the image are not affected when gamma is modified, whereas pure grays are affected most by changes to this parameter. Large changes to this control tend to push midrange pixels into black or white, depending on the value used.

Pre-Divide/Post-Multiply

Selecting this checkbox causes the image pixel values to be divided by the Alpha values prior to the color correction, and then re-multiplied by the Alpha value after the correction. This helps when attempting to color correct images with premultiplied Alpha channels.

Saturation Tab

This Setting tab includes controls for the intensity of the colors in the individual RGB channels.


image

Color Gain Saturation setting tab


RGB Saturation

When adjusting an individual channel, a value of 0.0 strips out all that channel’s color. Values greater than one intensify the color in the scene, pushing it toward the primary color.

Balance Tab

This tab in the Color Gain node offers controls for adjusting the overall balance of a color channel.

Independent color and brightness controls are offered for the High, Mid, and Dark ranges of the image.

image

Colors are grouped into opposing pairs from the two dominant color spaces. Red values can be pushed toward Cyan, Green values toward Magenta and Blue toward Yellow. Brightness can be raised or lowered for each of the channels.


image

Color Gain Balance tab

CMY Brightness Highs/Mids/Darks

By default, the Balance sliders can be adjusted by -1 to +1, but values outside this range can be entered manually to increase the effect. A value of 0.0 for any slider indicates no change to the image channel. Positive and negative values indicate that the balance of the image channel has been pushed toward one color or the other in the pair.

Hue Tab

Use the Hue tab of the Color Gain node to shift the overall hue of the image, without affecting the brightness, or saturation. Independent controls of the High, Mid, and Dark ranges are offered by three sliders.

The following is the order of the hues in the RGB color space: Red, Yellow, Green, Cyan, Blue, Magenta and Red.


image

Color Gain Hue tab


High/Mid/Dark Hue

Values above 0 push the hue of the image toward the right (red turns yellow). Values below 0 push the hue toward the left (red turns magenta). At -1.0 or 1.0, the hue completes the cycle and returns to its original value.

image

The default range of the hue sliders is -1.0 to +1.0. Values outside this range can be entered manually.

Ranges Tab

The Ranges tab contains the controls used to specify which pixels in an image are considered to be shadows and which are considered to be highlights. The midrange is always calculated as pixels not included in either the shadows or the highlights.


image

Color Gain Ranges tab