#include "worgen.h"
FUNCTION c_pxlkup (in, out, ns, dtype, lut, luttype)
long *in; long *out; long *ns; long *dtype; long *lut; long *luttype;
Input array.
Output array to hold result.
Number of elements in the input arrays.
Integer value representing the type of data in input array. Legal values include:
= EBYTE(1): unsigned byte data = EWORD(2): signed 2 byte data
Factor by which each element in the array will be multiplied.
Integer value representing the type of data in look-up table. Legal values include:
= EBYTE(1): unsigned byte data = EWORD(2): signed 2 byte data
c_pxlkup() performs a look-up table transformation each element of an input array.
c_pxlkup() returns
E_SUCC --> successful completion TYPERR --> invalid type specified