allocates new matrix data unless the matrix already has specified size and type.
Namespace: OpenCvSharp.CPlusPlus.Gpu
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Create( int rows, int cols, MatType type, CudaMemAllocType allocType = CudaMemAllocType.Locked )
Parameters
- rows
- Type: SystemInt32
Number of rows in a 2D array. - cols
- Type: SystemInt32
Number of columns in a 2D array. - type
- Type: OpenCvSharp.CPlusPlusMatType
Array type. - allocType (Optional)
- Type: OpenCvSharp.CPlusPlus.GpuCudaMemAllocType
[Missing <param name="allocType"/> documentation for "M:OpenCvSharp.CPlusPlus.Gpu.CudaMem.Create(System.Int32,System.Int32,OpenCvSharp.CPlusPlus.MatType,OpenCvSharp.CPlusPlus.Gpu.CudaMemAllocType)"]
See Also