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

Match Shapes

Match Shapes Node Documentation

The Match Shapes node in AugeLab Studio compares the resemblance between two input shapes using the matchShapes function from OpenCV. It outputs a resemblance value between 0 and 1, where a higher value indicates a closer resemblance.

Node Overview

The Match Shapes node takes two input shapes (contours) and computes their resemblance using the matchShapes function. It provides the following output:
  • Resemblance: The resemblance value between the two input shapes, ranging from 0 to 1.

Node Properties

  • Node Title: Match Shapes
  • Node ID: OP_NODE_MATCH_SHAPES

Inputs

The Match Shapes node has the following input sockets:
  1. 1.
    Input Shape 1: The first input shape (contour) to compare.
  2. 2.
    Input Shape 2: The second input shape (contour) to compare.

Outputs

The Match Shapes node has the following output socket:
  1. 1.
    Resemblance: The resemblance value between the two input shapes, ranging from 0 to 1.

Usage

  1. 1.
    Drag and drop the Match Shapes node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Connect the input shapes (contours) to the Input Shape 1 and Input Shape 2 input sockets of the Match Shapes node.
  3. 3.
    Run the pipeline.
  4. 4.
    The Match Shapes node will compute the resemblance between the input shapes using the matchShapes function.
  5. 5.
    The Resemblance output will provide the resemblance value between the two input shapes.
  6. 6.
    Retrieve the output for further analysis, processing, or visualization.

Notes

  • The Match Shapes node compares the resemblance between two input shapes (contours) using the matchShapes function from OpenCV.
  • The resemblance value ranges from 0 to 1, where 0 indicates no resemblance and 1 indicates an exact match.
  • The node outputs the resemblance value as a number between 0 and 1.
  • The node supports input shapes in the form of contours.
  • The matchShapes function measures the dissimilarity between two shapes by computing a shape similarity index. A lower index value indicates a closer resemblance.
  • Use the resemblance value to compare and analyze the similarity between different shapes.
  • The node can be used in various computer vision tasks, such as shape matching, object recognition, and shape similarity analysis.
  • Experiment with different input shapes to observe the resemblance values and analyze the similarity between shapes.
  • The Match Shapes node can be combined with other nodes in AugeLab Studio to create complex computer vision pipelines.
That concludes the documentation for the Match Shapes node in AugeLab Studio. Use this node to compare the resemblance between two input shapes using the matchShapes function from OpenCV.