Cv2EnsureSizeIsEnough Method (Int32, Int32, MatType, GpuMat)
|
Ensures that size of the given matrix is not less than (rows, cols) size
and matrix type is match specified one too
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static void EnsureSizeIsEnough(
int rows,
int cols,
MatType type,
GpuMat m
)
Public Shared Sub EnsureSizeIsEnough (
rows As Integer,
cols As Integer,
type As MatType,
m As GpuMat
)
public:
static void EnsureSizeIsEnough(
int rows,
int cols,
MatType type,
GpuMat^ m
)
static member EnsureSizeIsEnough :
rows : int *
cols : int *
type : MatType *
m : GpuMat -> unit
OpenCvSharp.Cv2.EnsureSizeIsEnough = function(rows, cols, type, m);
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. - m
- Type: OpenCvSharp.CudaGpuMat
See Also