Filter unique lines

../../../../_images/image_uniquelines.svg

Filters a table with lines (x0,y0, x1,y1) to only keep the longest ones that are not contained by any other. Commonly used after a Hough transform (see Extract Image node)

Documentation

Filters a table with lines to only keep the longest ones that are not contained by any other.

Definition

Input ports

lines
Type: table
Description: Input lines

Output ports

result
Type: table
Description: Filtered lines

Configuration

distance (distance)

Distance in pixels around which smaller lines are rejected

Starting X (x0)

Name of column containing X-coordiantes for the starting points

Ending X (x1)

Name of column containing X-coordiantes for the ending points

Starting Y (y0)

Name of column containing Y-coordiantes for the starting points

Ending Y (y1)

Name of column containing Y-coordiantes for the ending points

Implementation

class node_lines.UniqueLinesNode[source]