CogImage16Grey ToBitmap Method Cognex VisionPro 9.10
Creates a 24-bit RGB Windows bitmap from this image. Note that creating an 8+8+8 RGB image from a 16-bit greyscale image will involve the loss of some greyscale information.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 79.0.0.0
Syntax

public virtual Bitmap ToBitmap()

Return Value

Type: Bitmap
The 24-bit RGB Windows bitmap.

Implements

ICogImage ToBitmap 
See Also