mexopencv  0.1
mex interface for opencv library
mexopencv_shape.hpp
Go to the documentation of this file.
1 
11 #ifndef __MEXOPENCV_SHAPE_HPP__
12 #define __MEXOPENCV_SHAPE_HPP__
13 
14 #include "mexopencv.hpp"
15 #include "opencv2/shape.hpp"
16 
17 
18 // ==================== XXX ====================
19 
24 MxArray toStruct(cv::Ptr<cv::HistogramCostExtractor> p);
25 
30 MxArray toStruct(cv::Ptr<cv::ShapeTransformer> p);
31 
32 
33 // ==================== XXX ====================
34 
40 cv::Ptr<cv::HistogramCostExtractor> create_NormHistogramCostExtractor(
41  std::vector<MxArray>::const_iterator first,
42  std::vector<MxArray>::const_iterator last);
43 
49 cv::Ptr<cv::HistogramCostExtractor> create_EMDHistogramCostExtractor(
50  std::vector<MxArray>::const_iterator first,
51  std::vector<MxArray>::const_iterator last);
52 
58 cv::Ptr<cv::HistogramCostExtractor> create_ChiHistogramCostExtractor(
59  std::vector<MxArray>::const_iterator first,
60  std::vector<MxArray>::const_iterator last);
61 
67 cv::Ptr<cv::HistogramCostExtractor> create_EMDL1HistogramCostExtractor(
68  std::vector<MxArray>::const_iterator first,
69  std::vector<MxArray>::const_iterator last);
70 
81 cv::Ptr<cv::HistogramCostExtractor> create_HistogramCostExtractor(
82  const std::string& type,
83  std::vector<MxArray>::const_iterator first,
84  std::vector<MxArray>::const_iterator last);
85 
91 cv::Ptr<cv::AffineTransformer> create_AffineTransformer(
92  std::vector<MxArray>::const_iterator first,
93  std::vector<MxArray>::const_iterator last);
94 
100 cv::Ptr<cv::ThinPlateSplineShapeTransformer> create_ThinPlateSplineShapeTransformer(
101  std::vector<MxArray>::const_iterator first,
102  std::vector<MxArray>::const_iterator last);
103 
112 cv::Ptr<cv::ShapeTransformer> create_ShapeTransformer(
113  const std::string& type,
114  std::vector<MxArray>::const_iterator first,
115  std::vector<MxArray>::const_iterator last);
116 
122 cv::Ptr<cv::ShapeContextDistanceExtractor> create_ShapeContextDistanceExtractor(
123  std::vector<MxArray>::const_iterator first,
124  std::vector<MxArray>::const_iterator last);
125 
131 cv::Ptr<cv::HausdorffDistanceExtractor> create_HausdorffDistanceExtractor(
132  std::vector<MxArray>::const_iterator first,
133  std::vector<MxArray>::const_iterator last);
134 
135 #endif
cv::Ptr< cv::HistogramCostExtractor > create_EMDHistogramCostExtractor(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of EMDHistogramCostExtractor using options in arguments.
cv::Ptr< cv::ShapeTransformer > create_ShapeTransformer(const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of ShapeTransformer using options in arguments.
cv::Ptr< cv::HistogramCostExtractor > create_NormHistogramCostExtractor(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of NormHistogramCostExtractor using options in arguments.
cv::Ptr< cv::AffineTransformer > create_AffineTransformer(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of AffineTransformer using options in arguments.
cv::Ptr< cv::ThinPlateSplineShapeTransformer > create_ThinPlateSplineShapeTransformer(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of ThinPlateSplineShapeTransformer using options in arguments. ...
cv::Ptr< cv::HistogramCostExtractor > create_ChiHistogramCostExtractor(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of ChiHistogramCostExtractor using options in arguments.
cv::Ptr< cv::HistogramCostExtractor > create_EMDL1HistogramCostExtractor(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of EMDL1HistogramCostExtractor using options in arguments.
MxArray toStruct(cv::Ptr< cv::HistogramCostExtractor > p)
Convert a HistogramCostExtractor to MxArray.
mxArray object wrapper for data conversion and manipulation.
Definition: MxArray.hpp:123
Global constant definitions.
cv::Ptr< cv::ShapeContextDistanceExtractor > create_ShapeContextDistanceExtractor(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of ShapeContextDistanceExtractor using options in arguments.
cv::Ptr< cv::HausdorffDistanceExtractor > create_HausdorffDistanceExtractor(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of HausdorffDistanceExtractor using options in arguments.
cv::Ptr< cv::HistogramCostExtractor > create_HistogramCostExtractor(const std::string &type, std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of HistogramCostExtractor using options in arguments.