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

#include "stabilizer.hpp"

Inheritance diagram for cv::videostab::OnePassStabilizer:
Collaboration diagram for cv::videostab::OnePassStabilizer:

Public Member Functions

 OnePassStabilizer ()
 
int borderMode () const
 
Ptr< DeblurerBasedeblurrer () const
 
bool doCorrectionForInclusion () const
 
Ptr< IFrameSourceframeSource () const
 
Ptr< InpainterBaseinpainter () const
 
Ptr< ILoglog () const
 
Ptr< ImageMotionEstimatorBasemotionEstimator () const
 
Ptr< MotionFilterBasemotionFilter () const
 
virtual Mat nextFrame ()
 
int radius () const
 
virtual void reset ()
 
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 setMotionFilter (Ptr< MotionFilterBase > val)
 
void setRadius (int val)
 
void setTrimRatio (float val)
 
float trimRatio () const
 

Protected Member Functions

bool doOneIteration ()
 
virtual Mat estimateMotion ()
 
virtual Mat estimateStabilizationMotion ()
 
void logProcessingTime ()
 
Mat nextStabilizedFrame ()
 
virtual Mat postProcessFrame (const Mat &frame)
 
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_
 
Ptr< MotionFilterBasemotionFilter_
 
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::OnePassStabilizer::OnePassStabilizer ( )

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::OnePassStabilizer::estimateMotion ( )
protectedvirtual
virtual Mat cv::videostab::OnePassStabilizer::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<MotionFilterBase> cv::videostab::OnePassStabilizer::motionFilter ( ) const
inline
virtual Mat cv::videostab::OnePassStabilizer::nextFrame ( )
inlinevirtual
Mat cv::videostab::StabilizerBase::nextStabilizedFrame ( )
protectedinherited
virtual Mat cv::videostab::OnePassStabilizer::postProcessFrame ( const Mat frame)
protectedvirtual

Reimplemented from cv::videostab::StabilizerBase.

int cv::videostab::StabilizerBase::radius ( ) const
inlineinherited
virtual void cv::videostab::OnePassStabilizer::reset ( )
virtual
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::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::OnePassStabilizer::setMotionFilter ( Ptr< MotionFilterBase val)
inline
void cv::videostab::StabilizerBase::setRadius ( int  val)
inlineinherited
void cv::videostab::StabilizerBase::setTrimRatio ( float  val)
inlineinherited
virtual void cv::videostab::OnePassStabilizer::setUp ( const Mat firstFrame)
protectedvirtual

Reimplemented from cv::videostab::StabilizerBase.

void cv::videostab::StabilizerBase::stabilizeFrame ( )
protectedinherited
float cv::videostab::StabilizerBase::trimRatio ( ) const
inlineinherited

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
Mat cv::videostab::StabilizerBase::finalFrame_
protectedinherited
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
Ptr<ILog> cv::videostab::StabilizerBase::log_
protectedinherited
Ptr<ImageMotionEstimatorBase> cv::videostab::StabilizerBase::motionEstimator_
protectedinherited
Ptr<MotionFilterBase> cv::videostab::OnePassStabilizer::motionFilter_
protected
std::vector<Mat> cv::videostab::StabilizerBase::motions_
protectedinherited
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
float cv::videostab::StabilizerBase::trimRatio_
protectedinherited

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