Image ROI Select Multi
This function block facilitates the selection of multiple regions of interest (ROIs) in an image using mouse clicks and key commands. It allows for identifying specific areas in an image for further processing.
π₯ Inputs
Image Any
An image on which regions of interest will be selected.
π€ Outputs
Images
A list of cropped images from the selected ROIs. Multiple images can be provided.
Rectangles
Returns the coordinates of the selected rectangles defined by the mouse input.
πΉοΈ Controls
Mouse actions:
Click and drag to create rectangles on the displayed image.
Press
C
to clear all selected rectangles.Press
U
to undo the last added rectangle.
π¨ Features
Multiple ROI Selection
The block allows users to define several rectangular areas within a single image.
Dynamic Visualization
As the user draws rectangles, the image is updated in real time to show the current selections.
Undo and Clear Options
Users can easily modify their selections with undo and clear functionalities.
π Usage Instructions
Connect the Input Image: Link an image to the block using the
Image Any
input.Select ROIs: Click and drag on the image to create rectangles.
Modify Selections:
Press "C" to clear all selected rectangles.
Press "U" to remove the last rectangle added.
Evaluate: Run the block to process the image and output the selected ROIs and their coordinates.
π Evaluation
When executed, the block captures the defined ROIs from the input image and provides both the cropped images and the rectangle coordinates as outputs.
π‘ Tips and Tricks
π οΈ Troubleshooting
Last updated