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