Configure 2D ROI

Description

This operator provides a visual interface that allows users to adjust the 2D ROI range directly on the input image by dragging with the mouse, and outputs the configured ROI coordinate information.

Overview

Performs interactive ROI adjustment on input 2D images via the front-end interface.

Scenarios

Convenient for visual debugging, allowing users to intuitively see the size and position of the 2D ROI in the image.

Inputs and Outputs

Inputs

Image: The image data itself will not be modified; it is only used as a background reference for the parameter configuration interface, allowing users to intuitively draw and adjust the ROI on the image.

Outputs

2D ROI: Outputs the ROI coordinate data adjusted by the user.

Parameters

2D ROI

Description

The coordinate data for the 2D ROI.

Tuning Instructions

You can either enter numerical values directly, or configure it visually by clicking the "eye" icon in the upper-right corner to open the configuration window. The green box on the image represents the 2D ROI — place the mouse on the top, bottom, left, or right border to drag and adjust the length of that side, or on one of the four corners of the green box to drag and adjust its overall shape and size.

Parameter Range

Default: [{"min": [0, 0], "max": [1000, 1000]}]