Specifies an individual member value. The value is an signed pixel value offset for the specified position in the 3x3 element.
Namespace: Cognex.VisionPro.ImageProcessingAssembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 65.1.0.0
Syntax
Parameters
- position
- Type: Cognex.VisionPro.ImageProcessing CogIPOneImageMorphologyPositionConstants
The location within the 3x3 element of the member.
Return Value
Type: Int32Events
| Event Type | Reason |
|---|---|
| CogIPOneImageGreyMorphology3x3Element Changed | Fires when the value of this property changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| 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