---
title: acl.himpi.vpc_get_remap_lut
description: "| c函数原型 | hi\\_s32 hi\\_mpi\\_vpc\\_get\\_remap\\_lut(hi\\_map\\_param \\*map\\_param, hi\\_remap\\_lut \\*remap\\_lut) |"
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgp/aclpythondevg_01_0453.html"
---

# acl.himpi.vpc_get_remap_lut

| c函数原型 | hi\_s32 hi\_mpi\_vpc\_get\_remap\_lut(hi\_map\_param \*map\_param, hi\_remap\_lut \*remap\_lut) |
| --- | --- |
| Python函数 | remap\_lut, ret =acl.himpi.vpc\_get\_remap\_lut(map\_param, remap\_lut) |
| 函数功能 | 根据用户输入的Remap表（例如仿射、透视、鱼眼等），获取系统使用的像素位置重映射表。同步接口。 |
| 输入说明 | map\_param：dict，用户原始map表信息字典。请参见hi\_map\_param。 remap\_lut：dict，透视变换像素位置重映射表字典，具体请参见hi\_remap\_lut。字典中的lut属性需由用户提前申请内存，内存大小“lut\_size”属性可调用acl.himpi.vpc\_get\_lut\_mem\_size接口获取。 |
| 返回值说明 | remap\_lut：dict，透视变换像素位置重映射表字典。在成功调用本接口后，用户可通过lut属性中的地址获取仿射变换LUT表信息。 ret：int，错误码。 返回0表示成功。 返回非0表示失败，参见VPC图像处理返回码。 |
