OpenCV  3.1.0
Open Source Computer Vision
Public Member Functions | List of all members
cv::videostab::KeypointBasedMotionEstimator Class Reference

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

#include "global_motion.hpp"

Inheritance diagram for cv::videostab::KeypointBasedMotionEstimator:
cv::videostab::ImageMotionEstimatorBase

Public Member Functions

 KeypointBasedMotionEstimator (Ptr< MotionEstimatorBase > estimator)
 
Ptr< FeatureDetectordetector () const
 
virtual Mat estimate (const Mat &frame0, const Mat &frame1, bool *ok=0)
 
virtual MotionModel motionModel () const
 
Ptr< ISparseOptFlowEstimatoropticalFlowEstimator () const
 
Ptr< IOutlierRejectoroutlierRejector () const
 
void setDetector (Ptr< FeatureDetector > val)
 
virtual void setMotionModel (MotionModel val)
 
void setOpticalFlowEstimator (Ptr< ISparseOptFlowEstimator > val)
 
void setOutlierRejector (Ptr< IOutlierRejector > val)
 
- Public Member Functions inherited from cv::videostab::ImageMotionEstimatorBase
virtual ~ImageMotionEstimatorBase ()
 

Additional Inherited Members

- Protected Member Functions inherited from cv::videostab::ImageMotionEstimatorBase
 ImageMotionEstimatorBase (MotionModel model)
 

Detailed Description

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

Constructor & Destructor Documentation

cv::videostab::KeypointBasedMotionEstimator::KeypointBasedMotionEstimator ( Ptr< MotionEstimatorBase estimator)

Member Function Documentation

Ptr<FeatureDetector> cv::videostab::KeypointBasedMotionEstimator::detector ( ) const
inline
virtual Mat cv::videostab::KeypointBasedMotionEstimator::estimate ( const Mat frame0,
const Mat frame1,
bool *  ok = 0 
)
virtual
virtual MotionModel cv::videostab::KeypointBasedMotionEstimator::motionModel ( ) const
inlinevirtual
Ptr<ISparseOptFlowEstimator> cv::videostab::KeypointBasedMotionEstimator::opticalFlowEstimator ( ) const
inline
Ptr<IOutlierRejector> cv::videostab::KeypointBasedMotionEstimator::outlierRejector ( ) const
inline
void cv::videostab::KeypointBasedMotionEstimator::setDetector ( Ptr< FeatureDetector val)
inline
virtual void cv::videostab::KeypointBasedMotionEstimator::setMotionModel ( MotionModel  val)
inlinevirtual
void cv::videostab::KeypointBasedMotionEstimator::setOpticalFlowEstimator ( Ptr< ISparseOptFlowEstimator val)
inline
void cv::videostab::KeypointBasedMotionEstimator::setOutlierRejector ( Ptr< IOutlierRejector val)
inline

The documentation for this class was generated from the following file: