OpenCV 4.13.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
Lookup table for 16 bit index

Detailed Description

Lookup table replacement Table consists of 65536 elements of a size from 1 to 8 bytes having 1 channel or src_channels For 16s input typea 32768 is added to LUT index Destination should have the same element type and number of channels as lookup table elements

Parameters
src_dataSource image data
src_stepSource image step
src_typeSource image type
lut_dataPointer to lookup table
lut_channel_sizeSize of each channel in bytes
lut_channelsNumber of channels in lookup table
dst_dataDestination data
dst_stepDestination step
widthWidth of images
heightHeight of images
See also
LUT

Functions

int hal_ni_lut16 (const ushort *src_data, size_t src_step, size_t src_type, const uchar *lut_data, size_t lut_channel_size, size_t lut_channels, uchar *dst_data, size_t dst_step, int width, int height)
 

Function Documentation

◆ hal_ni_lut16()

int hal_ni_lut16 ( const ushort * src_data,
size_t src_step,
size_t src_type,
const uchar * lut_data,
size_t lut_channel_size,
size_t lut_channels,
uchar * dst_data,
size_t dst_step,
int width,
int height )
inline