CogCoreConverters MakeIImage Method Cognex VisionPro 9.24
Convert the supplied ICogVisionData to an equivalent Vision object if possible.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.VisionInterop (in Cognex.VisionPro.VisionInterop.dll) Version: 91.0.0.0
Syntax

public static IImage MakeIImage(
	ICogVisionData image
)

Return Value

Type: IImage
An equivalent Vision object, or null if input is null.
Exceptions

ExceptionCondition
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