CogIPOneImageGreyMorphology3x3Element SetMemberValue Method Cognex VisionPro 9.7
Specifies an individual member value. The value is an signed pixel value offset for the specified position in the 3x3 element.

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

public void SetMemberValue(
	CogIPOneImageMorphologyPositionConstants position,
	int value
)
Events

Event TypeReason
CogIPOneImageGreyMorphology3x3Element Changed

Fires when the value of this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

The new value is not in CogIPOneImageMorphologyPositionConstants.

ArgumentException

The new value is < -128 or > 127.

Remarks

Specifies the value of an individual member of the 3x3 element. This value is a signed pixel value offset for the specified position in the 3x3 element. To learn more about grey morphology structuring elements see Grey-Scale Morphological Structuring Elements.

Default Value: 0

See Also