OpenCV  2.4.13
Open Source Computer Vision
cv::videostab Namespace Reference

Classes

class  ColorAverageInpainter
 
class  ColorInpainter
 
class  ConsistentMosaicInpainter
 
class  DeblurerBase
 
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

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

Enumeration Type Documentation

Enumerator
TRANSLATION 
TRANSLATION_AND_SCALE 
LINEAR_SIMILARITY 
AFFINE 

Function Documentation

float cv::videostab::calcBlurriness ( const Mat frame)
void cv::videostab::calcFlowMask ( const Mat flowX,
const Mat flowY,
const Mat errors,
float  maxError,
const Mat mask0,
const Mat mask1,
Mat flowMask 
)
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 
)
Mat cv::videostab::ensureInclusionConstraint ( const Mat M,
Size  size,
float  trimRatio 
)
Mat cv::videostab::estimateGlobalMotionLeastSquares ( const std::vector< Point2f > &  points0,
const std::vector< Point2f > &  points1,
int  model = AFFINE,
float *  rmse = 0 
)
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 
)
float cv::videostab::estimateOptimalTrimRatio ( const Mat M,
Size  size 
)
Mat cv::videostab::getMotion ( int  from,
int  to,
const Mat motions,
int  size 
)
Mat cv::videostab::getMotion ( int  from,
int  to,
const std::vector< Mat > &  motions 
)