OpenCV  3.4.11
Open Source Computer Vision
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cv::videostab::OnePassStabilizer Class Reference

#include <opencv2/videostab/stabilizer.hpp>

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

Public Member Functions

 OnePassStabilizer ()
 
Ptr< MotionFilterBasemotionFilter () const
 
virtual Mat nextFrame () CV_OVERRIDE
 
virtual void reset () CV_OVERRIDE
 
void setMotionFilter (Ptr< MotionFilterBase > val)
 
- Public Member Functions inherited from cv::videostab::StabilizerBase
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
 
- Public Member Functions inherited from cv::videostab::IFrameSource
virtual ~IFrameSource ()
 

Protected Member Functions

virtual Mat estimateMotion () CV_OVERRIDE
 
virtual Mat estimateStabilizationMotion () CV_OVERRIDE
 
virtual Mat postProcessFrame (const Mat &frame) CV_OVERRIDE
 
virtual void setUp (const Mat &firstFrame) CV_OVERRIDE
 
- Protected Member Functions inherited from cv::videostab::StabilizerBase
 StabilizerBase ()
 
bool doOneIteration ()
 
void logProcessingTime ()
 
Mat nextStabilizedFrame ()
 
void reset ()
 
void stabilizeFrame ()
 

Protected Attributes

Ptr< MotionFilterBasemotionFilter_
 
- Protected Attributes inherited from cv::videostab::StabilizerBase
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

◆ OnePassStabilizer()

cv::videostab::OnePassStabilizer::OnePassStabilizer ( )

Member Function Documentation

◆ estimateMotion()

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

◆ estimateStabilizationMotion()

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

◆ motionFilter()

Ptr<MotionFilterBase> cv::videostab::OnePassStabilizer::motionFilter ( ) const
inline

◆ nextFrame()

virtual Mat cv::videostab::OnePassStabilizer::nextFrame ( )
inlinevirtual

◆ postProcessFrame()

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

Reimplemented from cv::videostab::StabilizerBase.

◆ reset()

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

◆ setMotionFilter()

void cv::videostab::OnePassStabilizer::setMotionFilter ( Ptr< MotionFilterBase val)
inline

◆ setUp()

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

Reimplemented from cv::videostab::StabilizerBase.

Member Data Documentation

◆ motionFilter_

Ptr<MotionFilterBase> cv::videostab::OnePassStabilizer::motionFilter_
protected

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