OpenCV  2.4.13
Open Source Computer Vision
cv::videostab::TwoPassStabilizer Class Reference

#include <stabilizer.hpp>

Inheritance diagram for cv::videostab::TwoPassStabilizer:
cv::videostab::StabilizerBase cv::videostab::IFrameSource

Public Member Functions

 TwoPassStabilizer ()
 
void setMotionStabilizer (Ptr< IMotionStabilizer > val)
 
Ptr< IMotionStabilizermotionStabilizer () const
 
void setEstimateTrimRatio (bool val)
 
bool mustEstimateTrimaRatio () const
 
virtual void reset ()
 
virtual Mat nextFrame ()
 
std::vector< Matmotions () const
 
- Public Member Functions inherited from cv::videostab::StabilizerBase
virtual ~StabilizerBase ()
 
void setLog (Ptr< ILog > _log)
 
Ptr< ILoglog () const
 
void setRadius (int val)
 
int radius () const
 
void setFrameSource (Ptr< IFrameSource > val)
 
Ptr< IFrameSourceframeSource () const
 
void setMotionEstimator (Ptr< IGlobalMotionEstimator > val)
 
Ptr< IGlobalMotionEstimatormotionEstimator () const
 
void setDeblurer (Ptr< DeblurerBase > val)
 
Ptr< DeblurerBasedeblurrer () const
 
void setTrimRatio (float val)
 
float trimRatio () const
 
void setCorrectionForInclusion (bool val)
 
bool doCorrectionForInclusion () const
 
void setBorderMode (int val)
 
int borderMode () const
 
void setInpainter (Ptr< InpainterBase > val)
 
Ptr< InpainterBaseinpainter () const
 
- Public Member Functions inherited from cv::videostab::IFrameSource
virtual ~IFrameSource ()
 

Additional Inherited Members

- Protected Member Functions inherited from cv::videostab::StabilizerBase
 StabilizerBase ()
 
void setUp (int cacheSize, const Mat &frame)
 
Mat nextStabilizedFrame ()
 
bool doOneIteration ()
 
void stabilizeFrame (const Mat &stabilizationMotion)
 
- Protected Attributes inherited from cv::videostab::StabilizerBase
Ptr< ILoglog_
 
Ptr< IFrameSourceframeSource_
 
Ptr< IGlobalMotionEstimatormotionEstimator_
 
Ptr< DeblurerBasedeblurer_
 
Ptr< InpainterBaseinpainter_
 
int radius_
 
float trimRatio_
 
bool doCorrectionForInclusion_
 
int borderMode_
 
Size frameSize_
 
Mat frameMask_
 
int curPos_
 
int curStabilizedPos_
 
bool doDeblurring_
 
Mat preProcessedFrame_
 
bool doInpainting_
 
Mat inpaintingMask_
 
std::vector< Matframes_
 
std::vector< Matmotions_
 
std::vector< float > blurrinessRates_
 
std::vector< MatstabilizedFrames_
 
std::vector< MatstabilizedMasks_
 
std::vector< MatstabilizationMotions_
 

Constructor & Destructor Documentation

cv::videostab::TwoPassStabilizer::TwoPassStabilizer ( )

Member Function Documentation

std::vector<Mat> cv::videostab::TwoPassStabilizer::motions ( ) const
Ptr<IMotionStabilizer> cv::videostab::TwoPassStabilizer::motionStabilizer ( ) const
inline
bool cv::videostab::TwoPassStabilizer::mustEstimateTrimaRatio ( ) const
inline
virtual Mat cv::videostab::TwoPassStabilizer::nextFrame ( )
virtual
virtual void cv::videostab::TwoPassStabilizer::reset ( )
inlinevirtual
void cv::videostab::TwoPassStabilizer::setEstimateTrimRatio ( bool  val)
inline
void cv::videostab::TwoPassStabilizer::setMotionStabilizer ( Ptr< IMotionStabilizer val)
inline

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