Calc Intersection between Two Line Segments
Function
This Step is used to calculate the pixel-wise coordinate of the intersection between two line segments.
Usage Scenario
This Step is generally used to locate object feature points in measurement scenarios.
Parameter Tuning
Intersection Type
Description: Specifies the type of intersection you want to calculate.
Value list: Line Extension and Within Endpoints.
Default value: Within Endpoints
-
Within Endpoints: Calculate the intersection within the endpoints of a line segment. If the two line segments do not intersect, the output intersection information will be null.
-
Line Extension: Calculate the intersection on the line extension of the line segment. If the two line segments are parallel or overlap, the output intersection information will be null.
As shown below, the figure on the left shows the calculated result when the intersection type is Line Extension, and the figure on the right shows the calculated result when the intersection type is Within Endpoints. The blue point represents the intersection.