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

Line Detector

Line Detector Node Documentation

The Line Detector node in AugeLab Studio is used to detect lines in an image using the Hough Transform algorithm. It provides options for both standard line detection and probabilistic line detection.

Node Overview

The Line Detector node applies the Hough Transform algorithm to an input image and detects lines. It provides the following outputs:
  • The image with detected lines highlighted.
  • The number of lines detected in the image.
  • The coordinates of the selected line(s).

Node Properties

  • Node Title: Line Detector
  • Node ID: OP_NODE_LINE

Inputs

The Line Detector node has the following input socket:
  1. 1.
    Input Image: The input image on which the line detection algorithm will be applied.

Outputs

The Line Detector node has the following output sockets:
  1. 1.
    Lined Image: The input image with the detected lines highlighted.
  2. 2.
    Number of Lines: The number of lines detected in the image.
  3. 3.
    Selected Line Coordinates: The coordinates of the selected line(s).

Parameters

The Line Detector node provides the following parameters for configuration:
  • Line Detection Type: The type of line detection to perform. Choose between standard line detection and probabilistic line detection.
  • Threshold: The threshold value used in the line detection algorithm. Adjust this value to control the sensitivity of line detection. Higher values detect stronger lines, while lower values detect weaker lines.
  • Min. Line Gap (only for probabilistic line detection): The minimum gap between line segments to be considered as separate lines. Adjust this value to control the minimum length of detected lines.
  • Max. Line Gap (only for probabilistic line detection): The maximum allowed gap between line segments to be connected into a single line. Adjust this value to control the maximum gap between segments in the detected lines.
  • Select Line: Select a specific line to display. Choose "All lines" to display all detected lines or select a specific line number to display only that line.

Usage

  1. 1.
    Drag and drop the Line Detector node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Connect the input image to the Input Image input socket of the Line Detector node.
  3. 3.
    Configure the desired parameters of the Line Detector node, such as the line detection type, threshold, min. line gap, max. line gap, and select line option.
  4. 4.
    Run the pipeline.
  5. 5.
    The Line Detector node will apply the Hough Transform algorithm to the input image and detect lines.
  6. 6.
    The Lined Image output will contain the input image with the detected lines highlighted.
  7. 7.
    The Number of Lines output will provide the count of lines detected in the image.
  8. 8.
    The Selected Line Coordinates output will provide the coordinates of the selected line(s).
  9. 9.
    If "All lines" is selected in the select line option, all detected lines will be displayed in the output image. If a specific line number is selected, only that line will be displayed.
  10. 10.
    Retrieve the outputs for further analysis, processing, or visualization.

Notes

  • The Line Detector node applies the Hough Transform algorithm to detect lines in an input image.
  • Adjust the parameters of the node to control the line detection process.
  • Higher threshold values detect stronger lines, while lower values detect weaker lines.
  • The min. line gap parameter (only for probabilistic line detection) controls the minimum gap between line segments to be considered as separate lines. Adjust this value to control the minimum length of detected lines.
  • The max. line gap parameter (only for probabilistic line detection) controls the maximum allowed gap between line segments to be connected into a single line. Adjust this value to control the maximum gap between segments in the detected lines.
  • The select line option allows selecting a specific line to display. Choose "All lines" to display all detected lines or select a specific line number to display only that line.
  • The outputs include the lined image with highlighted lines, the number of detected lines, and the coordinates of the selected line(s).
  • Use the outputs for further analysis, processing, or visualization.
  • Experiment with different parameter values to achieve the desired line detection results.
  • The node supports grayscale and color input images.
  • The Hough Transform algorithm is commonly used for line detection in computer vision applications.
That concludes the documentation for the Line Detector node in AugeLab Studio. Use this node to detect lines in an input image using the Hough Transform algorithm.