CogIPOneImageGreyMorphologyNxM GetKernelValue Method Cognex VisionPro
Get the kernel value at the specified column and row.

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

public int GetKernelValue(
	int Col,
	int Row
)

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.

Return Value

Type: Int32
The kernel value at the specified column and row.
Exceptions

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