Clamps channel values so that they fit within a specified range. Clamping is performed for each channel individually, and out-of-range colours may be highlighted by setting them to a value different to the clamp threshold itself.
Container for user-defined plugs. Nodes should never make their own plugs here, so users are free to do as they wish.
The output image generated by this node.
Turns the node on and off.
The input image
The names of the channels to operate on. Names should be separated by spaces and can use Gaffer’s standard wildcards.
Unpremultiplies data before processing, and premultiply again after processing. This allows accurate processing of nodes that deal with color, when running on partially transparent or deep images.
The minimum value - values below this will be clamped if minEnabled is on.
The maximum value - values above this will be clamped if maxEnabled is on.
By default, values below the minimum value are clamped to the minimum value itself. If minClampToEnabled is on, they are instead set to this value. This can be useful for highlighting out-of-range values.
By default, values above the maximum value are clamped to the maximum value itself. If maxClampToEnabled is on, they are instead set to this value. This can be useful for highlighting out-of-range values.
Turns on clamping for values below the min value.
Turns on clamping for values above the max value.
Turns on the effect of minClampTo, allowing out of range values to be highlighted.
Turns on the effect of maxClampTo, allowing out of range values to be highlighted.