OpenCV  2.4.13.6
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

§ TwoPassStabilizer()

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

Member Function Documentation

§ motions()

std::vector<Mat> cv::videostab::TwoPassStabilizer::motions ( ) const

§ motionStabilizer()

Ptr<IMotionStabilizer> cv::videostab::TwoPassStabilizer::motionStabilizer ( ) const
inline

§ mustEstimateTrimaRatio()

bool cv::videostab::TwoPassStabilizer::mustEstimateTrimaRatio ( ) const
inline

§ nextFrame()

virtual Mat cv::videostab::TwoPassStabilizer::nextFrame ( )
virtual

§ reset()

virtual void cv::videostab::TwoPassStabilizer::reset ( )
inlinevirtual

§ setEstimateTrimRatio()

void cv::videostab::TwoPassStabilizer::setEstimateTrimRatio ( bool  val)
inline

§ setMotionStabilizer()

void cv::videostab::TwoPassStabilizer::setMotionStabilizer ( Ptr< IMotionStabilizer val)
inline

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