mexopencv  0.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::ILog > createILog (const std::string &type)
 Create an instance of ILog of the specified type. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 

Variables

const ConstMap< std::string, cv::videostab::MotionModel > MotionModelMap
 motion model types for option processing More...
 
const ConstMap< cv::videostab::MotionModel, std::string > MotionModelInvMap
 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

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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
cv::videostab::RansacParams toRansacParams ( const MxArray arr)

Convert MxArray to RansacParams.

Parameters
arrinput MxArray structure
Returns
output instance of RansacParams

Definition at line 47 of file mexopencv_videostab.cpp.

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

Convert RansacParams to MxArray.

Parameters
paramsinput instance of RansacParams
Returns
output MxArray structure
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
MxArray toStruct ( cv::Ptr< cv::videostab::IFrameSource >  p)

Convert a IFrameSource to MxArray.

Parameters
psmart poitner to an instance of IFrameSource
Returns
output MxArray structure
MxArray toStruct ( cv::Ptr< cv::videostab::DeblurerBase >  p)

Convert a DeblurerBase to MxArray.

Parameters
psmart poitner to an instance of DeblurerBase
Returns
output MxArray structure
MxArray toStruct ( cv::Ptr< cv::videostab::MotionEstimatorBase >  p)

Convert a MotionEstimatorBase to MxArray.

Parameters
psmart poitner to an instance of MotionEstimatorBase
Returns
output MxArray structure
MxArray toStruct ( cv::Ptr< cv::FeatureDetector >  p)

Convert a FeatureDetector to MxArray.

Parameters
psmart poitner to an instance of FeatureDetector
Returns
output MxArray structure
MxArray toStruct ( cv::Ptr< cv::videostab::ISparseOptFlowEstimator >  p)

Convert a ISparseOptFlowEstimator to MxArray.

Parameters
psmart poitner to an instance of ISparseOptFlowEstimator
Returns
output MxArray structure
MxArray toStruct ( cv::Ptr< cv::videostab::IDenseOptFlowEstimator >  p)

Convert a IDenseOptFlowEstimator to MxArray.

Parameters
psmart poitner to an instance of IDenseOptFlowEstimator
Returns
output MxArray structure
MxArray toStruct ( cv::Ptr< cv::videostab::IOutlierRejector >  p)

Convert a IOutlierRejector to MxArray.

Parameters
psmart poitner to an instance of IOutlierRejector
Returns
output MxArray structure
MxArray toStruct ( cv::Ptr< cv::videostab::ImageMotionEstimatorBase >  p)

Convert a ImageMotionEstimatorBase to MxArray.

Parameters
psmart poitner to an instance of ImageMotionEstimatorBase
Returns
output MxArray structure
MxArray toStruct ( cv::Ptr< cv::videostab::InpainterBase >  p)

Convert a InpainterBase to MxArray.

Parameters
psmart poitner to an instance of InpainterBase
Returns
output MxArray structure
MxArray toStruct ( cv::Ptr< cv::videostab::MotionFilterBase >  p)

Convert a MotionFilterBase to MxArray.

Parameters
psmart poitner to an instance of MotionFilterBase
Returns
output MxArray structure
MxArray toStruct ( cv::Ptr< cv::videostab::IMotionStabilizer >  p)

Convert a IMotionStabilizer to MxArray.

Parameters
psmart poitner to an instance of IMotionStabilizer
Returns
output MxArray structure
MxArray toStruct ( cv::Ptr< cv::videostab::WobbleSuppressorBase >  p)

Convert a WobbleSuppressorBase to MxArray.

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

Variable Documentation

const ConstMap<cv::videostab::MotionModel,std::string> MotionModelInvMap
Initial value:
=
(cv::videostab::MM_TRANSLATION, "Translation")
(cv::videostab::MM_TRANSLATION_AND_SCALE, "TranslationAndScale")
(cv::videostab::MM_ROTATION, "Rotation")
(cv::videostab::MM_RIGID, "Rigid")
(cv::videostab::MM_SIMILARITY, "Similarity")
(cv::videostab::MM_AFFINE, "Affine")
(cv::videostab::MM_HOMOGRAPHY, "Homography")
(cv::videostab::MM_UNKNOWN, "Unknown")
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

inverse motion model types for option processing

Definition at line 34 of file mexopencv_videostab.hpp.

const ConstMap<std::string,cv::videostab::MotionModel> MotionModelMap
Initial value:
=
("Translation", cv::videostab::MM_TRANSLATION)
("TranslationAndScale", cv::videostab::MM_TRANSLATION_AND_SCALE)
("Rotation", cv::videostab::MM_ROTATION)
("Rigid", cv::videostab::MM_RIGID)
("Similarity", cv::videostab::MM_SIMILARITY)
("Affine", cv::videostab::MM_AFFINE)
("Homography", cv::videostab::MM_HOMOGRAPHY)
("Unknown", cv::videostab::MM_UNKNOWN)
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

motion model types for option processing

Definition at line 22 of file mexopencv_videostab.hpp.