CudaInvokeCalc Method (ICudaSparseOpticalFlow, IInputArray, IInputArray, IInputArray, IInputOutputArray, IOutputArray, IOutputArray, Stream) |
http://www.emgu.com
Calculates a sparse optical flow.
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static void Calc(
this ICudaSparseOpticalFlow sparseFlow,
IInputArray prevImg,
IInputArray nextImg,
IInputArray prevPts,
IInputOutputArray nextPts,
IOutputArray status,
IOutputArray err = null,
Stream stream = null
)
<ExtensionAttribute>
Public Shared Sub Calc (
sparseFlow As ICudaSparseOpticalFlow,
prevImg As IInputArray,
nextImg As IInputArray,
prevPts As IInputArray,
nextPts As IInputOutputArray,
status As IOutputArray,
Optional err As IOutputArray = Nothing,
Optional stream As Stream = Nothing
)
public:
[ExtensionAttribute]
static void Calc(
ICudaSparseOpticalFlow^ sparseFlow,
IInputArray^ prevImg,
IInputArray^ nextImg,
IInputArray^ prevPts,
IInputOutputArray^ nextPts,
IOutputArray^ status,
IOutputArray^ err = nullptr,
Stream^ stream = nullptr
)
[<ExtensionAttribute>]
static member Calc :
sparseFlow : ICudaSparseOpticalFlow *
prevImg : IInputArray *
nextImg : IInputArray *
prevPts : IInputArray *
nextPts : IInputOutputArray *
status : IOutputArray *
?err : IOutputArray *
?stream : Stream
(* Defaults:
let _err = defaultArg err null
let _stream = defaultArg stream null
*)
-> unit
Parameters
- sparseFlow
- Type: Emgu.CV.CudaICudaSparseOpticalFlow
The sparse optical flow - prevImg
- Type: Emgu.CVIInputArray
First input image. - nextImg
- Type: Emgu.CVIInputArray
Second input image of the same size and the same type as prevImg. - prevPts
- Type: Emgu.CVIInputArray
Vector of 2D points for which the flow needs to be found. - nextPts
- Type: Emgu.CVIInputOutputArray
Output vector of 2D points containing the calculated new positions of input features in the second image. - status
- Type: Emgu.CVIOutputArray
Output status vector. Each element of the vector is set to 1 if the flow for the corresponding features has been found. Otherwise, it is set to 0. - err (Optional)
- Type: Emgu.CVIOutputArray
Optional output vector that contains error response for each point (inverse confidence). - stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ICudaSparseOpticalFlow. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also