Click or drag to resize
MatrixTDepth Constructor (Int32, Int32, IntPtr, Int32)
http://www.emgu.com
Create a Matrix (only header is allocated) using the Pinned/Unmanaged data. The data is not freed by the disposed function of this class

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.3.0.2824 (3.3.0.2824)
Syntax
public Matrix(
	int rows,
	int cols,
	IntPtr data,
	int step
)

Parameters

rows
Type: SystemInt32
The number of rows
cols
Type: SystemInt32
The number of cols
data
Type: SystemIntPtr
The Pinned/Unmanaged data, the data must not be release before the Matrix is Disposed
step
Type: SystemInt32
The step (row stride in bytes)
Remarks
The caller is responsible for allocating and freeing the block of memory specified by the data parameter, however, the memory should not be released until the related Matrix is released.
See Also