CogIPOneImageGreyMorphologyNxM SetMaskValue Method Cognex VisionPro 9.5
Set the mask value at the specified kernel column and row.

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

public void SetMaskValue(
	int Col,
	int Row,
	bool NewValue
)
Events

Event TypeReason
ICogChangedEvent ChangedFires when the specified kernel mask value changes.
Exceptions

ExceptionCondition
ArgumentExceptionIf the supplied Row parameter is less tahn zero or not less than KernelHeight.
See Also