![]() |
OpenCV 4.13.0
Open Source Computer Vision
|
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
| src_data | Source image data |
| src_step | Source image step |
| src_type | Source image type |
| lut_data | Pointer to lookup table |
| lut_channel_size | Size of each channel in bytes |
| lut_channels | Number of channels in lookup table |
| dst_data | Destination data |
| dst_step | Destination step |
| width | Width of images |
| height | Height of images |
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) |