#include "worgen.h"
FUNCTION c_pxl255 (in, out, ns, dtype)
unsigned char *in; double *out; long *ns; long *dtype;
Input unsigned byte array.
Output array to hold result.
Number of elements in the input array.
An integer value that represents the type of data of the input array. Legal values include:
= EBYTE(1): unsigned byte data = EWORD(2): signed two byte data = ELONG(3): signed four byte data = EREAL(4): four byte floating point data
c_pxl255() returns the log base 255 on each element of an input array. The input array must be of type unsigned char and the output array will be of type double.
c_pxl255() returns
E_SUCC --> successful completion TYPERR --> invalid type specified