CogIPOneImageConvolve3x3 SetKernelValue Method Cognex VisionPro 9.23
The kernel value at 'position'.

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

public void SetKernelValue(
	CogIPOneImageConvolve3x3PositionConstants position,
	double value
)

Parameters

position
Type: Cognex.VisionPro.ImageProcessing CogIPOneImageConvolve3x3PositionConstants

A member of the CogIPOneImageConvolve3x3PositionConstants enumeration specifying which kernel value to set or get.

value
Type: System Double
Events

Event TypeReason
CogIPOneImageConvolve3x3 Changed

Fires when the value of this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

The new value is not in CogIPOneImageConvolve3x3PositionConstants or the new value is less than zero.

Remarks

The kernel value at the given position.

Default Value: 1/9 for all locations (0.111)

See Also