CogIPOneImageConvolveNxM SetKernelValue Method Cognex VisionPro 9.21 SR1
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: 85.1.0.0
Syntax

public void SetKernelValue(
	int Col,
	int Row,
	double 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 Double
n/a
Events

Exceptions

ExceptionCondition
ArgumentExceptionIf the supplied Col parameter is less than zero or not less than KernelWidth.
See Also