CogIPOneImageGreyMorphology3x3Element GetMemberValue Method Cognex VisionPro
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: 65.1.0.0
Syntax

public int GetMemberValue(
	CogIPOneImageMorphologyPositionConstants position
)

Return Value

Type: Int32
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