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

Perspective Transform

Perspective Transform Node Documentation

The Perspective Transform node in AugeLab Studio allows you to perform a perspective transformation on an image based on four selected points. It enables you to define the perspective transformation matrix by selecting four points on the image and applying the transformation accordingly.

Node Overview

The Perspective Transform node takes an image as input and provides the following outputs:
  1. 1.
    Image: The transformed image after applying the perspective transformation.
  2. 2.
    Transform Matrix: The perspective transformation matrix used for the transformation.

Node Properties

  • Node Title: Perspective Transform
  • Node ID: OP_NODE_PERSPECTIVE_TRANSFORM

Inputs

The Perspective Transform node has the following input socket:
  1. 1.
    Image: The input image to be transformed using the perspective transformation.

Outputs

The Perspective Transform node has the following output sockets:
  1. 1.
    Image: The transformed image after applying the perspective transformation.
  2. 2.
    Transform Matrix: The perspective transformation matrix used for the transformation.

User Interface

The Perspective Transform node provides a user interface within AugeLab Studio to define the perspective transformation by selecting four points on the image. Here are the UI features and interactions:
  • Point Selection: Click on the image to select four points in a clockwise trajectory starting from the bottom left corner. Each click defines a point on the image.
  • Clear Points: Press the C key to clear all the selected points and start over.
  • Undo: Press the U key to undo the last added point.
  • Visualization: The selected points are displayed as circles and connected with lines to form a quadrilateral. The visualization helps in understanding the transformation being defined.

Usage

  1. 1.
    Drag and drop the Perspective Transform node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Connect the input image to the Image input socket of the Perspective Transform node.
  3. 3.
    Run the pipeline.
  4. 4.
    The Perspective Transform node displays the input image in the node view.
  5. 5.
    Click on the image to select four points in a clockwise trajectory starting from the bottom left corner. Each click defines a point on the image.
  6. 6.
    The selected points are visualized as circles and connected with lines to form a quadrilateral.
  7. 7.
    To clear all the selected points and start over, press the C key.
  8. 8.
    To undo the last added point, press the U key.
  9. 9.
    The Perspective Transform node applies the perspective transformation to the input image based on the selected points.
  10. 10.
    The transformed image and the perspective transformation matrix are provided as outputs.
  11. 11.
    Retrieve the transformed image and the transformation matrix for further processing or visualization.

Notes

  • The Perspective Transform node provides an interactive way to define a perspective transformation on an image by selecting four points.
  • The selected points define a quadrilateral on the image, which is used to calculate the perspective transformation matrix.
  • The transformation matrix is applied to the input image to obtain the transformed image.
  • The transformed image and the perspective transformation matrix can be used for further analysis, visualization, or other image processing tasks in subsequent nodes.
That concludes the documentation for the Perspective Transform node in AugeLab Studio. Use this node to perform perspective transformation on an image based on selected points.