Click or drag to resize

Cv2EnsureSizeIsEnough Method (Size, 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
Syntax
public static void EnsureSizeIsEnough(
	Size size,
	MatType type,
	GpuMat m
)

Parameters

size
Type: OpenCvSharpSize
Number of rows and columns in a 2D array.
type
Type: OpenCvSharpMatType
Array type.
m
Type: OpenCvSharp.CudaGpuMat
See Also