http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Create an Image from unmanaged data.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public Image( int width, int height, int stride, IntPtr scan0 ) |
Visual Basic |
---|
Public Sub New ( _ width As Integer, _ height As Integer, _ stride As Integer, _ scan0 As IntPtr _ ) |
Visual C++ |
---|
public: Image( int width, int height, int stride, IntPtr scan0 ) |
Parameters
- width
- Type: System..::..Int32
The width of the image
- height
- Type: System..::..Int32
The height of the image
- stride
- Type: System..::..Int32
Size of aligned image row in bytes
- scan0
- Type: System..::..IntPtr
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.