Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xil_lookup_get_band_lookup(3) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xil_lookup(3)

xil_lookup_create(3)

xil_lookup_create_combined(3)

xil_lookup_convert(3)

xil_lookup_get_input_nbands(3)

xil_lookup_get_input_datatype(3)

xil_lookup_get_num_entries(3)

xil_lookup_get_offset(3)

xil_lookup_get_output_datatype(3)

xil_lookup_get_output_nbands(3)

xil_lookup_get_colorcube(3)

xil_lookup_set_offset(3)

xil_lookup_get_colorcube_info(3)

xil_lookup_set_values(3)

xil_lookup_get_band_lookup(3)

NAME

xil_lookup_get_band_lookup − get a single lookup table out of a combined lookup

SYNOPSIS

#include <xil/xil.h>

XilLookup xil_lookup_get_band_lookup ( XilLookup lookup,

unsigned int band_num)

DESCRIPTION

This function creates a copy of the lookup for the specified band in a combined lookup table.  lookup is the handle to the combined lookup table, and band_num is the band number to be copied. 

The lookup table that is returned is a single lookup table with one output element per input value. It can be used to convert a single-band input image to another single-band input image, or it can be used as the lookup table for one band of a multiband input image.  It cannot be used to convert single-band data to multiband data. 

ERRORS

For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide. 

EXAMPLES

Get a copy of the lookup table in the first band of a combined lookup table built for converting a 24-bit color image to another 24-bit color image:

XilLookup band1_lookup;
XilLookup combined_lookup_table;
band1_lookup = xil_lookup_get_band_lookup(combined_lookup_table, 0);

SEE ALSO

xil_lookup(3), xil_lookup_create(3), xil_lookup_create_combined(3), xil_lookup_convert(3), xil_lookup_get_input_nbands(3), xil_lookup_get_input_datatype(3), xil_lookup_get_num_entries(3), xil_lookup_get_offset(3), xil_lookup_get_output_datatype(3), xil_lookup_get_output_nbands(3), xil_lookup_get_colorcube(3), xil_lookup_set_offset(3), xil_lookup_get_colorcube_info(3), xil_lookup_set_values(3). 

SunOS 5.6  —  Last change: 17 March 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026