OpenCV  4.5.0
Open Source Computer Vision
Classes | Enumerations | Functions
cv::videostab Namespace Reference

Classes

class  ColorAverageInpainter
 
class  ColorInpainter
 
class  ConsistentMosaicInpainter
 
class  DeblurerBase
 
class  FastMarchingMethod
 Describes the Fast Marching Method implementation. More...
 
class  FromFileMotionReader
 
class  GaussianMotionFilter
 
class  IDenseOptFlowEstimator
 
class  IFrameSource
 
class  ILog
 
class  ImageMotionEstimatorBase
 Base class for global 2D motion estimation methods which take frames as input. More...
 
class  IMotionStabilizer
 
class  InpainterBase
 
class  InpaintingPipeline
 
class  IOutlierRejector
 
class  ISparseOptFlowEstimator
 
class  KeypointBasedMotionEstimator
 Describes a global 2D motion estimation method which uses keypoints detection and optical flow for matching. More...
 
class  LogToStdout
 
class  LpMotionStabilizer
 
class  MaskFrameSource
 
class  MoreAccurateMotionWobbleSuppressor
 
class  MoreAccurateMotionWobbleSuppressorBase
 
class  MotionEstimatorBase
 Base class for all global motion estimation methods. More...
 
class  MotionEstimatorL1
 Describes a global 2D motion estimation method which minimizes L1 error. More...
 
class  MotionEstimatorRansacL2
 Describes a robust RANSAC-based global 2D motion estimation method which minimizes L2 error. More...
 
class  MotionFilterBase
 
class  MotionInpainter
 
class  MotionStabilizationPipeline
 
class  NullDeblurer
 
class  NullFrameSource
 
class  NullInpainter
 
class  NullLog
 
class  NullOutlierRejector
 
class  NullWobbleSuppressor
 
class  OnePassStabilizer
 
class  PyrLkOptFlowEstimatorBase
 
struct  RansacParams
 Describes RANSAC method parameters. More...
 
class  SparsePyrLkOptFlowEstimator
 
class  StabilizerBase
 
class  ToFileMotionWriter
 
class  TranslationBasedLocalOutlierRejector
 
class  TwoPassStabilizer
 
class  VideoFileSource
 
class  WeightingDeblurer
 
class  WobbleSuppressorBase
 

Enumerations

enum  MotionModel {
  MM_TRANSLATION = 0,
  MM_TRANSLATION_AND_SCALE = 1,
  MM_ROTATION = 2,
  MM_RIGID = 3,
  MM_SIMILARITY = 4,
  MM_AFFINE = 5,
  MM_HOMOGRAPHY = 6,
  MM_UNKNOWN = 7
}
 Describes motion model between two point clouds. More...
 

Functions

template<typename T >
T & at (int idx, std::vector< T > &items)
 
template<typename T >
const T & at (int idx, const std::vector< T > &items)
 
float calcBlurriness (const Mat &frame)
 
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)
 
Mat estimateGlobalMotionLeastSquares (InputOutputArray points0, InputOutputArray points1, int model=MM_AFFINE, float *rmse=0)
 Estimates best global motion between two 2D point clouds in the least-squares sense. More...
 
Mat estimateGlobalMotionRansac (InputArray points0, InputArray points1, int model=MM_AFFINE, const RansacParams &params=RansacParams::default2dMotion(MM_AFFINE), float *rmse=0, int *ninliers=0)
 Estimates best global motion between two 2D point clouds robustly (using RANSAC method). More...
 
float estimateOptimalTrimRatio (const Mat &M, Size size)
 
Mat getMotion (int from, int to, const std::vector< Mat > &motions)
 Computes motion between two frames assuming that all the intermediate motions are known. More...