RoiBox

Function

This function is used to define the cropping frame.

Structure Definition

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

Parameter Description

Parameter

Description

x0

Horizontal coordinate of the upper left corner.

y0

Vertical coordinate of the upper left corner.

x1

Horizontal coordinate of the lower right corner.

y1

Vertical coordinate of the lower right corner.