OpenCV  3.2.0-dev
Open Source Computer Vision
cv::videostab::TwoPassStabilizer Class Reference

#include "stabilizer.hpp"

Inheritance diagram for cv::videostab::TwoPassStabilizer:
Collaboration diagram for cv::videostab::TwoPassStabilizer:

Public Member Functions

 TwoPassStabilizer ()
 
int borderMode () const
 
Ptr< DeblurerBasedeblurrer () const
 
bool doCorrectionForInclusion () const
 
Ptr< IFrameSourceframeSource () const
 
Ptr< InpainterBaseinpainter () const
 
Ptr< ILoglog () const
 
Ptr< ImageMotionEstimatorBasemotionEstimator () const
 
Ptr< IMotionStabilizermotionStabilizer () const
 
bool mustEstimateTrimaRatio () const
 
virtual Mat nextFrame ()
 
int radius () const
 
virtual void reset ()
 
void setBorderMode (int val)
 
void setCorrectionForInclusion (bool val)
 
void setDeblurer (Ptr< DeblurerBase > val)
 
void setEstimateTrimRatio (bool val)
 
void setFrameSource (Ptr< IFrameSource > val)
 
void setInpainter (Ptr< InpainterBase > val)
 
void setLog (Ptr< ILog > ilog)
 
void setMotionEstimator (Ptr< ImageMotionEstimatorBase > val)
 
void setMotionStabilizer (Ptr< IMotionStabilizer > val)
 
void setRadius (int val)
 
void setTrimRatio (float val)
 
void setWobbleSuppressor (Ptr< WobbleSuppressorBase > val)
 
float trimRatio () const
 
Ptr< WobbleSuppressorBasewobbleSuppressor () const
 

Protected Member Functions

bool doOneIteration ()
 
virtual Mat estimateMotion ()
 
virtual Mat estimateStabilizationMotion ()
 
void logProcessingTime ()
 
Mat nextStabilizedFrame ()
 
virtual Mat postProcessFrame (const Mat &frame)
 
void runPrePassIfNecessary ()
 
virtual void setUp (const Mat &firstFrame)
 
void stabilizeFrame ()
 

Protected Attributes

std::vector< float > blurrinessRates_
 
int borderMode_
 
int curPos_
 
int curStabilizedPos_
 
Ptr< DeblurerBasedeblurer_
 
bool doCorrectionForInclusion_
 
bool doDeblurring_
 
bool doInpainting_
 
bool doWobbleSuppression_
 
Mat finalFrame_
 
int frameCount_
 
Mat frameMask_
 
std::vector< Matframes_
 
Size frameSize_
 
Ptr< IFrameSourceframeSource_
 
Ptr< InpainterBaseinpainter_
 
Mat inpaintingMask_
 
bool isPrePassDone_
 
Ptr< ILoglog_
 
Ptr< ImageMotionEstimatorBasemotionEstimator_
 
std::vector< Matmotions2_
 
std::vector< Matmotions_
 
Ptr< IMotionStabilizermotionStabilizer_
 
bool mustEstTrimRatio_
 
Mat preProcessedFrame_
 
clock_t processingStartTime_
 
int radius_
 
std::vector< MatstabilizationMotions_
 
std::vector< MatstabilizedFrames_
 
std::vector< MatstabilizedMasks_
 
Mat suppressedFrame_
 
float trimRatio_
 
Ptr< WobbleSuppressorBasewobbleSuppressor_
 

Constructor & Destructor Documentation

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

Member Function Documentation

int cv::videostab::StabilizerBase::borderMode ( ) const
inlineinherited
Ptr<DeblurerBase> cv::videostab::StabilizerBase::deblurrer ( ) const
inlineinherited
bool cv::videostab::StabilizerBase::doCorrectionForInclusion ( ) const
inlineinherited
bool cv::videostab::StabilizerBase::doOneIteration ( )
protectedinherited
virtual Mat cv::videostab::TwoPassStabilizer::estimateMotion ( )
protectedvirtual
virtual Mat cv::videostab::TwoPassStabilizer::estimateStabilizationMotion ( )
protectedvirtual
Ptr<IFrameSource> cv::videostab::StabilizerBase::frameSource ( ) const
inlineinherited
Ptr<InpainterBase> cv::videostab::StabilizerBase::inpainter ( ) const
inlineinherited
Ptr<ILog> cv::videostab::StabilizerBase::log ( ) const
inlineinherited

References cv::cudev::log_().

Here is the call graph for this function:

void cv::videostab::StabilizerBase::logProcessingTime ( )
protectedinherited
Ptr<ImageMotionEstimatorBase> cv::videostab::StabilizerBase::motionEstimator ( ) const
inlineinherited
Ptr<IMotionStabilizer> cv::videostab::TwoPassStabilizer::motionStabilizer ( ) const
inline
bool cv::videostab::TwoPassStabilizer::mustEstimateTrimaRatio ( ) const
inline
virtual Mat cv::videostab::TwoPassStabilizer::nextFrame ( )
virtual
Mat cv::videostab::StabilizerBase::nextStabilizedFrame ( )
protectedinherited
virtual Mat cv::videostab::TwoPassStabilizer::postProcessFrame ( const Mat frame)
protectedvirtual

Reimplemented from cv::videostab::StabilizerBase.

int cv::videostab::StabilizerBase::radius ( ) const
inlineinherited
virtual void cv::videostab::TwoPassStabilizer::reset ( )
virtual
void cv::videostab::TwoPassStabilizer::runPrePassIfNecessary ( )
protected
void cv::videostab::StabilizerBase::setBorderMode ( int  val)
inlineinherited
void cv::videostab::StabilizerBase::setCorrectionForInclusion ( bool  val)
inlineinherited
void cv::videostab::StabilizerBase::setDeblurer ( Ptr< DeblurerBase val)
inlineinherited
void cv::videostab::TwoPassStabilizer::setEstimateTrimRatio ( bool  val)
inline
void cv::videostab::StabilizerBase::setFrameSource ( Ptr< IFrameSource val)
inlineinherited
void cv::videostab::StabilizerBase::setInpainter ( Ptr< InpainterBase val)
inlineinherited
void cv::videostab::StabilizerBase::setLog ( Ptr< ILog ilog)
inlineinherited

References cv::cudev::log_().

Here is the call graph for this function:

void cv::videostab::StabilizerBase::setMotionEstimator ( Ptr< ImageMotionEstimatorBase val)
inlineinherited
void cv::videostab::TwoPassStabilizer::setMotionStabilizer ( Ptr< IMotionStabilizer val)
inline
void cv::videostab::StabilizerBase::setRadius ( int  val)
inlineinherited
void cv::videostab::StabilizerBase::setTrimRatio ( float  val)
inlineinherited
virtual void cv::videostab::TwoPassStabilizer::setUp ( const Mat firstFrame)
protectedvirtual

Reimplemented from cv::videostab::StabilizerBase.

void cv::videostab::TwoPassStabilizer::setWobbleSuppressor ( Ptr< WobbleSuppressorBase val)
inline
void cv::videostab::StabilizerBase::stabilizeFrame ( )
protectedinherited
float cv::videostab::StabilizerBase::trimRatio ( ) const
inlineinherited
Ptr<WobbleSuppressorBase> cv::videostab::TwoPassStabilizer::wobbleSuppressor ( ) const
inline

Member Data Documentation

std::vector<float> cv::videostab::StabilizerBase::blurrinessRates_
protectedinherited
int cv::videostab::StabilizerBase::borderMode_
protectedinherited
int cv::videostab::StabilizerBase::curPos_
protectedinherited
int cv::videostab::StabilizerBase::curStabilizedPos_
protectedinherited
Ptr<DeblurerBase> cv::videostab::StabilizerBase::deblurer_
protectedinherited
bool cv::videostab::StabilizerBase::doCorrectionForInclusion_
protectedinherited
bool cv::videostab::StabilizerBase::doDeblurring_
protectedinherited
bool cv::videostab::StabilizerBase::doInpainting_
protectedinherited
bool cv::videostab::TwoPassStabilizer::doWobbleSuppression_
protected
Mat cv::videostab::StabilizerBase::finalFrame_
protectedinherited
int cv::videostab::TwoPassStabilizer::frameCount_
protected
Mat cv::videostab::StabilizerBase::frameMask_
protectedinherited
std::vector<Mat> cv::videostab::StabilizerBase::frames_
protectedinherited
Size cv::videostab::StabilizerBase::frameSize_
protectedinherited
Ptr<IFrameSource> cv::videostab::StabilizerBase::frameSource_
protectedinherited
Ptr<InpainterBase> cv::videostab::StabilizerBase::inpainter_
protectedinherited
Mat cv::videostab::StabilizerBase::inpaintingMask_
protectedinherited
bool cv::videostab::TwoPassStabilizer::isPrePassDone_
protected
Ptr<ILog> cv::videostab::StabilizerBase::log_
protectedinherited
Ptr<ImageMotionEstimatorBase> cv::videostab::StabilizerBase::motionEstimator_
protectedinherited
std::vector<Mat> cv::videostab::TwoPassStabilizer::motions2_
protected
std::vector<Mat> cv::videostab::StabilizerBase::motions_
protectedinherited
Ptr<IMotionStabilizer> cv::videostab::TwoPassStabilizer::motionStabilizer_
protected
bool cv::videostab::TwoPassStabilizer::mustEstTrimRatio_
protected
Mat cv::videostab::StabilizerBase::preProcessedFrame_
protectedinherited
clock_t cv::videostab::StabilizerBase::processingStartTime_
protectedinherited
int cv::videostab::StabilizerBase::radius_
protectedinherited
std::vector<Mat> cv::videostab::StabilizerBase::stabilizationMotions_
protectedinherited
std::vector<Mat> cv::videostab::StabilizerBase::stabilizedFrames_
protectedinherited
std::vector<Mat> cv::videostab::StabilizerBase::stabilizedMasks_
protectedinherited
Mat cv::videostab::TwoPassStabilizer::suppressedFrame_
protected
float cv::videostab::StabilizerBase::trimRatio_
protectedinherited
Ptr<WobbleSuppressorBase> cv::videostab::TwoPassStabilizer::wobbleSuppressor_
protected

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