MatrixTDepth Constructor (Int32, 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)
Syntaxpublic Matrix(
int rows,
int cols,
int channels,
IntPtr data,
int step
)
Public Sub New (
rows As Integer,
cols As Integer,
channels As Integer,
data As IntPtr,
step As Integer
)
public:
Matrix(
int rows,
int cols,
int channels,
IntPtr data,
int step
)
new :
rows : int *
cols : int *
channels : int *
data : IntPtr *
step : int -> Matrix
Parameters
- rows
- Type: SystemInt32
The number of rows - cols
- Type: SystemInt32
The number of cols - channels
- Type: SystemInt32
The number of channels - 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)
RemarksThe 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