Convert the supplied IImage to an equivalent
VisionPro object if possible.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.VisionInterop (in Cognex.VisionPro.VisionInterop.dll) Version: 79.0.0.0
Syntax
Parameters
- image
- Type: Cognex.Vision IImage
The Vision IImage object to be converted.
Return Value
Type: ICogVisionDataAn equivalent VisionPro 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 CogImage8Grey or CogImage24PlanarColor. |
See Also