hi_mpi_vpc_get_affine_lut
产品支持情况
产品  | 
是否支持  | 
|---|---|
√  | 
|
√  | 
|
√  | 
|
x  | 
|
x  | 
|
x  | 
功能说明
根据输入、输出图片中的像素位置坐标点,获取仿射变换像素位置重映射表。同步接口。
函数原型
hi_s32 hi_mpi_vpc_get_affine_lut(hi_point_pair_info *point_pair_info, hi_u32 interpolation, hi_remap_lut *remap_lut)
参数说明
参数名  | 
输入/输出  | 
说明  | 
|---|---|---|
point_pair_info  | 
输入  | 
三对输入、输出图片中的像素点坐标信息,每对中分别包含一个输入图片像素点坐标、一个输出图片像素点坐标。  | 
interpolation  | 
输入  | 
缩放算法。 支持如下缩放算法: 
  | 
remap_lut  | 
输入&输出  | 
仿射变换像素位置重映射表信息。 在hi_remap_lut结构体内: 
  | 
返回值说明
- 0:成功
 - 非0:失败,VPC图像处理返回码
 
父主题: VPC图像处理功能