mexopencv  3.4.1
MEX interface for OpenCV library
Files | Typedefs | Enumerations | Functions | Variables
optflow: Optical Flow Algorithms

Files

file  calcGlobalOrientation.cpp
 mex interface for cv::motempl::calcGlobalOrientation
 
file  calcMotionGradient.cpp
 mex interface for cv::motempl::calcMotionGradient
 
file  calcOpticalFlowDF.cpp
 mex interface for cv::optflow::OpticalFlowDeepFlow
 
file  calcOpticalFlowSF.cpp
 mex interface for cv::optflow::calcOpticalFlowSF
 
file  calcOpticalFlowSparseToDense.cpp
 mex interface for cv::optflow::calcOpticalFlowSparseToDense
 
file  DISOpticalFlow_.cpp
 mex interface for cv::optflow::DISOpticalFlow
 
file  GPCForest_.cpp
 mex interface for cv::optflow::GPCForest
 
file  OpticalFlowPCAFlow_.cpp
 mex interface for cv::optflow::OpticalFlowPCAFlow
 
file  VariationalRefinement_.cpp
 mex interface for cv::optflow::VariationalRefinement
 
file  readOpticalFlow.cpp
 mex interface for cv::optflow::readOpticalFlow
 
file  segmentMotion.cpp
 mex interface for cv::motempl::segmentMotion
 
file  updateMotionHistory.cpp
 mex interface for cv::motempl::updateMotionHistory
 
file  writeOpticalFlow.cpp
 mex interface for cv::optflow::writeOpticalFlow
 

Typedefs

typedef std::vector< GPCPatchSample > GPCSamplesVector
 

Enumerations

enum  GPCDescType
 

Functions

double calcGlobalOrientation (InputArray orientation, InputArray mask, InputArray mhi, double timestamp, double duration)
 
void calcMotionGradient (InputArray mhi, OutputArray mask, OutputArray orientation, double delta1, double delta2, int apertureSize=3)
 
void calcOpticalFlowSF (InputArray from, InputArray to, OutputArray flow, int layers, int averaging_block_size, int max_flow)
 
void 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)
 
void 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)
 
Ptr< DenseOpticalFlow > createOptFlow_DeepFlow ()
 
Ptr< DISOpticalFlow > createOptFlow_DIS (int preset=DISOpticalFlow::PRESET_FAST)
 
Ptr< DenseOpticalFlow > createOptFlow_Farneback ()
 
Ptr< DenseOpticalFlow > createOptFlow_PCAFlow ()
 
Ptr< DenseOpticalFlow > createOptFlow_SimpleFlow ()
 
Ptr< DenseOpticalFlow > createOptFlow_SparseToDense ()
 
Ptr< VariationalRefinement > createVariationalFlowRefinement ()
 
void findCorrespondences (InputArray imgFrom, InputArray imgTo, std::vector< std::pair< Point2i, Point2i > > &corr, const GPCMatchingParams params=GPCMatchingParams()) const
 
Mat readOpticalFlow (const String &path)
 
void segmentMotion (InputArray mhi, OutputArray segmask, std::vector< Rect > &boundingRects, double timestamp, double segThresh)
 
void updateMotionHistory (InputArray silhouette, InputOutputArray mhi, double timestamp, double duration)
 
bool writeOpticalFlow (const String &path, InputArray flow)
 

Variables

 GPC_DESCRIPTOR_DCT
 
 GPC_DESCRIPTOR_WHT
 

Detailed Description