CogIPOneImageGreyMorphologyNxM SetKernelValue Method Cognex VisionPro 9.20
Set the kernel 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 SetKernelValue(
	int Col,
	int Row,
	int NewValue
)

Parameters

Col
Type: System Int32
The zero based column index of the desired kernel value.
Row
Type: System Int32
The zero based row index of the desired kernel value.
NewValue
Type: System Int32
n/a
Events

Exceptions

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