UMat Constructor (Size, 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(
Size size,
DepthType type,
int channels,
UMatUsage usage = UMatUsage.Default
)
Public Sub New (
size As Size,
type As DepthType,
channels As Integer,
Optional usage As UMatUsage = UMatUsage.Default
)
public:
UMat(
Size size,
DepthType type,
int channels,
UMatUsage usage = UMatUsage::Default
)
new :
size : Size *
type : DepthType *
channels : int *
?usage : UMatUsage
(* Defaults:
let _usage = defaultArg usage UMatUsage.Default
*)
-> UMat
Parameters
- size
- Type: System.DrawingSize
Size of the UMat - type
- Type: Emgu.CV.CvEnumDepthType
Mat element type - channels
- Type: SystemInt32
Number of channels - usage (Optional)
- Type: Emgu.CVUMatUsage
Allocation Usage
See Also