---
title: RoiBox
description: 定义裁剪框。
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/msadg/mxvisionug_0208.html"
---

# RoiBox

#### 功能

定义裁剪框。


#### 结构定义

```
struct RoiBox {
float x0;
float y0;
float x1;
float y1;
};
```


#### 参数说明

| 参数名 | 说明 |
| --- | --- |
| x0 | 左上角横坐标。 |
| y0 | 左上角纵坐标。 |
| x1 | 右下角横坐标。 |
| y1 | 右下角纵坐标。 |
