CudaInvokeSubtract Method |
http://www.emgu.com
Subtracts one matrix from another (c = a - b).
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static void Subtract(
IInputArray a,
IInputArray b,
IOutputArray c,
IInputArray mask = null,
DepthType depthType = DepthType.Default,
Stream stream = null
)
Public Shared Sub Subtract (
a As IInputArray,
b As IInputArray,
c As IOutputArray,
Optional mask As IInputArray = Nothing,
Optional depthType As DepthType = DepthType.Default,
Optional stream As Stream = Nothing
)
public:
static void Subtract(
IInputArray^ a,
IInputArray^ b,
IOutputArray^ c,
IInputArray^ mask = nullptr,
DepthType depthType = DepthType::Default,
Stream^ stream = nullptr
)
static member Subtract :
a : IInputArray *
b : IInputArray *
c : IOutputArray *
?mask : IInputArray *
?depthType : DepthType *
?stream : Stream
(* Defaults:
let _mask = defaultArg mask null
let _depthType = defaultArg depthType DepthType.Default
let _stream = defaultArg stream null
*)
-> unit
Parameters
- a
- Type: Emgu.CVIInputArray
The matrix where subtraction take place - b
- Type: Emgu.CVIInputArray
The matrix to be substracted - c
- Type: Emgu.CVIOutputArray
The result of a - b - mask (Optional)
- Type: Emgu.CVIInputArray
The optional mask that is used to select a subarray. Use null if not needed - depthType (Optional)
- Type: Emgu.CV.CvEnumDepthType
[Missing <param name="depthType"/> documentation for "M:Emgu.CV.Cuda.CudaInvoke.Subtract(Emgu.CV.IInputArray,Emgu.CV.IInputArray,Emgu.CV.IOutputArray,Emgu.CV.IInputArray,Emgu.CV.CvEnum.DepthType,Emgu.CV.Cuda.Stream)"]
- stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
See Also