Detect Line Segments

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

Function

This Step detects line segments in an image.

detect line segments detect line segments

Usage Scenario

This Step extracts the line segment features of objects in the 2D image for subsequent matching.

Input and Output

detect line segments input and output

Parameters

Line Detector Setting

Line Detector Type

Parameter description: This parameter is used to designate the type of line detector.

List of value:

  • LineSegmentDetector

  • FastLineDetector

  • EdgeDrawingDetector

    Default value: LineSegmentDetector

Line Properties

Min Line Length

Parameter description: This parameter sets the minimal length of the line to be detected. Lines shorter than the set value of the parameter will be filtered out.

Default value: 10 px

Suggested value: 10 px, 20 px, 30 px

Filter Out Lines outside Masks

Parameter description: This parameter decides whether to filter out lines that are detected outside the masks.

Default value: unselected.

Suggestion: Set the parameter according to your actual needs.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.