OpenCV  2.4.13.2
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

§ ~StabilizerBase()

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

§ StabilizerBase()

cv::videostab::StabilizerBase::StabilizerBase ( )
protected

Member Function Documentation

§ borderMode()

int cv::videostab::StabilizerBase::borderMode ( ) const
inline

§ deblurrer()

Ptr<DeblurerBase> cv::videostab::StabilizerBase::deblurrer ( ) const
inline

§ doCorrectionForInclusion()

bool cv::videostab::StabilizerBase::doCorrectionForInclusion ( ) const
inline

§ doOneIteration()

bool cv::videostab::StabilizerBase::doOneIteration ( )
protected

§ estimateMotion()

virtual void cv::videostab::StabilizerBase::estimateMotion ( )
protectedpure virtual

§ frameSource()

Ptr<IFrameSource> cv::videostab::StabilizerBase::frameSource ( ) const
inline

§ inpainter()

Ptr<InpainterBase> cv::videostab::StabilizerBase::inpainter ( ) const
inline

§ log()

Ptr<ILog> cv::videostab::StabilizerBase::log ( ) const
inline

§ motionEstimator()

Ptr<IGlobalMotionEstimator> cv::videostab::StabilizerBase::motionEstimator ( ) const
inline

§ nextStabilizedFrame()

Mat cv::videostab::StabilizerBase::nextStabilizedFrame ( )
protected

§ radius()

int cv::videostab::StabilizerBase::radius ( ) const
inline

§ setBorderMode()

void cv::videostab::StabilizerBase::setBorderMode ( int  val)
inline

§ setCorrectionForInclusion()

void cv::videostab::StabilizerBase::setCorrectionForInclusion ( bool  val)
inline

§ setDeblurer()

void cv::videostab::StabilizerBase::setDeblurer ( Ptr< DeblurerBase val)
inline

§ setFrameSource()

void cv::videostab::StabilizerBase::setFrameSource ( Ptr< IFrameSource val)
inline

§ setInpainter()

void cv::videostab::StabilizerBase::setInpainter ( Ptr< InpainterBase val)
inline

§ setLog()

void cv::videostab::StabilizerBase::setLog ( Ptr< ILog _log)
inline

§ setMotionEstimator()

void cv::videostab::StabilizerBase::setMotionEstimator ( Ptr< IGlobalMotionEstimator val)
inline

§ setRadius()

void cv::videostab::StabilizerBase::setRadius ( int  val)
inline

§ setTrimRatio()

void cv::videostab::StabilizerBase::setTrimRatio ( float  val)
inline

§ setUp() [1/2]

void cv::videostab::StabilizerBase::setUp ( int  cacheSize,
const Mat frame 
)
protected

§ setUp() [2/2]

virtual void cv::videostab::StabilizerBase::setUp ( Mat firstFrame)
protectedpure virtual

§ stabilizeFrame() [1/2]

void cv::videostab::StabilizerBase::stabilizeFrame ( const Mat stabilizationMotion)
protected

§ stabilizeFrame() [2/2]

virtual void cv::videostab::StabilizerBase::stabilizeFrame ( )
protectedpure virtual

§ trimRatio()

float cv::videostab::StabilizerBase::trimRatio ( ) const
inline

Member Data Documentation

§ blurrinessRates_

std::vector<float> cv::videostab::StabilizerBase::blurrinessRates_
protected

§ borderMode_

int cv::videostab::StabilizerBase::borderMode_
protected

§ curPos_

int cv::videostab::StabilizerBase::curPos_
protected

§ curStabilizedPos_

int cv::videostab::StabilizerBase::curStabilizedPos_
protected

§ deblurer_

Ptr<DeblurerBase> cv::videostab::StabilizerBase::deblurer_
protected

§ doCorrectionForInclusion_

bool cv::videostab::StabilizerBase::doCorrectionForInclusion_
protected

§ doDeblurring_

bool cv::videostab::StabilizerBase::doDeblurring_
protected

§ doInpainting_

bool cv::videostab::StabilizerBase::doInpainting_
protected

§ frameMask_

Mat cv::videostab::StabilizerBase::frameMask_
protected

§ frames_

std::vector<Mat> cv::videostab::StabilizerBase::frames_
protected

§ frameSize_

Size cv::videostab::StabilizerBase::frameSize_
protected

§ frameSource_

Ptr<IFrameSource> cv::videostab::StabilizerBase::frameSource_
protected

§ inpainter_

Ptr<InpainterBase> cv::videostab::StabilizerBase::inpainter_
protected

§ inpaintingMask_

Mat cv::videostab::StabilizerBase::inpaintingMask_
protected

§ log_

Ptr<ILog> cv::videostab::StabilizerBase::log_
protected

§ motionEstimator_

Ptr<IGlobalMotionEstimator> cv::videostab::StabilizerBase::motionEstimator_
protected

§ motions_

std::vector<Mat> cv::videostab::StabilizerBase::motions_
protected

§ preProcessedFrame_

Mat cv::videostab::StabilizerBase::preProcessedFrame_
protected

§ radius_

int cv::videostab::StabilizerBase::radius_
protected

§ stabilizationMotions_

std::vector<Mat> cv::videostab::StabilizerBase::stabilizationMotions_
protected

§ stabilizedFrames_

std::vector<Mat> cv::videostab::StabilizerBase::stabilizedFrames_
protected

§ stabilizedMasks_

std::vector<Mat> cv::videostab::StabilizerBase::stabilizedMasks_
protected

§ trimRatio_

float cv::videostab::StabilizerBase::trimRatio_
protected

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