OpenCV  3.2.0-dev
Open Source Computer Vision
cv::videostab::StabilizerBase Class Referenceabstract

#include "stabilizer.hpp"

Inheritance diagram for cv::videostab::StabilizerBase:
Collaboration diagram for cv::videostab::StabilizerBase:

Public Member Functions

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
 

Protected Member Functions

 StabilizerBase ()
 
bool doOneIteration ()
 
virtual Mat estimateMotion ()=0
 
virtual Mat estimateStabilizationMotion ()=0
 
void logProcessingTime ()
 
Mat nextStabilizedFrame ()
 
virtual Mat postProcessFrame (const Mat &frame)
 
void reset ()
 
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_
 
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

virtual cv::videostab::StabilizerBase::~StabilizerBase ( )
inlinevirtual
cv::videostab::StabilizerBase::StabilizerBase ( )
protected

Member Function Documentation

int cv::videostab::StabilizerBase::borderMode ( ) const
inline
Ptr<DeblurerBase> cv::videostab::StabilizerBase::deblurrer ( ) const
inline
bool cv::videostab::StabilizerBase::doCorrectionForInclusion ( ) const
inline
bool cv::videostab::StabilizerBase::doOneIteration ( )
protected
virtual Mat cv::videostab::StabilizerBase::estimateMotion ( )
protectedpure virtual
virtual Mat cv::videostab::StabilizerBase::estimateStabilizationMotion ( )
protectedpure virtual
Ptr<IFrameSource> cv::videostab::StabilizerBase::frameSource ( ) const
inline
Ptr<InpainterBase> cv::videostab::StabilizerBase::inpainter ( ) const
inline
Ptr<ILog> cv::videostab::StabilizerBase::log ( ) const
inline

References cv::cudev::log_().

Here is the call graph for this function:

void cv::videostab::StabilizerBase::logProcessingTime ( )
protected
Ptr<ImageMotionEstimatorBase> cv::videostab::StabilizerBase::motionEstimator ( ) const
inline
Mat cv::videostab::StabilizerBase::nextStabilizedFrame ( )
protected
virtual Mat cv::videostab::StabilizerBase::postProcessFrame ( const Mat frame)
protectedvirtual
int cv::videostab::StabilizerBase::radius ( ) const
inline
void cv::videostab::StabilizerBase::reset ( )
protected
void cv::videostab::StabilizerBase::setBorderMode ( int  val)
inline
void cv::videostab::StabilizerBase::setCorrectionForInclusion ( bool  val)
inline
void cv::videostab::StabilizerBase::setDeblurer ( Ptr< DeblurerBase val)
inline
void cv::videostab::StabilizerBase::setFrameSource ( Ptr< IFrameSource val)
inline
void cv::videostab::StabilizerBase::setInpainter ( Ptr< InpainterBase val)
inline
void cv::videostab::StabilizerBase::setLog ( Ptr< ILog ilog)
inline

References cv::cudev::log_().

Here is the call graph for this function:

void cv::videostab::StabilizerBase::setMotionEstimator ( Ptr< ImageMotionEstimatorBase val)
inline
void cv::videostab::StabilizerBase::setRadius ( int  val)
inline
void cv::videostab::StabilizerBase::setTrimRatio ( float  val)
inline
virtual void cv::videostab::StabilizerBase::setUp ( const Mat firstFrame)
protectedvirtual
void cv::videostab::StabilizerBase::stabilizeFrame ( )
protected
float cv::videostab::StabilizerBase::trimRatio ( ) const
inline

Member Data Documentation

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

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