mexopencv  3.4.1
MEX interface for OpenCV library
mexopencv_videostab.hpp
Go to the documentation of this file.
1 
12 #ifndef MEXOPENCV_VIDEOSTAB_HPP
13 #define MEXOPENCV_VIDEOSTAB_HPP
14 
15 #include "mexopencv.hpp"
16 #include "mexopencv_features2d.hpp"
17 #include "opencv2/videostab.hpp"
18 
19 
20 // ==================== XXX ====================
21 
25  ("Translation", cv::videostab::MM_TRANSLATION)
26  ("TranslationAndScale", cv::videostab::MM_TRANSLATION_AND_SCALE)
27  ("Rotation", cv::videostab::MM_ROTATION)
28  ("Rigid", cv::videostab::MM_RIGID)
29  ("Similarity", cv::videostab::MM_SIMILARITY)
30  ("Affine", cv::videostab::MM_AFFINE)
31  ("Homography", cv::videostab::MM_HOMOGRAPHY)
32  ("Unknown", cv::videostab::MM_UNKNOWN);
33 
37  (cv::videostab::MM_TRANSLATION, "Translation")
38  (cv::videostab::MM_TRANSLATION_AND_SCALE, "TranslationAndScale")
39  (cv::videostab::MM_ROTATION, "Rotation")
40  (cv::videostab::MM_RIGID, "Rigid")
41  (cv::videostab::MM_SIMILARITY, "Similarity")
42  (cv::videostab::MM_AFFINE, "Affine")
43  (cv::videostab::MM_HOMOGRAPHY, "Homography")
44  (cv::videostab::MM_UNKNOWN, "Unknown");
45 
48 {
49 public:
50  virtual void print(const char *format, ...);
51 };
52 
58 
64 
65 
66 // ==================== XXX ====================
67 
73 
79 
85 
91 
97 
103 
109 
115 
121 
127 
133 
139 
145 
146 
147 // ==================== XXX ====================
148 
157 
166 
176  const std::string& type,
179 
188 
198  const std::string& type,
201 
210 
219 
229  const std::string& type,
232 
242 
252  const std::string& type,
255 
264  const std::string& type,
267 
277 
287  const std::string& type,
290 
300 
309 
318 
329  const std::string& type,
332 
341 
350 
359 
368 
377 
391  const std::string& type,
394 
403 
412  const std::string& type,
415 
424 
434 
445  const std::string& type,
448 
458 
468  const std::string& type,
471 
472 #endif
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.
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.
cv::videostab::RansacParams toRansacParams(const MxArray &arr)
Convert MxArray to RansacParams.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
STL class.
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.
const ConstMap< cv::videostab::MotionModel, std::string > MotionModelInvMap
inverse motion model types for option processing
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.
Logger class to log messages from videostab in MATLAB.
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.
const ConstMap< std::string, cv::videostab::MotionModel > MotionModelMap
motion model types for option processing
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.
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...
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.
mxArray object wrapper for data conversion and manipulation.
Definition: MxArray.hpp:123
Common definitions for the features2d and xfeatures2d modules.
MxArray toStruct(const cv::videostab::RansacParams &params)
Convert RansacParams to MxArray.
STL class.
Global constant definitions.
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.
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.
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.
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.
virtual void print(const char *format,...)
int type() const
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927
Format format() const
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.
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.
cv::Ptr< cv::videostab::ILog > createILog(const std::string &type)
Create an instance of ILog of the specified type.
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.