🖥
🖥
🖥
🖥
AugeLab Studio Manual
English
Ask or search…
K
Comment on page

Image ROI Select

Image ROI Select Node Documentation

The Image ROI Select node in AugeLab Studio allows you to select a rectangular region of interest (ROI) by dragging the mouse over an image. It provides a user interface to interactively define the ROI by specifying the top-left and bottom-right corners of the rectangle.

Node Overview

The Image ROI Select node takes an image as input and provides the following outputs:
  1. 1.
    ROI Image: The region of interest (ROI) extracted from the input image. The output is a cropped image representing the specified ROI.
  2. 2.
    Area Coordinates: The coordinates of the top-left and bottom-right corners of the ROI rectangle. The coordinates are provided as a tuple ((x1, y1), (x2, y2)), where (x1, y1) represents the top-left corner and (x2, y2) represents the bottom-right corner.

Node Properties

  • Node Title: Image ROI Select
  • Node ID: OP_NODE_ROI_MOUSE

Inputs

The Image ROI Select node has the following input socket:
  1. 1.
    Image: The input image on which the ROI rectangle will be defined.

Outputs

The Image ROI Select node has the following output sockets:
  1. 1.
    ROI Image: The region of interest (ROI) extracted from the input image. The output is a cropped image representing the specified ROI.
  2. 2.
    Area Coordinates: The coordinates of the top-left and bottom-right corners of the ROI rectangle. The coordinates are provided as a tuple ((x1, y1), (x2, y2)), where (x1, y1) represents the top-left corner and (x2, y2) represents the bottom-right corner.

User Interface

The Image ROI Select node provides a user interface within AugeLab Studio to interactively select a rectangular ROI using the mouse. Here are the UI features and interactions:
  • Drag: Click and drag the mouse over the image to define the ROI rectangle. The top-left corner is defined by the initial click, and the bottom-right corner is defined by releasing the mouse button.
  • Rectangle: While dragging the mouse, a rectangle is displayed in real-time to indicate the selected ROI region.
  • Update: The displayed ROI rectangle dynamically updates as you drag the mouse, allowing you to preview the selected region before finalizing the selection.

Usage

  1. 1.
    Drag and drop the Image ROI Select node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Connect the input image to the Image input socket of the Image ROI Select node.
  3. 3.
    Run the pipeline.
  4. 4.
    The Image ROI Select node displays the input image in the node view.
  5. 5.
    Click and drag the mouse over the image to define the ROI rectangle. The initial click defines the top-left corner, and releasing the mouse button defines the bottom-right corner.
  6. 6.
    As you drag the mouse, a rectangle dynamically updates in real-time to indicate the selected ROI region.
  7. 7.
    Release the mouse button to finalize the selection.
  8. 8.
    The Image ROI Select node outputs the cropped ROI image and the coordinates of the top-left and bottom-right corners of the ROI rectangle.
  9. 9.
    Retrieve the output ROI image and area coordinates for further processing or analysis.

Notes

  • The Image ROI Select node provides an interactive way to select a rectangular region of interest (ROI) by dragging the mouse over an image.
  • Use the left mouse button to click and drag over the image to define the top-left and bottom-right corners of the ROI rectangle.
  • The displayed rectangle dynamically updates in real-time as you drag the mouse, allowing you to preview the selected region.
  • The selected ROI image and area coordinates can be used for further processing, analysis, or visualization in subsequent nodes.
That concludes the documentation for the Image ROI Select node in AugeLab Studio. Use this node to select a rectangular region of interest (ROI) by dragging the mouse over an image.