Classes | Enumerations | Functions
cv::videostab Namespace Reference

Classes

class  ColorAverageInpainter
 
class  ColorInpainter
 
class  ConsistentMosaicInpainter
 
class  DeblurerBase
 
class  DensePyrLkOptFlowEstimatorGpu
 
class  FastMarchingMethod
 
class  GaussianMotionFilter
 
class  IDenseOptFlowEstimator
 
class  IFrameSource
 
class  IGlobalMotionEstimator
 
class  ILog
 
class  IMotionStabilizer
 
class  InpainterBase
 
class  InpaintingPipeline
 
class  ISparseOptFlowEstimator
 
class  LogToStdout
 
class  MotionFilterBase
 
class  MotionInpainter
 
class  NullDeblurer
 
class  NullFrameSource
 
class  NullInpainter
 
class  NullLog
 
class  OnePassStabilizer
 
class  PyrLkOptFlowEstimatorBase
 
class  PyrLkRobustMotionEstimator
 
struct  RansacParams
 
class  SparsePyrLkOptFlowEstimator
 
class  StabilizerBase
 
class  TwoPassStabilizer
 
class  VideoFileSource
 
class  WeightingDeblurer
 

Enumerations

enum  MotionModel { TRANSLATION = 0, TRANSLATION_AND_SCALE = 1, LINEAR_SIMILARITY = 2, AFFINE = 3 }
 

Functions

CV_EXPORTS float calcBlurriness (const Mat &frame)
 
CV_EXPORTS Mat estimateGlobalMotionLeastSquares (const std::vector< Point2f > &points0, const std::vector< Point2f > &points1, int model=AFFINE, float *rmse=0)
 
CV_EXPORTS Mat estimateGlobalMotionRobust (const std::vector< Point2f > &points0, const std::vector< Point2f > &points1, int model=AFFINE, const RansacParams &params=RansacParams::affine2dMotionStd(), float *rmse=0, int *ninliers=0)
 
CV_EXPORTS Mat getMotion (int from, int to, const Mat *motions, int size)
 
CV_EXPORTS Mat getMotion (int from, int to, const std::vector< Mat > &motions)
 
CV_EXPORTS void calcFlowMask (const Mat &flowX, const Mat &flowY, const Mat &errors, float maxError, const Mat &mask0, const Mat &mask1, Mat &flowMask)
 
CV_EXPORTS void completeFrameAccordingToFlow (const Mat &flowMask, const Mat &flowX, const Mat &flowY, const Mat &frame1, const Mat &mask1, float distThresh, Mat &frame0, Mat &mask0)
 
CV_EXPORTS Mat ensureInclusionConstraint (const Mat &M, Size size, float trimRatio)
 
CV_EXPORTS float estimateOptimalTrimRatio (const Mat &M, Size size)
 

Enumeration Type Documentation

Enumerator
TRANSLATION 
TRANSLATION_AND_SCALE 
LINEAR_SIMILARITY 
AFFINE 

Function Documentation

CV_EXPORTS float cv::videostab::calcBlurriness ( const Mat &  frame)
CV_EXPORTS Mat cv::videostab::estimateGlobalMotionLeastSquares ( const std::vector< Point2f > &  points0,
const std::vector< Point2f > &  points1,
int  model = AFFINE,
float *  rmse = 0 
)
CV_EXPORTS Mat cv::videostab::estimateGlobalMotionRobust ( const std::vector< Point2f > &  points0,
const std::vector< Point2f > &  points1,
int  model = AFFINE,
const RansacParams &  params = RansacParams::affine2dMotionStd(),
float *  rmse = 0,
int ninliers = 0 
)
CV_EXPORTS Mat cv::videostab::getMotion ( int  from,
int  to,
const Mat *  motions,
int  size 
)
CV_EXPORTS Mat cv::videostab::getMotion ( int  from,
int  to,
const std::vector< Mat > &  motions 
)
CV_EXPORTS void cv::videostab::calcFlowMask ( const Mat &  flowX,
const Mat &  flowY,
const Mat &  errors,
float  maxError,
const Mat &  mask0,
const Mat &  mask1,
Mat &  flowMask 
)
CV_EXPORTS void cv::videostab::completeFrameAccordingToFlow ( const Mat &  flowMask,
const Mat &  flowX,
const Mat &  flowY,
const Mat &  frame1,
const Mat &  mask1,
float  distThresh,
Mat &  frame0,
Mat &  mask0 
)
CV_EXPORTS Mat cv::videostab::ensureInclusionConstraint ( const Mat &  M,
Size  size,
float  trimRatio 
)
CV_EXPORTS float cv::videostab::estimateOptimalTrimRatio ( const Mat &  M,
Size  size 
)