Sets Nominal, Tolerance and Softness values and clip these values if they are out of range.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 69.0.0.0
public void UpdateWithClipping(
double nominalVal,
double lowTolVal,
double highTolVal,
double softnessVal
)
public void UpdateWithClipping(
double nominalVal,
double lowTolVal,
double highTolVal,
double softnessVal
)
Public Sub UpdateWithClipping (
nominalVal As Double,
lowTolVal As Double,
highTolVal As Double,
softnessVal As Double
)
Public Sub UpdateWithClipping (
nominalVal As Double,
lowTolVal As Double,
highTolVal As Double,
softnessVal As Double
)
public:
void UpdateWithClipping(
double nominalVal,
double lowTolVal,
double highTolVal,
double softnessVal
)
public:
void UpdateWithClipping(
double nominalVal,
double lowTolVal,
double highTolVal,
double softnessVal
)
Parameters
- nominalVal
- Type: System Double
The new nominal value for the range.
- lowTolVal
- Type: System Double
The new low end tolerance value for the range.
- highTolVal
- Type: System Double
The new high end tolerance value for the range.
- softnessVal
- Type: System Double
The new softness value for the range.
If the plane is not hue plane, the range defined should be inside [0, 255]; If the plane is hue plane, the range defined can be in [-256, 255] or [0, 511] because of hue value wrapping.