CvInvokecvInitMatHeader Method |
http://www.emgu.com
Initializes already allocated CvMat structure. It can be used to process raw data with OpenCV matrix functions.
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static IntPtr cvInitMatHeader(
IntPtr mat,
int rows,
int cols,
int type,
IntPtr data,
int step
)
Public Shared Function cvInitMatHeader (
mat As IntPtr,
rows As Integer,
cols As Integer,
type As Integer,
data As IntPtr,
step As Integer
) As IntPtr
public:
static IntPtr cvInitMatHeader(
IntPtr mat,
int rows,
int cols,
int type,
IntPtr data,
int step
)
static member cvInitMatHeader :
mat : IntPtr *
rows : int *
cols : int *
type : int *
data : IntPtr *
step : int -> IntPtr
Parameters
- mat
- Type: SystemIntPtr
Pointer to the matrix header to be initialized. - rows
- Type: SystemInt32
Number of rows in the matrix. - cols
- Type: SystemInt32
Number of columns in the matrix. - type
- Type: SystemInt32
Type of the matrix elements. - data
- Type: SystemIntPtr
Optional data pointer assigned to the matrix header - step
- Type: SystemInt32
Full row width in bytes of the data assigned. By default, the minimal possible step is used, i.e., no gaps is assumed between subsequent rows of the matrix.
Return Value
Type:
IntPtr[Missing <returns> documentation for "M:Emgu.CV.CvInvoke.cvInitMatHeader(System.IntPtr,System.Int32,System.Int32,System.Int32,System.IntPtr,System.Int32)"]
See Also