Gets or sets the lowest acceptable relative brightness for a located
pattern. Relative brightness is the ratio of
the mean of the corresponding care pixels in the located pattern to the
mean of the care pixels in the trained pattern.
Namespace: Cognex.VisionPro.SearchMaxAssembly: Cognex.VisionPro.SearchMax (in Cognex.VisionPro.SearchMax.dll) Version: 69.0.0.0
Syntax
Property Value
Type: DoubleThe lowest acceptable contrast. Default value is 0.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected:
|
| ICogChangedEvent Changed | Fires when both the RelativeBrightnessRangeLow and the RelativeBrightnessRangeHigh are changed. The following state flags may be affected:
|
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when you attempt to set this to a value less than 0. |
Remarks
The RelativeBrightnessRangeHigh must be greater than or equal to the RelativeBrightnessRangeLow. If this property is set to a value greater than the RelativeBrightnessRangeHigh, the RelativeBrightnessRangeHigh is set to the new value.
If RelativeBrightnessEnabled is false, then this property RelativeBrightnessRangeLow is ignored in SearchMax search.
See Also