UMat Constructor (Int32, Int32, DepthType, Int32, UMatUsage) |
http://www.emgu.com
Create a umat of the specific type.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic UMat(
int rows,
int cols,
DepthType type,
int channels,
UMatUsage usage = UMatUsage.Default
)
Public Sub New (
rows As Integer,
cols As Integer,
type As DepthType,
channels As Integer,
Optional usage As UMatUsage = UMatUsage.Default
)
public:
UMat(
int rows,
int cols,
DepthType type,
int channels,
UMatUsage usage = UMatUsage::Default
)
new :
rows : int *
cols : int *
type : DepthType *
channels : int *
?usage : UMatUsage
(* Defaults:
let _usage = defaultArg usage UMatUsage.Default
*)
-> UMat
Parameters
- rows
- Type: SystemInt32
Number of rows in a 2D array. - cols
- Type: SystemInt32
Number of columns in a 2D array. - type
- Type: Emgu.CV.CvEnumDepthType
Mat element type - channels
- Type: SystemInt32
Number of channels - usage (Optional)
- Type: Emgu.CVUMatUsage
Allocation Usage
See Also