SmartLineLineSelectorOperator Execute Method Cognex VisionPro 9.25 SR1

Performs line selection on the provided LineMax results and Segmenter results.

Namespace: Cognex.Vision.SmartLine
Assembly: Cognex.Vision.SmartLine.Net (in Cognex.Vision.SmartLine.Net.dll) Version: 9.25.1.0
Syntax

public SmartLineResults Execute(
	LineMaxResults lineMaxResults,
	SegmentResults segmenterResults,
	double lineSegmentPaddingInPixels
)

Parameters

lineMaxResults
Type: Cognex.Vision.LineMax LineMaxResults
The LineMax results to which Segmenter results will be assigned.
segmenterResults
Type: Cognex.Vision.ELCore SegmentResults
The Segmenter results which will be assigned to LineMax results .
lineSegmentPaddingInPixels
Type: System Double
This parameter affects the score calculation for each combination of line segments in LineMaxResults and heatmaps in SegmentResults. Heatmap pixels that are within this distance of a found line segment are used to compute a score for that line segment / heatmap combination.

Return Value

Type: SmartLineResults

A SmartLineResults containing the results of the line selection.

See Also