| OpenCV 5.0.0alpha Open Source Computer Vision

Loading...
Searching...
No Matches
Functions
Lookup table
Core functionality » Hardware Acceleration Layer » Interface

## 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_data | Source image data
  src_step | Source image step
  src_type | Sorce 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

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

`#include <core/src/hal_replacement.hpp>`