---
title: ImagePreProcessInfo
description: 类构造函数。
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/msadg/mxvisionug_0868.html"
---

# ImagePreProcessInfo

#### 函数功能

类构造函数。


#### 函数原型

```
ImagePreProcessInfo();
```

```
ImagePreProcessInfo(uint32_t width, uint32_t height);
```

```
ImagePreProcessInfo(uint32_t widthResize, uint32_t heightResize, uint32_t widthOriginal, uint32_t heightOriginal);
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| width | 输入 | 图像宽。 |
| height | 输入 | 图像高。 |
| widthResize | 输入 | 缩放宽。 |
| heightResize | 输入 | 缩放高。 |
| widthOriginal | 输入 | 原图宽。 |
| heightOriginal | 输入 | 原图高。 |
