ImageContrast

This adjusts the input image's contrast around a fixed color point.

Connection Type

Connection Name

Function

Input

input

The image sequence the contrast of which you want to modify.

 

out_mask

An optional image to use as a mask. By default, the merge is limited to the non-black areas of the mask.

 

Control (UI)

Default Value

Function

[2D node controls]

N/A

Set the controls for the stereo view.

For more information, refer to the Common 2D Nodes Widget Type in Common Parameter Widgets.

contrast

rgb

1

Adjusts the image contrast in the r, g, and b channels.

r

1

Adjusts the image contrast in the red channel only.

g

1

Adjusts the image contrast in the green channel only.

b

1

Adjusts the image contrast in the blue channel only.

a

1

Adjusts the image contrast in the alpha channel only.

fixedPoint

fixedPoint

0.1800, 0.1800, 0.1800, 0.500

The point from which to influence the contrast. When contrast is greater than one, colors are moved away from this value, when the contrast is below one, colors are moved towards this value. You can also use the below RGB, HSL, or HSV controls to set the color.

For more information, refer to the Color Widget Type in the Common Parameter Widgets.

contrastFunction

Power

Select the contrast function to use:

Power

Linear

inputs

Unpremultiplied

Select whether you are using a premultiplied or unpremultiplied input image:

Premultiplied - the ImageContrast node unpremultiplies the input, applies the contrast change, and premultiplies the input again. This simulates applying the contrast change before the premultiplication was done, as color corrections are typically applied on unpremultiplied images.

Unpremultiplied - the ImageContrast node simply applies the contrast change.