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