Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cv::videostab::TwoPassStabilizer Class Reference

#include <stabilizer.hpp>

Inherits cv::videostab::StabilizerBase, and 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
 
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
 

Protected Member Functions

void setUp (int cacheSize, const Mat &frame)
 
Mat nextStabilizedFrame ()
 
bool doOneIteration ()
 
void stabilizeFrame (const Mat &stabilizationMotion)
 

Protected Attributes

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

void cv::videostab::TwoPassStabilizer::setMotionStabilizer ( Ptr< IMotionStabilizer val)
Ptr<IMotionStabilizer> cv::videostab::TwoPassStabilizer::motionStabilizer ( ) const
void cv::videostab::TwoPassStabilizer::setEstimateTrimRatio ( bool  val)
bool cv::videostab::TwoPassStabilizer::mustEstimateTrimaRatio ( ) const
virtual void cv::videostab::TwoPassStabilizer::reset ( )
virtual
virtual Mat cv::videostab::TwoPassStabilizer::nextFrame ( )
virtual
std::vector<Mat> cv::videostab::TwoPassStabilizer::motions ( ) const
void cv::videostab::StabilizerBase::setLog ( Ptr< ILog _log)
inherited
Ptr<ILog> cv::videostab::StabilizerBase::log ( ) const
inherited
void cv::videostab::StabilizerBase::setRadius ( int  val)
inherited
int cv::videostab::StabilizerBase::radius ( ) const
inherited
void cv::videostab::StabilizerBase::setFrameSource ( Ptr< IFrameSource val)
inherited
Ptr<IFrameSource> cv::videostab::StabilizerBase::frameSource ( ) const
inherited
void cv::videostab::StabilizerBase::setMotionEstimator ( Ptr< IGlobalMotionEstimator val)
inherited
Ptr<IGlobalMotionEstimator> cv::videostab::StabilizerBase::motionEstimator ( ) const
inherited
void cv::videostab::StabilizerBase::setDeblurer ( Ptr< DeblurerBase val)
inherited
Ptr<DeblurerBase> cv::videostab::StabilizerBase::deblurrer ( ) const
inherited
void cv::videostab::StabilizerBase::setTrimRatio ( float  val)
inherited
float cv::videostab::StabilizerBase::trimRatio ( ) const
inherited
void cv::videostab::StabilizerBase::setCorrectionForInclusion ( bool  val)
inherited
bool cv::videostab::StabilizerBase::doCorrectionForInclusion ( ) const
inherited
void cv::videostab::StabilizerBase::setBorderMode ( int  val)
inherited
int cv::videostab::StabilizerBase::borderMode ( ) const
inherited
void cv::videostab::StabilizerBase::setInpainter ( Ptr< InpainterBase val)
inherited
Ptr<InpainterBase> cv::videostab::StabilizerBase::inpainter ( ) const
inherited
void cv::videostab::StabilizerBase::setUp ( int  cacheSize,
const Mat frame 
)
protectedinherited
Mat cv::videostab::StabilizerBase::nextStabilizedFrame ( )
protectedinherited
bool cv::videostab::StabilizerBase::doOneIteration ( )
protectedinherited
void cv::videostab::StabilizerBase::stabilizeFrame ( const Mat stabilizationMotion)
protectedinherited

Member Data Documentation

Ptr<ILog> cv::videostab::StabilizerBase::log_
protectedinherited
Ptr<IFrameSource> cv::videostab::StabilizerBase::frameSource_
protectedinherited
Ptr<IGlobalMotionEstimator> cv::videostab::StabilizerBase::motionEstimator_
protectedinherited
Ptr<DeblurerBase> cv::videostab::StabilizerBase::deblurer_
protectedinherited
Ptr<InpainterBase> cv::videostab::StabilizerBase::inpainter_
protectedinherited
int cv::videostab::StabilizerBase::radius_
protectedinherited
float cv::videostab::StabilizerBase::trimRatio_
protectedinherited
bool cv::videostab::StabilizerBase::doCorrectionForInclusion_
protectedinherited
int cv::videostab::StabilizerBase::borderMode_
protectedinherited
Size cv::videostab::StabilizerBase::frameSize_
protectedinherited
Mat cv::videostab::StabilizerBase::frameMask_
protectedinherited
int cv::videostab::StabilizerBase::curPos_
protectedinherited
int cv::videostab::StabilizerBase::curStabilizedPos_
protectedinherited
bool cv::videostab::StabilizerBase::doDeblurring_
protectedinherited
Mat cv::videostab::StabilizerBase::preProcessedFrame_
protectedinherited
bool cv::videostab::StabilizerBase::doInpainting_
protectedinherited
Mat cv::videostab::StabilizerBase::inpaintingMask_
protectedinherited
std::vector<Mat> cv::videostab::StabilizerBase::frames_
protectedinherited
std::vector<Mat> cv::videostab::StabilizerBase::motions_
protectedinherited
std::vector<float> cv::videostab::StabilizerBase::blurrinessRates_
protectedinherited
std::vector<Mat> cv::videostab::StabilizerBase::stabilizedFrames_
protectedinherited
std::vector<Mat> cv::videostab::StabilizerBase::stabilizedMasks_
protectedinherited
std::vector<Mat> cv::videostab::StabilizerBase::stabilizationMotions_
protectedinherited

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