Lookup Function
This performs an arbitrary lookup on your image. It is extremely flexible, allowing you to mimic most other color correction nodes, and is generally much faster than the ColorX function. The lookup is defined as a function f(x), where x represents the input color, ranging from 0 to 1. As you draw the graph of this function, x is on the X axis, and f(x) is on the Y axis. Here are the Lookup equivalents of other Shake color correction nodes:
These examples do custom lookups. The last two use Shake's curve formats, but using the Value mode (the V at the end of the curve name), and inputting x as the value. All "keyframes" are between 0 and 1, and can take any value. When using the GUI, this is the default behavior - simply click on the "load curve" icon in the Parameter View to load the curve into the Curve Editor.
image Lookup( image, float expression rExpr, float expression gExpr, float expression bExpr, float expression aExpr );
image = Lookup( image, rExpr, gExpr, bExpr, aExpr );
shake -lookup "rExpr" "gExpr" "bExpr" "aExpr" |