UMat Constructor (Int32, Int32, DepthType, Int32, UMatUsage) |
http://www.emgu.com
Create a umat of the specific type.
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
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
[Missing <param name="usage"/> documentation for "M:Emgu.CV.UMat.#ctor(System.Int32,System.Int32,Emgu.CV.CvEnum.DepthType,System.Int32,Emgu.CV.UMat.Usage)"]
See Also