GpuMatCreate Method (Int32, Int32, MatType)
|
allocates new matrix data unless the matrix already has specified size and type.
previous data is unreferenced if needed.
Namespace:
OpenCvSharp.Cuda
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic void Create(
int rows,
int cols,
MatType type
)
Public Sub Create (
rows As Integer,
cols As Integer,
type As MatType
)
public:
void Create(
int rows,
int cols,
MatType type
)
member Create :
rows : int *
cols : int *
type : MatType -> unit
function Create(rows, cols, type);
Parameters
- rows
- Type: SystemInt32
Number of rows in a 2D array. - cols
- Type: SystemInt32
Number of columns in a 2D array. - type
- Type: OpenCvSharpMatType
Array type.
See Also