tracking.hpp File Reference


#include " opencv2/core.hpp "
#include " opencv2/imgproc.hpp "

class   cv::DenseOpticalFlow
 
class   cv::DISOpticalFlow
  DIS optical flow algorithm. 更多...
 
class   cv::FarnebackOpticalFlow
  Class computing a dense optical flow using the Gunnar Farneback's algorithm. 更多...
 
class   cv::KalmanFilter
  Kalman filter class. 更多...
 
class   cv::SparseOpticalFlow
  Base interface for sparse optical flow algorithms. 更多...
 
class   cv::SparsePyrLKOpticalFlow
  Class used for calculating a sparse optical flow. 更多...
 
class   cv::VariationalRefinement
  Variational optical flow refinement. 更多...
 

名称空间

  cv
  "black box" representation of the file storage associated with a file on disk.
 

枚举

enum   {
   cv::OPTFLOW_USE_INITIAL_FLOW = 4,
   cv::OPTFLOW_LK_GET_MIN_EIGENVALS = 8,
   cv::OPTFLOW_FARNEBACK_GAUSSIAN = 256
}
 
enum   {
   cv::MOTION_TRANSLATION = 0,
   cv::MOTION_EUCLIDEAN = 1,
   cv::MOTION_AFFINE = 2,
   cv::MOTION_HOMOGRAPHY = 3
}
 

函数

int  cv::buildOpticalFlowPyramid (InputArray img, OutputArrayOfArrays pyramid, Size winSize, int maxLevel, bool withDerivatives=true, int pyrBorder=BORDER_REFLECT_101, int derivBorder=BORDER_CONSTANT, bool tryReuseInputImage=true)
  Constructs the image pyramid which can be passed to calcOpticalFlowPyrLK. 更多...
 
void  cv::calcOpticalFlowFarneback (InputArray prev, InputArray next, InputOutputArray flow, double pyr_scale, int levels, int winsize, int iterations, int poly_n, double poly_sigma, int flags)
  Computes a dense optical flow using the Gunnar Farneback's algorithm. 更多...
 
void  cv::calcOpticalFlowPyrLK (InputArray prevImg, InputArray nextImg, InputArray prevPts, InputOutputArray nextPts, OutputArray status, OutputArray err, Size winSize=Size(21, 21), int maxLevel=3, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), int flags=0, double minEigThreshold=1e-4)
  Calculates an optical flow for a sparse feature set using the iterative Lucas-Kanade method with pyramids. 更多...
 
RotatedRect  cv::CamShift (InputArray probImage, Rect &window, TermCriteria criteria)
  Finds an object center, size, and orientation. 更多...
 
double  cv::computeECC (InputArray templateImage, InputArray inputImage, InputArray inputMask=noArray())
  Computes the Enhanced Correlation Coefficient value between two images [60] . 更多...
 
Mat  cv::estimateRigidTransform (InputArray src, InputArray dst, bool fullAffine)
  Computes an optimal affine transformation between two 2D point sets. 更多...
 
double  cv::findTransformECC (InputArray templateImage, InputArray inputImage, InputOutputArray warpMatrix, int motionType, TermCriteria criteria, InputArray inputMask, int gaussFiltSize)
  Finds the geometric transform (warp) between two images in terms of the ECC criterion [60] . 更多...
 
double  cv::findTransformECC (InputArray templateImage, InputArray inputImage, InputOutputArray warpMatrix, int motionType=MOTION_AFFINE, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 50, 0.001), InputArray inputMask=noArray())
 
int  cv::meanShift (InputArray probImage, Rect &window, TermCriteria criteria)
  Finds an object on a back projection image. 更多...
 
Mat  cv::readOpticalFlow (const String &path)
  读取 .flo 文件。 更多...
 
bool  cv::writeOpticalFlow (const String &path, InputArray flow)
  把 .flo 写入磁盘。 更多...