OpenCV  2.4.13
Open Source Computer Vision
cv::videostab::StabilizerBase Class Referenceabstract

#include <stabilizer.hpp>

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

Public Member Functions

virtual ~StabilizerBase ()
 
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

 StabilizerBase ()
 
void setUp (int cacheSize, const Mat &frame)
 
Mat nextStabilizedFrame ()
 
bool doOneIteration ()
 
void stabilizeFrame (const Mat &stabilizationMotion)
 
virtual void setUp (Mat &firstFrame)=0
 
virtual void stabilizeFrame ()=0
 
virtual void estimateMotion ()=0
 

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

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 void cv::videostab::StabilizerBase::estimateMotion ( )
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
Ptr<IGlobalMotionEstimator> cv::videostab::StabilizerBase::motionEstimator ( ) const
inline
Mat cv::videostab::StabilizerBase::nextStabilizedFrame ( )
protected
int cv::videostab::StabilizerBase::radius ( ) const
inline
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 _log)
inline
void cv::videostab::StabilizerBase::setMotionEstimator ( Ptr< IGlobalMotionEstimator val)
inline
void cv::videostab::StabilizerBase::setRadius ( int  val)
inline
void cv::videostab::StabilizerBase::setTrimRatio ( float  val)
inline
void cv::videostab::StabilizerBase::setUp ( int  cacheSize,
const Mat frame 
)
protected
virtual void cv::videostab::StabilizerBase::setUp ( Mat firstFrame)
protectedpure virtual
void cv::videostab::StabilizerBase::stabilizeFrame ( const Mat stabilizationMotion)
protected
virtual void cv::videostab::StabilizerBase::stabilizeFrame ( )
protectedpure virtual
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::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<IGlobalMotionEstimator> cv::videostab::StabilizerBase::motionEstimator_
protected
std::vector<Mat> cv::videostab::StabilizerBase::motions_
protected
Mat cv::videostab::StabilizerBase::preProcessedFrame_
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: