CogIPOneImageMedianNxM SetMaskValue Method Cognex VisionPro 9.20
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: 80.0.0.0
Syntax

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

Parameters

Col
Type: System Int32
The zero based column index of the desired kernel mask value.
Row
Type: System Int32
The zero based row index of the desired kernel mask value.
NewValue
Type: System Boolean
n/a
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