OpenCV  5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
Functions

Detailed Description

Lookup table replacement Table consists of 256 elements of a size from 1 to 8 bytes having 1 channel or src_channels For 8s input type 128 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_typeSorce 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_lut (const uchar *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_lut()

int hal_ni_lut ( const uchar 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