hi_mpi_vpc_get_remap_lut

Description

Obtains the pixel position remapping LUT used by the system based on the remapping LUT (such as radiation, perspective, and fisheye) input by the user. This API is synchronous.

The Ascend 310 AI Processor does not support this API in the current version.

The Ascend 910 AI Processor does not support this API in the current version.

The Ascend 310P AI Processor does not support this API in the current version.

Prototype

hi_s32 hi_mpi_vpc_get_remap_lut(hi_map_param *map_param, hi_remap_lut *remap_lut)

Parameters

Parameter

Input/Output

Description

map_param

Input

Original map information of a user.

remap_lut

Input/Output

Pixel position remapping LUT.

In the hi_remap_lut structure:
  • When lut is used as an input, you must allocate memory in advance. The memory size lut_size can be obtained by calling hi_mpi_vpc_get_lut_mem_size.
  • When lut is used as an output, you can obtain the affine transformation LUT information from the memory after this API is successfully called.

Returns