OpenCV  2.4.13.2
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)
 
Mat ensureInclusionConstraint (const Mat &M, Size size, float trimRatio)
 
float estimateOptimalTrimRatio (const Mat &M, Size size)
 
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)
 

Enumeration Type Documentation

§ MotionModel

Enumerator
TRANSLATION 
TRANSLATION_AND_SCALE 
LINEAR_SIMILARITY 
AFFINE 

Function Documentation

§ calcBlurriness()

float cv::videostab::calcBlurriness ( const Mat frame)

§ calcFlowMask()

void cv::videostab::calcFlowMask ( const Mat flowX,
const Mat flowY,
const Mat errors,
float  maxError,
const Mat mask0,
const Mat mask1,
Mat flowMask 
)

§ completeFrameAccordingToFlow()

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 
)

§ ensureInclusionConstraint()

Mat cv::videostab::ensureInclusionConstraint ( const Mat M,
Size  size,
float  trimRatio 
)

§ estimateGlobalMotionLeastSquares()

Mat cv::videostab::estimateGlobalMotionLeastSquares ( const std::vector< Point2f > &  points0,
const std::vector< Point2f > &  points1,
int  model = AFFINE,
float *  rmse = 0 
)

§ estimateGlobalMotionRobust()

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 
)

§ estimateOptimalTrimRatio()

float cv::videostab::estimateOptimalTrimRatio ( const Mat M,
Size  size 
)

§ getMotion() [1/2]

Mat cv::videostab::getMotion ( int  from,
int  to,
const Mat motions,
int  size 
)

§ getMotion() [2/2]

Mat cv::videostab::getMotion ( int  from,
int  to,
const std::vector< Mat > &  motions 
)