CogIPOneImageGreyMorphology Operation Property Cognex VisionPro 9.7
Morphology operation to perform.

Namespace: Cognex.VisionPro.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 73.0.0.0
Syntax

public CogIPOneImageMorphologyOperationConstants Operation { get; set; }

Property Value

Type: CogIPOneImageMorphologyOperationConstants
Events

Event TypeReason
CogIPOneImageGreyMorphology Changed

Fires when the value of this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

The operation is not in CogIPOneImageMorphologyOperationConstants.

Remarks

The morphology operation to perform. To learn more about morphology operations, see Dilation and Erosion and Opening and Closing in the Grey-Scale Morphology theory topic.

Default Value: Erode

See Also