xil_squeeze_range(3)
NAME
xil_squeeze_range − produce a lookup table that will map an image into contiguous entries
SYNOPSIS
#include <xil/xil.h>
XilLookup xil_squeeze_range ( XilImage src);
DESCRIPTION
This function examines the source image, src, and produces a lookup table that will map src into an image with contiguous entries. src must be a single-banded image. Both src and the image’s colormap must be passed through the resulting lookup table for it to be displayed correctly.
RETURN VALUES
NULL if function fails
ERRORS
For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide.
EXAMPLES
Produce a lookup table that will map an image into continuous entries:
XilLookup result_lut;
XilImage src;
result_lut = xil_squeeze_range(src);
SEE ALSO
SunOS — Last change: 16 June 1993