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

#include <opencv2/videostab/motion_stabilizing.hpp>

Inheritance diagram for cv::videostab::LpMotionStabilizer:
cv::videostab::IMotionStabilizer

Public Member Functions

 LpMotionStabilizer (MotionModel model=MM_SIMILARITY)
 
Size frameSize () const
 
MotionModel motionModel () const
 
void setFrameSize (Size val)
 
void setMotionModel (MotionModel val)
 
void setTrimRatio (float val)
 
void setWeight1 (float val)
 
void setWeight2 (float val)
 
void setWeight3 (float val)
 
void setWeight4 (float val)
 
virtual void stabilize (int size, const std::vector< Mat > &motions, std::pair< int, int > range, Mat *stabilizationMotions) CV_OVERRIDE
 assumes that [0, size-1) is in or equals to [range.first, range.second)
 
float trimRatio () const
 
float weight1 () const
 
float weight2 () const
 
float weight3 () const
 
float weight4 () const
 
- Public Member Functions inherited from cv::videostab::IMotionStabilizer
virtual ~IMotionStabilizer ()
 

Constructor & Destructor Documentation

cv::videostab::LpMotionStabilizer::LpMotionStabilizer ( MotionModel  model = MM_SIMILARITY)

Member Function Documentation

Size cv::videostab::LpMotionStabilizer::frameSize ( ) const
inline
MotionModel cv::videostab::LpMotionStabilizer::motionModel ( ) const
inline
void cv::videostab::LpMotionStabilizer::setFrameSize ( Size  val)
inline
void cv::videostab::LpMotionStabilizer::setMotionModel ( MotionModel  val)
inline
void cv::videostab::LpMotionStabilizer::setTrimRatio ( float  val)
inline
void cv::videostab::LpMotionStabilizer::setWeight1 ( float  val)
inline
void cv::videostab::LpMotionStabilizer::setWeight2 ( float  val)
inline
void cv::videostab::LpMotionStabilizer::setWeight3 ( float  val)
inline
void cv::videostab::LpMotionStabilizer::setWeight4 ( float  val)
inline
virtual void cv::videostab::LpMotionStabilizer::stabilize ( int  size,
const std::vector< Mat > &  motions,
std::pair< int, int >  range,
Mat stabilizationMotions 
)
virtual

assumes that [0, size-1) is in or equals to [range.first, range.second)

Implements cv::videostab::IMotionStabilizer.

float cv::videostab::LpMotionStabilizer::trimRatio ( ) const
inline
float cv::videostab::LpMotionStabilizer::weight1 ( ) const
inline
float cv::videostab::LpMotionStabilizer::weight2 ( ) const
inline
float cv::videostab::LpMotionStabilizer::weight3 ( ) const
inline
float cv::videostab::LpMotionStabilizer::weight4 ( ) const
inline

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