Convert the supplied ICogVisionData to an equivalent
Vision object if possible.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.VisionInterop (in Cognex.VisionPro.VisionInterop.dll) Version: 93.1.0.0
Syntax
Parameters
- image
- Type: Cognex.VisionPro ICogVisionData
The VisionPro object to be converted.
Return Value
Type: IImageAn equivalent Vision object, or null if input is null.
Exceptions
| Exception | Condition |
|---|---|
| CogImageBadTypeException | If the input argument cannot be converted to one of the supported object types. We currently support conversions to Image8Grey or Image24PlanarColor. |
See Also