Image ROI Select
This function block allows users to select a Region of Interest (ROI) within a given image using mouse input. It visually marks the selected area and outputs the cropped section for further processing.
π₯ Inputs
Image Any
The original image from which the ROI will be selected.
π€ Outputs
Image Any
This output contains the cropped image data based on the selected ROI.
Rectangle
The coordinates of the selected rectangle area indicating the ROI.
πΉοΈ Controls
Selected ROI
Users can click and drag on the image to define the area to crop. The rectangle is visually represented on the image as it is being dragged.
π¨ Features
Interactive Selection
The block allows interactive selection of a rectangular area directly on the displayed image, providing immediate visual feedback.
Visual Feedback
The selected area is outlined with a green rectangle as the user selects it, aiding in selection accuracy.
π Usage Instructions
Connect Input: Link a valid image data source to the
Image Any
input.Select ROI: Click and drag on the displayed image to define the cropping rectangle. The rectangle will be drawn dynamically as you drag your mouse.
Evaluate the Block: After making a selection, run the block to extract the ROI. The cropped image and coordinates will be output.
π Evaluation
Upon evaluation, the block outputs both the cropped image corresponding to the selected ROI and the coordinates that define the selected area.
π‘ Tips and Tricks
π οΈ Troubleshooting
Last updated