CudaInvokeCalc Method |
Name | Description | |
---|---|---|
![]() ![]() | Calc(ICudaDenseOpticalFlow, IInputArray, IInputArray, IInputOutputArray, Stream) |
Calculates a dense optical flow.
|
![]() ![]() | Calc(INvidiaOpticalFlow, IInputArray, IInputArray, IInputOutputArray, Stream, IInputArray, IOutputArray) |
Calculates Optical Flow using NVIDIA Optical Flow SDK.
NVIDIA GPUs starting with Turing contain a dedicated hardware accelerator for computing optical flow vectors between pairs of images.
The optical flow hardware accelerator generates block-based optical flow vectors.
The size of the block depends on hardware in use, and can be queried using the function getGridSize().
The block-based flow vectors generated by the hardware can be converted to dense representation(i.e.per-pixel flow vectors) using upSampler() helper function, if needed.
The flow vectors are stored in CV_16SC2 format with x and y components of each flow vector in 16-bit signed fixed point representation S10.5.
|
![]() ![]() | Calc(ICudaSparseOpticalFlow, IInputArray, IInputArray, IInputArray, IInputOutputArray, IOutputArray, IOutputArray, Stream) |
Calculates a sparse optical flow.
|