OpenCV  4.0.0-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cv::videostab::TwoPassStabilizer Class Reference

#include "stabilizer.hpp"

Inheritance diagram for cv::videostab::TwoPassStabilizer:
Collaboration diagram for cv::videostab::TwoPassStabilizer:

Public Member Functions

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

Protected Member Functions

bool doOneIteration ()
 
virtual Mat estimateMotion () CV_OVERRIDE
 
virtual Mat estimateStabilizationMotion () CV_OVERRIDE
 
void logProcessingTime ()
 
Mat nextStabilizedFrame ()
 
virtual Mat postProcessFrame (const Mat &frame) CV_OVERRIDE
 
void runPrePassIfNecessary ()
 
virtual void setUp (const Mat &firstFrame) CV_OVERRIDE
 
void stabilizeFrame ()
 

Protected Attributes

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

Constructor & Destructor Documentation

◆ TwoPassStabilizer()

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

Member Function Documentation

◆ borderMode()

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

◆ deblurrer()

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

◆ doCorrectionForInclusion()

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

◆ doOneIteration()

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

◆ estimateMotion()

virtual Mat cv::videostab::TwoPassStabilizer::estimateMotion ( )
protectedvirtual

◆ estimateStabilizationMotion()

virtual Mat cv::videostab::TwoPassStabilizer::estimateStabilizationMotion ( )
protectedvirtual

◆ frameSource()

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

◆ inpainter()

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

◆ log()

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

◆ logProcessingTime()

void cv::videostab::StabilizerBase::logProcessingTime ( )
protectedinherited

◆ motionEstimator()

Ptr<ImageMotionEstimatorBase> cv::videostab::StabilizerBase::motionEstimator ( ) const
inlineinherited

◆ motionStabilizer()

Ptr<IMotionStabilizer> cv::videostab::TwoPassStabilizer::motionStabilizer ( ) const
inline

◆ mustEstimateTrimaRatio()

bool cv::videostab::TwoPassStabilizer::mustEstimateTrimaRatio ( ) const
inline

References CV_OVERRIDE.

◆ nextFrame()

virtual Mat cv::videostab::TwoPassStabilizer::nextFrame ( )
virtual

◆ nextStabilizedFrame()

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

◆ postProcessFrame()

virtual Mat cv::videostab::TwoPassStabilizer::postProcessFrame ( const Mat frame)
protectedvirtual

Reimplemented from cv::videostab::StabilizerBase.

◆ radius()

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

◆ reset()

virtual void cv::videostab::TwoPassStabilizer::reset ( )
virtual

◆ runPrePassIfNecessary()

void cv::videostab::TwoPassStabilizer::runPrePassIfNecessary ( )
protected

◆ setBorderMode()

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

◆ setCorrectionForInclusion()

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

◆ setDeblurer()

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

◆ setEstimateTrimRatio()

void cv::videostab::TwoPassStabilizer::setEstimateTrimRatio ( bool  val)
inline

◆ setFrameSource()

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

◆ setInpainter()

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

◆ setLog()

void cv::videostab::StabilizerBase::setLog ( Ptr< ILog ilog)
inlineinherited

◆ setMotionEstimator()

void cv::videostab::StabilizerBase::setMotionEstimator ( Ptr< ImageMotionEstimatorBase val)
inlineinherited

◆ setMotionStabilizer()

void cv::videostab::TwoPassStabilizer::setMotionStabilizer ( Ptr< IMotionStabilizer val)
inline

◆ setRadius()

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

◆ setTrimRatio()

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

◆ setUp()

virtual void cv::videostab::TwoPassStabilizer::setUp ( const Mat firstFrame)
protectedvirtual

Reimplemented from cv::videostab::StabilizerBase.

◆ setWobbleSuppressor()

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

◆ stabilizeFrame()

void cv::videostab::StabilizerBase::stabilizeFrame ( )
protectedinherited

◆ trimRatio()

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

◆ wobbleSuppressor()

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

Member Data Documentation

◆ blurrinessRates_

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

◆ borderMode_

int cv::videostab::StabilizerBase::borderMode_
protectedinherited

◆ curPos_

int cv::videostab::StabilizerBase::curPos_
protectedinherited

◆ curStabilizedPos_

int cv::videostab::StabilizerBase::curStabilizedPos_
protectedinherited

◆ deblurer_

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

◆ doCorrectionForInclusion_

bool cv::videostab::StabilizerBase::doCorrectionForInclusion_
protectedinherited

◆ doDeblurring_

bool cv::videostab::StabilizerBase::doDeblurring_
protectedinherited

◆ doInpainting_

bool cv::videostab::StabilizerBase::doInpainting_
protectedinherited

◆ doWobbleSuppression_

bool cv::videostab::TwoPassStabilizer::doWobbleSuppression_
protected

◆ finalFrame_

Mat cv::videostab::StabilizerBase::finalFrame_
protectedinherited

◆ frameCount_

int cv::videostab::TwoPassStabilizer::frameCount_
protected

◆ frameMask_

Mat cv::videostab::StabilizerBase::frameMask_
protectedinherited

◆ frames_

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

◆ frameSize_

Size cv::videostab::StabilizerBase::frameSize_
protectedinherited

◆ frameSource_

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

◆ inpainter_

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

◆ inpaintingMask_

Mat cv::videostab::StabilizerBase::inpaintingMask_
protectedinherited

◆ isPrePassDone_

bool cv::videostab::TwoPassStabilizer::isPrePassDone_
protected

◆ log_

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

◆ motionEstimator_

Ptr<ImageMotionEstimatorBase> cv::videostab::StabilizerBase::motionEstimator_
protectedinherited

◆ motions2_

std::vector<Mat> cv::videostab::TwoPassStabilizer::motions2_
protected

◆ motions_

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

◆ motionStabilizer_

Ptr<IMotionStabilizer> cv::videostab::TwoPassStabilizer::motionStabilizer_
protected

◆ mustEstTrimRatio_

bool cv::videostab::TwoPassStabilizer::mustEstTrimRatio_
protected

◆ preProcessedFrame_

Mat cv::videostab::StabilizerBase::preProcessedFrame_
protectedinherited

◆ processingStartTime_

clock_t cv::videostab::StabilizerBase::processingStartTime_
protectedinherited

◆ radius_

int cv::videostab::StabilizerBase::radius_
protectedinherited

◆ stabilizationMotions_

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

◆ stabilizedFrames_

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

◆ stabilizedMasks_

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

◆ suppressedFrame_

Mat cv::videostab::TwoPassStabilizer::suppressedFrame_
protected

◆ trimRatio_

float cv::videostab::StabilizerBase::trimRatio_
protectedinherited

◆ wobbleSuppressor_

Ptr<WobbleSuppressorBase> cv::videostab::TwoPassStabilizer::wobbleSuppressor_
protected

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