Click or drag to resize

GpuMat.Create Method (Size, 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
Syntax
public void Create(
	Size size,
	MatType type
)

Parameters

size
Type: OpenCvSharp.Size
2D array size: Size(cols, rows)
type
Type: OpenCvSharp.MatType
Array type.
See Also