CogBlobResults CreateSegmentedImage Method Cognex VisionPro 9.5
Gets the specified segmented image. The image will be stretched for maximum viewing contrast.

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

public CogImage8Grey CreateSegmentedImage()

Return Value

Type: CogImage8Grey
The returned CogImage8Grey.
Exceptions

ExceptionCondition
InvalidOperationException If no result data is available.
Remarks

Gets a CogImage8Grey containing the segmented image.

You must set SaveSegmentedImage, SaveSegmentedImageBeforeMasking, or SaveSegmentedImageBeforeMorphology to True or CreateSegmentedImage(CogBlobSegmentedImageConstants, Boolean) will return Nothing for the corresponding image.

See Also