AdjustHSV
Function
This takes a specified color, described by its HSV values, and offsets it. For
example, you can take the red space ship and turn it blue without affecting
the green alien on it. It works similarly to ChromaKey.
To change a color, first isolate its hue, saturation, and value by scrubbing with the Color Picker. Then scrub with the target Color Picker. For example, if you had a hue of 0 (red), and put in a hueOffset of .66, you would slide it to blue. The Range, Falloff, and Sharpness sliders help control how much of a range you capture.
Parameters
|
Type
|
Defaults
|
Function
|
hue, sat, val |
float
|
0,0,0 | These describe the HSV values of the target color to change |
Offset |
float
|
0,0,0 | This is what is added to the hue, sat, and val parameters, thereby changing the color. |
Range |
float
|
1,1,1 | This is the range that is added to the HSV values to include a wider field of values |
Falloff |
float
|
0,0,0 | This describes the falloff range outside of Range. |
Sharpness |
float
|
1.5,1.5,1.5 |
This describes the dropoff curve of Falloff. 0 = Linear dropoff |
Synopsis
image AdjustHSV( image, float hue, float hueOffset, float hueRange, float hueFalloff, float hueSharpness, float sat, float satOffset, float satRange, float satFalloff, float satSharpness, float val, float valOffset, float valRange, float valFalloff, float valSharpness );
Script
image = AdjustHSV( image, hue, hueOffset, hueRange, hueFalloff, hueSharpness, sat, satOffset, satRange, satFalloff, satSharpness, val, valOffset, valRange, valFalloff, valSharpness );
Command Line
shake -adjusthsv hue hueOffset hueRange etc...