[][src]Module opencv::videostab

Video Stabilization

The video stabilization module contains a set of functions and classes that can be used to solve the problem of video stabilization. There are a few methods implemented, most of them are described in the papers OF06 and G11 . However, there are some extensions and deviations from the original paper methods.

References

  1. "Full-Frame Video Stabilization with Motion Inpainting" Yasuyuki Matsushita, Eyal Ofek, Weina Ge, Xiaoou Tang, Senior Member, and Heung-Yeung Shum
  2. "Auto-Directed Video Stabilization with Robust L1 Optimal Camera Paths" Matthias Grundmann, Vivek Kwatra, Irfan Essa

Global Motion Estimation

The video stabilization module contains a set of functions and classes for global motion estimation between point clouds or between images. In the last case features are extracted and matched internally. For the sake of convenience the motion estimation functions are wrapped into classes. Both the functions and the classes are available.

Fast Marching Method

The Fast Marching Method Telea04 is used in of the video stabilization routines to do motion and color inpainting. The method is implemented is a flexible way and it's made public for other users.

Structs

ColorAverageInpainter
ColorInpainter
ConsistentMosaicInpainter
FastMarchingMethod

Describes the Fast Marching Method implementation.

FromFileMotionReader
GaussianMotionFilter
InpaintingPipeline
KeypointBasedMotionEstimator

Describes a global 2D motion estimation method which uses keypoints detection and optical flow for matching.

LogToStdout
LpMotionStabilizer
MoreAccurateMotionWobbleSuppressor
MoreAccurateMotionWobbleSuppressorBase
MotionEstimatorL1

Describes a global 2D motion estimation method which minimizes L1 error.

MotionEstimatorRansacL2

Describes a robust RANSAC-based global 2D motion estimation method which minimizes L2 error.

MotionInpainter
MotionStabilizationPipeline
NullDeblurer
NullFrameSource
NullInpainter
NullLog
NullOutlierRejector
NullWobbleSuppressor
OnePassStabilizer
PyrLkOptFlowEstimatorBase
RansacParams

Describes RANSAC method parameters.

SparsePyrLkOptFlowEstimator
ToFileMotionWriter
TranslationBasedLocalOutlierRejector
TwoPassStabilizer
VideoFileSource
WeightingDeblurer

Constants

MM_AFFINE
MM_HOMOGRAPHY
MM_RIGID
MM_ROTATION
MM_SIMILARITY
MM_TRANSLATION
MM_TRANSLATION_AND_SCALE
MM_UNKNOWN

Traits

DeblurerBase
IDenseOptFlowEstimator
IFrameSource
ILog
IMotionStabilizer
IOutlierRejector
ISparseOptFlowEstimator
ImageMotionEstimatorBase

Base class for global 2D motion estimation methods which take frames as input.

InpainterBase
MoreAccurateMotionWobbleSuppressorBaseTrait
MotionEstimatorBase

Base class for all global motion estimation methods.

MotionFilterBase
PyrLkOptFlowEstimatorBaseTrait
StabilizerBase
WobbleSuppressorBase

Functions

calc_blurriness
calc_flow_mask
complete_frame_according_to_flow
ensure_inclusion_constraint
estimate_global_motion_least_squares

Estimates best global motion between two 2D point clouds in the least-squares sense.

estimate_optimal_trim_ratio
get_motion

Computes motion between two frames assuming that all the intermediate motions are known.