OpenCV  3.4.8
Open Source Computer Vision
Classes | Namespaces | Functions
optflow.hpp File Reference
#include "opencv2/core.hpp"
#include "opencv2/video.hpp"
#include "opencv2/optflow/pcaflow.hpp"
#include "opencv2/optflow/sparse_matching_gpc.hpp"
#include "opencv2/optflow/motempl.hpp"

Classes

class  cv::optflow::DISOpticalFlow
 DIS optical flow algorithm. More...
 
class  cv::optflow::VariationalRefinement
 Variational optical flow refinement. More...
 

Namespaces

 cv
 
 cv::optflow
 

Functions

void cv::optflow::calcOpticalFlowSF (InputArray from, InputArray to, OutputArray flow, int layers, int averaging_block_size, int max_flow)
 
void cv::optflow::calcOpticalFlowSF (InputArray from, InputArray to, OutputArray flow, int layers, int averaging_block_size, int max_flow, double sigma_dist, double sigma_color, int postprocess_window, double sigma_dist_fix, double sigma_color_fix, double occ_thr, int upscale_averaging_radius, double upscale_sigma_dist, double upscale_sigma_color, double speed_up_thr)
 Calculate an optical flow using "SimpleFlow" algorithm. More...
 
void cv::optflow::calcOpticalFlowSparseToDense (InputArray from, InputArray to, OutputArray flow, int grid_step=8, int k=128, float sigma=0.05f, bool use_post_proc=true, float fgs_lambda=500.0f, float fgs_sigma=1.5f)
 Fast dense optical flow based on PyrLK sparse matches interpolation. More...
 
Ptr< DenseOpticalFlow > cv::optflow::createOptFlow_DeepFlow ()
 DeepFlow optical flow algorithm implementation. More...
 
Ptr< DISOpticalFlow > cv::optflow::createOptFlow_DIS (int preset=DISOpticalFlow::PRESET_FAST)
 Creates an instance of DISOpticalFlow. More...
 
Ptr< DenseOpticalFlow > cv::optflow::createOptFlow_Farneback ()
 Additional interface to the Farneback's algorithm - calcOpticalFlowFarneback() More...
 
Ptr< DenseOpticalFlow > cv::optflow::createOptFlow_SimpleFlow ()
 Additional interface to the SimpleFlow algorithm - calcOpticalFlowSF() More...
 
Ptr< DenseOpticalFlow > cv::optflow::createOptFlow_SparseToDense ()
 Additional interface to the SparseToDenseFlow algorithm - calcOpticalFlowSparseToDense() More...
 
Ptr< VariationalRefinement > cv::optflow::createVariationalFlowRefinement ()
 Creates an instance of VariationalRefinement. More...
 
Mat cv::optflow::readOpticalFlow (const String &path)
 Read a .flo file. More...
 
bool cv::optflow::writeOpticalFlow (const String &path, InputArray flow)
 Write a .flo to disk. More...