CogPixelMap AddReferencePoint Method Cognex VisionPro 9.7
Adds a reference point to the internal list. The new reference point will be inserted so that the input values of all reference points are kept in increasing order. If a reference point with the same input value already exists, the new one will be added immediately before that reference point.

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

public void AddReferencePoint(
	double inputVal,
	double outputVal
)

Parameters

inputVal
Type: System Double
The relative input value for the reference point. It must be in the range of [0,1] inclusive.
outputVal
Type: System Double
The relative output value for the reference point. It must be in the range of [0,1] inclusive.
Events

Exceptions

ExceptionCondition
ArgumentOutOfRangeException If inputVal or outputVal are outside the range of [0,1] inclusive.
See Also