VectorToColor node
This documentation is for version 1.0 of VectorToColor (net.sf.openfx.VectorToColorPlugin).
Description
Convert x and y vector components to a color representation.
H (hue) gives the direction, S (saturation) is set to the amplitude/norm, and V is 1.The role of S and V can be switched.Output can be RGB or HSV, with H in degrees.
Inputs
Input |
Description |
Optional |
---|---|---|
Source |
No |
Controls
Parameter / script name |
Type |
Default |
Function |
---|---|---|---|
X channel / |
Choice |
r |
Selects the X component of vectors
r: R channel from input.
g: G channel from input.
b: B channel from input.
a: A channel from input.
|
Y channel / |
Choice |
g |
Selects the Y component of vectors
r: R channel from input.
g: G channel from input.
b: B channel from input.
a: A channel from input.
|
Opposite / |
Boolean |
Off |
If checked, opposite of X and Y are used. |
Inverse Y / |
Boolean |
On |
If checked, opposite of Y is used (on by default, because most optical flow results are shown using a downward Y axis). |
Modulate V / |
Boolean |
Off |
If checked, modulate V using the vector amplitude, instead of S. |
HSV Output / |
Boolean |
Off |
If checked, output is in the HSV color model. |