CogBlobResult GetBoundary Method Cognex VisionPro
Creates a closed polygon representing the boundary of the blob which completely encloses all pixels that are part of this blob, regardless of the blob weight associated with each pixel. The boundary always falls directly between the edges of pixels.

Namespace: Cognex.VisionPro.Blob
Assembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 65.1.0.0
Syntax

public CogPolygon GetBoundary()

Return Value

Type: CogPolygon
The returned boundary: a CogPolygon.
Exceptions

ExceptionCondition
CogBlobInvalidMeasureException The connectivity mode is WholeImageGreyScale.
InvalidOperationException If no result data is available.
See Also