Click or drag to resize

ImageTColor, TDepth Constructor (Int32, Int32, Int32, IntPtr)

http://www.emgu.com
Create an Image from unmanaged data.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public Image(
	int width,
	int height,
	int stride,
	IntPtr scan0
)

Parameters

width
Type: SystemInt32
The width of the image
height
Type: SystemInt32
The height of the image
stride
Type: SystemInt32
Size of aligned image row in bytes
scan0
Type: SystemIntPtr
Pointer to aligned image data, where each row should be 4-align
Remarks
The caller is responsible for allocating and freeing the block of memory specified by the scan0 parameter, however, the memory should not be released until the related Image is released.
See Also