Click or drag to resize
CvInvokeRawDataToBitmap Method
http://www.emgu.com
Convert raw data to bitmap

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static Bitmap RawDataToBitmap(
	IntPtr scan0,
	int step,
	Size size,
	Type srcColorType,
	int numberOfChannels,
	Type srcDepthType,
	bool tryDataSharing = false
)

Parameters

scan0
Type: SystemIntPtr
The pointer to the raw data
step
Type: SystemInt32
The step
size
Type: System.DrawingSize
The size of the image
srcColorType
Type: SystemType
The source image color type
numberOfChannels
Type: SystemInt32
The number of channels
srcDepthType
Type: SystemType
The source image depth type
tryDataSharing (Optional)
Type: SystemBoolean
Try to create Bitmap that shares the data with the image

Return Value

Type: Bitmap
The Bitmap
See Also