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 (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)

Syntax

         
 C#  Visual Basic  Visual C++ 
public Matrix(
	int rows,
	int cols,
	IntPtr data
)
Public Sub New ( _
	rows As Integer, _
	cols As Integer, _
	data As IntPtr _
)
public:
Matrix(
	int rows, 
	int cols, 
	IntPtr data
)

Parameters

rows
Int32
The number of rows
cols
Int32
The number of cols
data
IntPtr
The Pinned/Unmanaged data, the data must not be release before the Matrix is Disposed

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