ROI Parameters | Description | |
Image | An RGB or grayscale image to plot the ROI. | |
Vertices | (X1, Y1) | The (X1, Y1) coordinate is the upper left corner of the rectangle. |
(X2, Y2) | The (X2, Y2) coordinate is the bottom right corner of the rectangle. |