HueCurves

This node allows you to perform various color corrections (Add, Saturation, Brightness) upon isolated hues through the use of the Curve Editor. Typically, this tool is used for spill suppression, but you can also do color corrections once you understand how the heck to use it. We will be evolving the functionality of this node in a future release.

The workflow is to identify the area you want to color correct by finding its hue with the Color Picker. For example, if you have blue spill, its hue is going to be around .66. Then activate the parameter you want to use by loading its parameter into the curve editor, for example saturation. Finally, you drag the key near the hue (.66) downwards, and the saturation is decreased in that particular hue, turning the pure blues to grey.

By default, all curves have a value of 1 until you modify it downwards. Additionally, be careful with red-hued targets, as you may have to drag both the first and last key on the curve.

Parameters
Type
Defaults
Function
r,g,bSuppress
curve float
- Removes red, green, or blue into the hue area you identify when you drag the key downwards.
r,g,bHue
curve float
- Adds red, green, or blue from the hue range you identify.
saturation
curve float
- Removes saturation from the hue range you identify.
luminance
curve float
- Removes luminance from your area.
satLimit
NA
NA Not yet implemented.


Synopsis

image HueCurves( 
  image In, 
  curve float rSuppress,
  curve float gSuppress,
  curve float bSuppress,
  curve float rHue,
  curve float gHue,
  curve float bHue,
  curve float saturation,
  curve float luminance,
  curve float satLimit

);


Script

image = HueCurves(
  In,
  rSuppress,
  gSuppress,
  bSuppress,
  rHue,
  gHue,
  bHue,
  saturation,
  luminance,
  satLimit
);


Command Line

Not appropriate for command-line.