hi_mpi_vpc_get_affine_transform
Atlas 200/300/500 推理产品,不支持该接口。
Atlas 训练系列产品,不支持该接口。
Atlas 推理系列产品,不支持该接口。
函数功能
获取仿射变换需要的变换矩阵。
函数原型
hi_s32 hi_mpi_vpc_get_affine_transform(hi_point_pair_info *point_pair_info, hi_transform_matrix *matrix)
参数说明
参数名 |
输入/输出 |
说明 |
---|---|---|
point_pair_info |
输入 |
三对输入、输出图片中的像素点坐标信息,每对中分别包含一个输入图片像素点坐标、一个输出图片像素点坐标。 |
matrix |
输出 |
仿射变换需要的变换矩阵。 |
返回值说明
- 0:成功
- 非0:失败,VPC图像处理返回码
父主题: VPC图像处理功能