OpenCV  3.0.0-rc1
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cv::videostab::TwoPassStabilizer Class Reference

#include "stabilizer.hpp"

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

Public Member Functions

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

Protected Member Functions

virtual Mat estimateMotion ()
 
virtual Mat estimateStabilizationMotion ()
 
virtual Mat postProcessFrame (const Mat &frame)
 
void runPrePassIfNecessary ()
 
virtual void setUp (const Mat &firstFrame)
 
- Protected Member Functions inherited from cv::videostab::StabilizerBase
 StabilizerBase ()
 
bool doOneIteration ()
 
void logProcessingTime ()
 
Mat nextStabilizedFrame ()
 
void reset ()
 
void stabilizeFrame ()
 

Protected Attributes

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

Constructor & Destructor Documentation

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

Member Function Documentation

virtual Mat cv::videostab::TwoPassStabilizer::estimateMotion ( )
protectedvirtual
virtual Mat cv::videostab::TwoPassStabilizer::estimateStabilizationMotion ( )
protectedvirtual
Ptr<IMotionStabilizer> cv::videostab::TwoPassStabilizer::motionStabilizer ( ) const
inline
bool cv::videostab::TwoPassStabilizer::mustEstimateTrimaRatio ( ) const
inline
virtual Mat cv::videostab::TwoPassStabilizer::nextFrame ( )
virtual
virtual Mat cv::videostab::TwoPassStabilizer::postProcessFrame ( const Mat frame)
protectedvirtual

Reimplemented from cv::videostab::StabilizerBase.

virtual void cv::videostab::TwoPassStabilizer::reset ( )
virtual
void cv::videostab::TwoPassStabilizer::runPrePassIfNecessary ( )
protected
void cv::videostab::TwoPassStabilizer::setEstimateTrimRatio ( bool  val)
inline
void cv::videostab::TwoPassStabilizer::setMotionStabilizer ( Ptr< IMotionStabilizer val)
inline
virtual void cv::videostab::TwoPassStabilizer::setUp ( const Mat firstFrame)
protectedvirtual

Reimplemented from cv::videostab::StabilizerBase.

void cv::videostab::TwoPassStabilizer::setWobbleSuppressor ( Ptr< WobbleSuppressorBase val)
inline
Ptr<WobbleSuppressorBase> cv::videostab::TwoPassStabilizer::wobbleSuppressor ( ) const
inline

Member Data Documentation

bool cv::videostab::TwoPassStabilizer::doWobbleSuppression_
protected
int cv::videostab::TwoPassStabilizer::frameCount_
protected
bool cv::videostab::TwoPassStabilizer::isPrePassDone_
protected
std::vector<Mat> cv::videostab::TwoPassStabilizer::motions2_
protected
Ptr<IMotionStabilizer> cv::videostab::TwoPassStabilizer::motionStabilizer_
protected
bool cv::videostab::TwoPassStabilizer::mustEstTrimRatio_
protected
Mat cv::videostab::TwoPassStabilizer::suppressedFrame_
protected
Ptr<WobbleSuppressorBase> cv::videostab::TwoPassStabilizer::wobbleSuppressor_
protected

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