RoiBox

Function

Defines the cropping frame.

Structure Definition

class RoiBox:
    def __init__(self):
        self.x0 = None
        self.y0 = None
        self.x1 = None
        self.y1 = None

Parameter Description

Parameter

Type

Description

x0

float

Horizontal coordinate of the upper left corner.

y0

float

Vertical coordinate of the upper left corner.

x1

float

Horizontal coordinate of the lower right corner.

y1

float

Vertical coordinate of the lower right corner.