Gets or sets the mask that is used when running the CogSearchMax.
The mask allows the user to identify areas of the run-time image as "Care"
or "Don't Care". The mask is aligned to the run-time input image
using the SearchImageMaskOffsetX and SearchImageMaskOffsetY values.
Namespace: Cognex.VisionPro.SearchMaxAssembly: Cognex.VisionPro.SearchMax (in Cognex.VisionPro.SearchMax.dll) Version: 80.0.0.0
Syntax
Property Value
Type: CogImage8GreyThe mask for the search image. Default value is NULL.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected:
|
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown when you attempt to set this to an image with pixel values not 0 or 255. |
See Also