CogIPOneImageGreyMorphologyNxM GetMaskValue Method Cognex VisionPro 9.7
Get the mask value at the specified kernel column and row.

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

public bool GetMaskValue(
	int Col,
	int Row
)

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.

Return Value

Type: Boolean
The kernel mask value at the specified column and row. True means care and false means don't care.
Exceptions

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