定义裁剪框。
1 2 3 4 5 6
struct RoiBox { float x0; float y0; float x1; float y1; };
参数名
说明
x0
左上角横坐标。
y0
左上角纵坐标。
x1
右下角横坐标。
y1
右下角纵坐标。