---
title: Process
description: 进行仿射变换。
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/msadg/mxvisionug_0350.html"
---

# Process

#### 函数功能

进行仿射变换。


#### 函数原型

```
APP_ERROR Process(std::vector<MxBase::DvppDataInfo> &warpAffineDataInfoInputVec,
std::vector<MxBase::DvppDataInfo> &warpAffineDataInfoOutputVec,
std::vector<KeyPointInfo> &keyPointInfoVec, int picHeight, int picWidth);
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| warpAffineDataInfoInputVec | 输入 | 变换前图片信息。 |
| warpAffineDataInfoOutputVec | 输出 | 变换后图片信息。长度需要与warpAffineDataInfoInputVec一致。 |
| keyPointInfoVec | 输入 | 关键点参数。长度需要与warpAffineDataInfoInputVec一致。 |
| picHeight | 输入 | 图片高度。取值范围[32, 8192]。 |
| picWidth | 输入 | 图片宽度。取值范围[32, 8192]。 |


#### 返回参数说明

| 数据结构 | 说明 |
| --- | --- |
| APP\_ERROR | 程序执行返回的错误码，请参考APP\_ERROR说明。 |
