ImageClamp
This node constrains, or clamps, values in the selected channels to a specified minimum and/or maximum range.
Connection Type |
Connection Name |
Function |
Input |
input |
The image sequence the values of which you want to clamp. |
out_mask |
An optional image to use as a mask. By default, the clamp effect 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. |
ImageClamp parameters continued |
||
clamp |
Both |
Sets which values are use to clamp the input: • Both - min and max rgba values are clamped. • Max - only the max rgba clamps are used. • Min - only the min rgba clamps are used. |
min |
||
red |
0 |
Sets the minimum values at which the rgba channels are clamped. For more information, refer to the Color Widget Type in the Common Parameter Widgets. |
green |
0 |
|
blue |
0 |
|
alpha |
0 |
|
max |
||
red |
16 |
Sets the maximum values at which the rgba channels are clamped. For more information, refer to the Color Widget Type in the Common Parameter Widgets. |
green |
16 |
|
blue |
16 |
|
alpha |
1 |
|
inputs |
Unpremultiplied |
Select whether you are using a premultiplied or unpremultiplied input image: • Premultiplied - the ImageClamp node unpremultiplies the input, applies the clamp effect, and premultiplies the input again. This simulates applying the clamp before the premultiplication was done, as color corrections are typically applied on unpremultiplied images. • Unpremultiplied - the ImageClamp node simply applies the contrast change. |