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
Syntaxpublic void Create(
Size size,
MatType type
)
Public Sub Create (
size As Size,
type As MatType
)
public:
void Create(
Size size,
MatType type
)
member Create :
size : Size *
type : MatType -> unit
function Create(size, type);
Parameters
- size
- Type: OpenCvSharp.Size
2D array size: Size(cols, rows) - type
- Type: OpenCvSharp.MatType
Array type.
See Also