Sets the absolute values for an existing reference point.
Namespace: Cognex.VisionPro.PixelMapAssembly: Cognex.VisionPro.PixelMap (in Cognex.VisionPro.PixelMap.dll) Version: 79.0.0.0
Syntax
Parameters
- index
- Type: System Int32
The index of the reference point.
- inputVal
- Type: System Int32
The absolute input value for the reference point. It must be in the range of [0,maxInGrey] inclusive.
- outputVal
- Type: System Int32
The absolute output value for the reference point. It must be in the range of [0,maxOutGrey] inclusive.
Events
| Event Type | Reason |
|---|---|
| Cognex.VisionPro ICogChangedEvent | Fires when the input value or the output value of the reference point. changes. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the index is negative or >= the number of reference points. |
| ArgumentOutOfRangeException | If inputVal is outside the range of [0,maxInGrey] inclusive. |
| ArgumentOutOfRangeException | If outputVal is outside the range of [0,maxOutGrey] inclusive. |
See Also