[][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.

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.

Modules

prelude

Structs

ColorAverageInpainter
ColorInpainter
ConsistentMosaicInpainter
DensePyrLkOptFlowEstimatorGpu
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.

KeypointBasedMotionEstimatorGpu
LogToStdout
LpMotionStabilizer
MoreAccurateMotionWobbleSuppressor
MoreAccurateMotionWobbleSuppressorGpu
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
SparsePyrLkOptFlowEstimatorGpu
ToFileMotionWriter
TranslationBasedLocalOutlierRejector
TwoPassStabilizer
VideoFileSource
WeightingDeblurer

Enums

MotionModel

Describes motion model between two point clouds.

Constants

MM_AFFINE
MM_HOMOGRAPHY
MM_RIGID
MM_ROTATION
MM_SIMILARITY
MM_TRANSLATION
MM_TRANSLATION_AND_SCALE
MM_UNKNOWN

Traits

ColorAverageInpainterTrait
ColorInpainterTrait
ConsistentMosaicInpainterTrait
DeblurerBase
DensePyrLkOptFlowEstimatorGpuTrait
FastMarchingMethodTrait

Describes the Fast Marching Method implementation.

FromFileMotionReaderTrait
GaussianMotionFilterTrait
IDenseOptFlowEstimator
IFrameSource
ILog
IMotionStabilizer
IOutlierRejector
ISparseOptFlowEstimator
ImageMotionEstimatorBase

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

InpainterBase
InpaintingPipelineTrait
KeypointBasedMotionEstimatorGpuTrait
KeypointBasedMotionEstimatorTrait

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

LogToStdoutTrait
LpMotionStabilizerTrait
MoreAccurateMotionWobbleSuppressorBase
MoreAccurateMotionWobbleSuppressorGpuTrait
MoreAccurateMotionWobbleSuppressorTrait
MotionEstimatorBase

Base class for all global motion estimation methods.

MotionEstimatorL1Trait

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

MotionEstimatorRansacL2Trait

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

MotionFilterBase
MotionInpainterTrait
MotionStabilizationPipelineTrait
NullDeblurerTrait
NullFrameSourceTrait
NullInpainterTrait
NullLogTrait
NullOutlierRejectorTrait
NullWobbleSuppressorTrait
OnePassStabilizerTrait
PyrLkOptFlowEstimatorBaseTrait
RansacParamsTrait

Describes RANSAC method parameters.

SparsePyrLkOptFlowEstimatorGpuTrait
SparsePyrLkOptFlowEstimatorTrait
StabilizerBase
ToFileMotionWriterTrait
TranslationBasedLocalOutlierRejectorTrait
TwoPassStabilizerTrait
VideoFileSourceTrait
WeightingDeblurerTrait
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_global_motion_ransac

Estimates best global motion between two 2D point clouds robustly (using RANSAC method).

estimate_optimal_trim_ratio
get_motion

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