mexopencv  3.4.1
MEX interface for OpenCV library
Classes | Functions | Variables
mexopencv_videostab.hpp File Reference

Common definitions for the videostab module. More...

#include "mexopencv.hpp"
#include "mexopencv_features2d.hpp"
#include "opencv2/videostab.hpp"

Go to the source code of this file.

Classes

class  LogToMATLAB
 Logger class to log messages from videostab in MATLAB. More...
 

Functions

cv::videostab::RansacParams toRansacParams (const MxArray &arr)
 Convert MxArray to RansacParams. More...
 
MxArray toStruct (const cv::videostab::RansacParams &params)
 Convert RansacParams to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::videostab::ILog > p)
 Convert a ILog to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::videostab::IFrameSource > p)
 Convert a IFrameSource to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::videostab::DeblurerBase > p)
 Convert a DeblurerBase to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::videostab::MotionEstimatorBase > p)
 Convert a MotionEstimatorBase to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::FeatureDetector > p)
 Convert a FeatureDetector to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::videostab::ISparseOptFlowEstimator > p)
 Convert a ISparseOptFlowEstimator to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::videostab::IDenseOptFlowEstimator > p)
 Convert a IDenseOptFlowEstimator to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::videostab::IOutlierRejector > p)
 Convert a IOutlierRejector to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::videostab::ImageMotionEstimatorBase > p)
 Convert a ImageMotionEstimatorBase to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::videostab::InpainterBase > p)
 Convert a InpainterBase to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::videostab::MotionFilterBase > p)
 Convert a MotionFilterBase to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::videostab::IMotionStabilizer > p)
 Convert a IMotionStabilizer to MxArray. More...
 
MxArray toStruct (cv::Ptr< cv::videostab::WobbleSuppressorBase > p)
 Convert a WobbleSuppressorBase to MxArray. More...
 
cv::Ptr< cv::videostab::ILogcreateILog (const std::string &type)
 Create an instance of ILog of the specified type. More...
 
cv::Ptr< cv::videostab::VideoFileSourcecreateVideoFileSource (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of VideoFileSource using options in arguments. More...
 
cv::Ptr< cv::videostab::IFrameSourcecreateIFrameSource (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of IFrameSource using options in arguments. More...
 
cv::Ptr< cv::videostab::WeightingDeblurercreateWeightingDeblurer (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of WeightingDeblurer using options in arguments. More...
 
cv::Ptr< cv::videostab::DeblurerBasecreateDeblurerBase (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of DeblurerBase using options in arguments. More...
 
cv::Ptr< cv::videostab::MotionEstimatorL1createMotionEstimatorL1 (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of MotionEstimatorL1 using options in arguments. More...
 
cv::Ptr< cv::videostab::MotionEstimatorRansacL2createMotionEstimatorRansacL2 (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of MotionEstimatorRansacL2 using options in arguments. More...
 
cv::Ptr< cv::videostab::MotionEstimatorBasecreateMotionEstimatorBase (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of MotionEstimatorBase using options in arguments. More...
 
cv::Ptr< cv::videostab::SparsePyrLkOptFlowEstimatorcreateSparsePyrLkOptFlowEstimator (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of SparsePyrLkOptFlowEstimator using options in arguments. More...
 
cv::Ptr< cv::videostab::ISparseOptFlowEstimatorcreateISparseOptFlowEstimator (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of ISparseOptFlowEstimator using options in arguments. More...
 
cv::Ptr< cv::videostab::IDenseOptFlowEstimatorcreateIDenseOptFlowEstimator (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of IDenseOptFlowEstimator using options in arguments. More...
 
cv::Ptr< cv::videostab::TranslationBasedLocalOutlierRejectorcreateTranslationBasedLocalOutlierRejector (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of createTranslationBasedLocalOutlierRejector using options in arguments. More...
 
cv::Ptr< cv::videostab::IOutlierRejectorcreateIOutlierRejector (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of IOutlierRejector using options in arguments. More...
 
cv::Ptr< cv::videostab::KeypointBasedMotionEstimatorcreateKeypointBasedMotionEstimator (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of KeypointBasedMotionEstimator using options in arguments. More...
 
cv::Ptr< cv::videostab::FromFileMotionReadercreateFromFileMotionReader (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of FromFileMotionReader using options in arguments. More...
 
cv::Ptr< cv::videostab::ToFileMotionWritercreateToFileMotionWriter (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of ToFileMotionWriter using options in arguments. More...
 
cv::Ptr< cv::videostab::ImageMotionEstimatorBasecreateImageMotionEstimator (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of ImageMotionEstimatorBase using options in arguments. More...
 
cv::Ptr< cv::videostab::ColorInpaintercreateColorInpainter (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of ColorInpainter using options in arguments. More...
 
cv::Ptr< cv::videostab::ColorAverageInpaintercreateColorAverageInpainter (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of ColorAverageInpainter using options in arguments. More...
 
cv::Ptr< cv::videostab::ConsistentMosaicInpaintercreateConsistentMosaicInpainter (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of ConsistentMosaicInpainter using options in arguments. More...
 
cv::Ptr< cv::videostab::MotionInpaintercreateMotionInpainter (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of MotionInpainter using options in arguments. More...
 
cv::Ptr< cv::videostab::InpaintingPipelinecreateInpaintingPipeline (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of InpaintingPipeline using options in arguments. More...
 
cv::Ptr< cv::videostab::InpainterBasecreateInpainterBase (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of InpainterBase using options in arguments. More...
 
cv::Ptr< cv::videostab::GaussianMotionFiltercreateGaussianMotionFilter (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of GaussianMotionFilter using options in arguments. More...
 
cv::Ptr< cv::videostab::MotionFilterBasecreateMotionFilterBase (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of MotionFilterBase using options in arguments. More...
 
cv::Ptr< cv::videostab::LpMotionStabilizercreateLpMotionStabilizer (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of LpMotionStabilizer using options in arguments. More...
 
cv::Ptr< cv::videostab::MotionStabilizationPipelinecreateMotionStabilizationPipeline (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of MotionStabilizationPipeline using options in arguments. More...
 
cv::Ptr< cv::videostab::IMotionStabilizercreateIMotionStabilizer (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of IMotionStabilizer using options in arguments. More...
 
cv::Ptr< cv::videostab::MoreAccurateMotionWobbleSuppressorcreateMoreAccurateMotionWobbleSuppressor (std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of MoreAccurateMotionWobbleSuppressor using options in arguments. More...
 
cv::Ptr< cv::videostab::WobbleSuppressorBasecreateWobbleSuppressorBase (const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
 Create an instance of WobbleSuppressorBase using options in arguments. More...
 

Variables

const ConstMap< std::string, cv::videostab::MotionModelMotionModelMap
 motion model types for option processing More...
 
const ConstMap< cv::videostab::MotionModel, std::stringMotionModelInvMap
 inverse motion model types for option processing More...
 

Detailed Description

Common definitions for the videostab module.

Author
Amro
Date
2016

Header file for MEX-functions that use videostab module from OpenCV library. This file includes maps for option processing, as well as functions for creating instances of cv::videostab:: classes from parsed arguments.

Definition in file mexopencv_videostab.hpp.

Function Documentation

◆ createColorAverageInpainter()

cv::Ptr<cv::videostab::ColorAverageInpainter> createColorAverageInpainter ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of ColorAverageInpainter using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created ColorAverageInpainter

Definition at line 743 of file mexopencv_videostab.cpp.

◆ createColorInpainter()

cv::Ptr<cv::videostab::ColorInpainter> createColorInpainter ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of ColorInpainter using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created ColorInpainter

Definition at line 708 of file mexopencv_videostab.cpp.

◆ createConsistentMosaicInpainter()

cv::Ptr<cv::videostab::ConsistentMosaicInpainter> createConsistentMosaicInpainter ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of ConsistentMosaicInpainter using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created ConsistentMosaicInpainter

Definition at line 768 of file mexopencv_videostab.cpp.

◆ createDeblurerBase()

cv::Ptr<cv::videostab::DeblurerBase> createDeblurerBase ( const std::string type,
std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of DeblurerBase using options in arguments.

Parameters
typedeblurer type, one of:
  • "WeightingDeblurer"
  • "NullDeblurer"
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created DeblurerBase

Definition at line 385 of file mexopencv_videostab.cpp.

◆ createFromFileMotionReader()

cv::Ptr<cv::videostab::FromFileMotionReader> createFromFileMotionReader ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of FromFileMotionReader using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created FromFileMotionReader

Definition at line 634 of file mexopencv_videostab.cpp.

◆ createGaussianMotionFilter()

cv::Ptr<cv::videostab::GaussianMotionFilter> createGaussianMotionFilter ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of GaussianMotionFilter using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created GaussianMotionFilter

Definition at line 899 of file mexopencv_videostab.cpp.

◆ createIDenseOptFlowEstimator()

cv::Ptr<cv::videostab::IDenseOptFlowEstimator> createIDenseOptFlowEstimator ( const std::string type,
std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of IDenseOptFlowEstimator using options in arguments.

Parameters
typedense optical flow estimator type, one of:
  • "DensePyrLkOptFlowEstimatorGpu" (requires CUDA)
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created IDenseOptFlowEstimator

Definition at line 518 of file mexopencv_videostab.cpp.

◆ createIFrameSource()

cv::Ptr<cv::videostab::IFrameSource> createIFrameSource ( const std::string type,
std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of IFrameSource using options in arguments.

Parameters
typeframe source type, one of:
  • "VideoFileSource"
  • "NullFrameSource"
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created IFrameSource

Definition at line 338 of file mexopencv_videostab.cpp.

◆ createILog()

cv::Ptr<cv::videostab::ILog> createILog ( const std::string type)

Create an instance of ILog of the specified type.

Parameters
typelogger type, one of:
  • "LogToMATLAB"
  • "LogToStdout" (Note: output wont show in MATLAB)
  • "NullLog"
Returns
smart pointer to created ILog

Definition at line 300 of file mexopencv_videostab.cpp.

◆ createImageMotionEstimator()

cv::Ptr<cv::videostab::ImageMotionEstimatorBase> createImageMotionEstimator ( const std::string type,
std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of ImageMotionEstimatorBase using options in arguments.

Parameters
typeimage motion estimator type, one of:
  • "KeypointBasedMotionEstimator"
  • "FromFileMotionReader"
  • "ToFileMotionWriter"
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created ImageMotionEstimatorBase

Definition at line 687 of file mexopencv_videostab.cpp.

◆ createIMotionStabilizer()

cv::Ptr<cv::videostab::IMotionStabilizer> createIMotionStabilizer ( const std::string type,
std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of IMotionStabilizer using options in arguments.

Parameters
typemotion stabilizer type, one of:
  • "MotionStabilizationPipeline"
  • "GaussianMotionFilter"
  • "LpMotionStabilizer" (requires CLP library)
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created IMotionStabilizer

Definition at line 996 of file mexopencv_videostab.cpp.

◆ createInpainterBase()

cv::Ptr<cv::videostab::InpainterBase> createInpainterBase ( const std::string type,
std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of InpainterBase using options in arguments.

Parameters
typeinpainter type, one of:
  • "NullInpainter"
  • "InpaintingPipeline"
  • "ConsistentMosaicInpainter"
  • "MotionInpainter" (requires CUDA)
  • "ColorAverageInpainter"
  • "ColorInpainter"
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created InpainterBase

Definition at line 869 of file mexopencv_videostab.cpp.

◆ createInpaintingPipeline()

cv::Ptr<cv::videostab::InpaintingPipeline> createInpaintingPipeline ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of InpaintingPipeline using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created InpaintingPipeline

Definition at line 833 of file mexopencv_videostab.cpp.

◆ createIOutlierRejector()

cv::Ptr<cv::videostab::IOutlierRejector> createIOutlierRejector ( const std::string type,
std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of IOutlierRejector using options in arguments.

Parameters
typeoutlier rejector type, one of:
  • "TranslationBasedLocalOutlierRejector"
  • "NullOutlierRejector"
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created IOutlierRejector

Definition at line 562 of file mexopencv_videostab.cpp.

◆ createISparseOptFlowEstimator()

cv::Ptr<cv::videostab::ISparseOptFlowEstimator> createISparseOptFlowEstimator ( const std::string type,
std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of ISparseOptFlowEstimator using options in arguments.

Parameters
typesparse optical flow estimator type, one of:
  • "SparsePyrLkOptFlowEstimator"
  • "SparsePyrLkOptFlowEstimatorGpu" (requires CUDA)
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created ISparseOptFlowEstimator

Definition at line 501 of file mexopencv_videostab.cpp.

◆ createKeypointBasedMotionEstimator()

cv::Ptr<cv::videostab::KeypointBasedMotionEstimator> createKeypointBasedMotionEstimator ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of KeypointBasedMotionEstimator using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created KeypointBasedMotionEstimator

Definition at line 584 of file mexopencv_videostab.cpp.

◆ createLpMotionStabilizer()

cv::Ptr<cv::videostab::LpMotionStabilizer> createLpMotionStabilizer ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of LpMotionStabilizer using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created LpMotionStabilizer

Definition at line 938 of file mexopencv_videostab.cpp.

◆ createMoreAccurateMotionWobbleSuppressor()

cv::Ptr<cv::videostab::MoreAccurateMotionWobbleSuppressor> createMoreAccurateMotionWobbleSuppressor ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of MoreAccurateMotionWobbleSuppressor using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created MoreAccurateMotionWobbleSuppressor

Definition at line 1017 of file mexopencv_videostab.cpp.

◆ createMotionEstimatorBase()

cv::Ptr<cv::videostab::MotionEstimatorBase> createMotionEstimatorBase ( const std::string type,
std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of MotionEstimatorBase using options in arguments.

Parameters
typemotion estimator type, one of:
  • "MotionEstimatorL1" (requires CLP library)
  • "MotionEstimatorRansacL2"
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created MotionEstimatorBase

Definition at line 458 of file mexopencv_videostab.cpp.

◆ createMotionEstimatorL1()

cv::Ptr<cv::videostab::MotionEstimatorL1> createMotionEstimatorL1 ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of MotionEstimatorL1 using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created MotionEstimatorL1

Definition at line 407 of file mexopencv_videostab.cpp.

◆ createMotionEstimatorRansacL2()

cv::Ptr<cv::videostab::MotionEstimatorRansacL2> createMotionEstimatorRansacL2 ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of MotionEstimatorRansacL2 using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created MotionEstimatorRansacL2

Definition at line 426 of file mexopencv_videostab.cpp.

◆ createMotionFilterBase()

cv::Ptr<cv::videostab::MotionFilterBase> createMotionFilterBase ( const std::string type,
std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of MotionFilterBase using options in arguments.

Parameters
typemotion filter type, one of:
  • "GaussianMotionFilter"
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created MotionFilterBase

Definition at line 921 of file mexopencv_videostab.cpp.

◆ createMotionInpainter()

cv::Ptr<cv::videostab::MotionInpainter> createMotionInpainter ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of MotionInpainter using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created MotionInpainter

Definition at line 795 of file mexopencv_videostab.cpp.

◆ createMotionStabilizationPipeline()

cv::Ptr<cv::videostab::MotionStabilizationPipeline> createMotionStabilizationPipeline ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of MotionStabilizationPipeline using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created MotionStabilizationPipeline

Definition at line 972 of file mexopencv_videostab.cpp.

◆ createSparsePyrLkOptFlowEstimator()

cv::Ptr<cv::videostab::SparsePyrLkOptFlowEstimator> createSparsePyrLkOptFlowEstimator ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of SparsePyrLkOptFlowEstimator using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created SparsePyrLkOptFlowEstimator

Definition at line 477 of file mexopencv_videostab.cpp.

◆ createToFileMotionWriter()

cv::Ptr<cv::videostab::ToFileMotionWriter> createToFileMotionWriter ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of ToFileMotionWriter using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created ToFileMotionWriter

Definition at line 657 of file mexopencv_videostab.cpp.

◆ createTranslationBasedLocalOutlierRejector()

cv::Ptr<cv::videostab::TranslationBasedLocalOutlierRejector> createTranslationBasedLocalOutlierRejector ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of createTranslationBasedLocalOutlierRejector using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created createTranslationBasedLocalOutlierRejector

Definition at line 536 of file mexopencv_videostab.cpp.

◆ createVideoFileSource()

cv::Ptr<cv::videostab::VideoFileSource> createVideoFileSource ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of VideoFileSource using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created VideoFileSource

Definition at line 318 of file mexopencv_videostab.cpp.

◆ createWeightingDeblurer()

cv::Ptr<cv::videostab::WeightingDeblurer> createWeightingDeblurer ( std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of WeightingDeblurer using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created WeightingDeblurer

Definition at line 360 of file mexopencv_videostab.cpp.

◆ createWobbleSuppressorBase()

cv::Ptr<cv::videostab::WobbleSuppressorBase> createWobbleSuppressorBase ( const std::string type,
std::vector< MxArray >::const_iterator  first,
std::vector< MxArray >::const_iterator  last 
)

Create an instance of WobbleSuppressorBase using options in arguments.

Parameters
typewobble suppressor type, one of:
  • "NullWobbleSuppressor"
  • "MoreAccurateMotionWobbleSuppressor"
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created WobbleSuppressorBase

Definition at line 1048 of file mexopencv_videostab.cpp.

◆ toRansacParams()

cv::videostab::RansacParams toRansacParams ( const MxArray arr)

Convert MxArray to RansacParams.

Parameters
arrinput MxArray structure
Returns
output instance of RansacParams

Definition at line 30 of file estimateGlobalMotionRansac.cpp.

◆ toStruct() [1/14]

MxArray toStruct ( const cv::videostab::RansacParams params)

Convert RansacParams to MxArray.

Parameters
paramsinput instance of RansacParams
Returns
output MxArray structure

Definition at line 57 of file mexopencv_videostab.cpp.

◆ toStruct() [2/14]

MxArray toStruct ( cv::Ptr< cv::videostab::ILog p)

Convert a ILog to MxArray.

Parameters
psmart poitner to an instance of ILog
Returns
output MxArray structure

◆ toStruct() [3/14]

Convert a IFrameSource to MxArray.

Parameters
psmart poitner to an instance of IFrameSource
Returns
output MxArray structure

◆ toStruct() [4/14]

Convert a DeblurerBase to MxArray.

Parameters
psmart poitner to an instance of DeblurerBase
Returns
output MxArray structure

◆ toStruct() [5/14]

Convert a MotionEstimatorBase to MxArray.

Parameters
psmart poitner to an instance of MotionEstimatorBase
Returns
output MxArray structure

◆ toStruct() [6/14]

MxArray toStruct ( cv::Ptr< cv::FeatureDetector p)

Convert a FeatureDetector to MxArray.

Parameters
psmart poitner to an instance of FeatureDetector
Returns
output MxArray structure

Definition at line 127 of file mexopencv_videostab.cpp.

◆ toStruct() [7/14]

Convert a ISparseOptFlowEstimator to MxArray.

Parameters
psmart poitner to an instance of ISparseOptFlowEstimator
Returns
output MxArray structure

◆ toStruct() [8/14]

Convert a IDenseOptFlowEstimator to MxArray.

Parameters
psmart poitner to an instance of IDenseOptFlowEstimator
Returns
output MxArray structure

◆ toStruct() [9/14]

Convert a IOutlierRejector to MxArray.

Parameters
psmart poitner to an instance of IOutlierRejector
Returns
output MxArray structure

◆ toStruct() [10/14]

Convert a ImageMotionEstimatorBase to MxArray.

Parameters
psmart poitner to an instance of ImageMotionEstimatorBase
Returns
output MxArray structure

Definition at line 185 of file mexopencv_videostab.cpp.

◆ toStruct() [11/14]

Convert a InpainterBase to MxArray.

Parameters
psmart poitner to an instance of InpainterBase
Returns
output MxArray structure

Definition at line 202 of file mexopencv_videostab.cpp.

◆ toStruct() [12/14]

Convert a MotionFilterBase to MxArray.

Parameters
psmart poitner to an instance of MotionFilterBase
Returns
output MxArray structure

Definition at line 234 of file mexopencv_videostab.cpp.

◆ toStruct() [13/14]

Convert a IMotionStabilizer to MxArray.

Parameters
psmart poitner to an instance of IMotionStabilizer
Returns
output MxArray structure

Definition at line 248 of file mexopencv_videostab.cpp.

◆ toStruct() [14/14]

Convert a WobbleSuppressorBase to MxArray.

Parameters
psmart poitner to an instance of WobbleSuppressorBase
Returns
output MxArray structure

Definition at line 282 of file mexopencv_videostab.cpp.

Variable Documentation

◆ MotionModelInvMap

const ConstMap<cv::videostab::MotionModel, std::string> MotionModelInvMap
Initial value:

inverse motion model types for option processing

Definition at line 35 of file mexopencv_videostab.hpp.

◆ MotionModelMap

Initial value:

motion model types for option processing

Definition at line 23 of file mexopencv_videostab.hpp.