lut


look up table

lut
brush
image
See also

lut

lut number(n)

       Returns LUT number n (n = 0: red, 1: green, 2: blue): 256 values between 0 and 255.

lut(x1,x2,x3,...)number(n)

        Fills the lut n with values x1,x2,...
Option:
ext(e,c,f): the curve is extended by ext(e,c,f).
Example:
lut[0,255]number(0)=; initializes linearly the red lut.

lut number(n) acc

        Fills LUT n with an accelerated curve (3 luts default).
Example:
lut(2) acc; fills the blues LUT with an accelerated curve.

lut number(n) dec

        Fills LUT n with a decelerated curve (3 luts default).

lut number(n)ini

        linearly initializes LUT n.

lut brush(id)

lut brush(id)

Returns the 3D polygonal line.

lut brush(id)=x1,y1,0, x2,y2,0, ...

Changes this line.
Note:
the pixels color of brusb id will be modified according to the law (x1,y1,0, x2,y2,0, ...).

lut image

Same as lut by adding image(id):
lut(x1,x2,x3,...)number(n)image(id);
lut acc image(id);
lut dec image(id);
lut law image(id);
lut pend image(id);
lut ini image(id)

See also:

ini lut