mexopencv  3.4.1
MEX interface for OpenCV library
mexopencv_aruco.hpp
Go to the documentation of this file.
1 
12 #ifndef MEXOPENCV_ARUCO_HPP
13 #define MEXOPENCV_ARUCO_HPP
14 
15 #include "mexopencv.hpp"
16 #include "opencv2/aruco.hpp"
18 
19 
20 // ==================== XXX ====================
21 
25  ("4x4_50", cv::aruco::DICT_4X4_50)
26  ("4x4_100", cv::aruco::DICT_4X4_100)
27  ("4x4_250", cv::aruco::DICT_4X4_250)
28  ("4x4_1000", cv::aruco::DICT_4X4_1000)
29  ("5x5_50", cv::aruco::DICT_5X5_50)
30  ("5x5_100", cv::aruco::DICT_5X5_100)
31  ("5x5_250", cv::aruco::DICT_5X5_250)
32  ("5x5_1000", cv::aruco::DICT_5X5_1000)
33  ("6x6_50", cv::aruco::DICT_6X6_50)
34  ("6x6_100", cv::aruco::DICT_6X6_100)
35  ("6x6_250", cv::aruco::DICT_6X6_250)
36  ("6x6_1000", cv::aruco::DICT_6X6_1000)
37  ("7x7_50", cv::aruco::DICT_7X7_50)
38  ("7x7_100", cv::aruco::DICT_7X7_100)
39  ("7x7_250", cv::aruco::DICT_7X7_250)
40  ("7x7_1000", cv::aruco::DICT_7X7_1000)
41  ("ArucoOriginal", cv::aruco::DICT_ARUCO_ORIGINAL);
42 
48 
54 
55 
56 // ==================== XXX ====================
57 
63 
75 
86 
92 
98 
104 
110 
116 
117 
118 // ==================== XXX ====================
119 
128 
137 
146 
147 #endif
const ConstMap< int, std::string > CornerRefineMethodInvMap
Inverse corner refinement methods map.
cv::Ptr< cv::aruco::GridBoard > create_GridBoard(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of GridBoard using options in arguments.
cv::Ptr< cv::aruco::Board > MxArrayToBoard(const MxArray &arr)
Convert MxArray to cv::Ptr<cv::aruco::Board>
const ConstMap< std::string, int > CornerRefineMethodMap
Corner refinement methods map.
cv::Ptr< cv::aruco::Dictionary > MxArrayToDictionary(const MxArray &arr)
Convert MxArray to cv::Ptr<cv::aruco::Dictionary>
MxArray toStruct(const cv::Ptr< cv::aruco::DetectorParameters > &params)
Convert detector parameters to scalar struct.
mxArray object wrapper for data conversion and manipulation.
Definition: MxArray.hpp:123
STL class.
Global constant definitions.
const ConstMap< std::string, cv::aruco::PREDEFINED_DICTIONARY_NAME > PredefinedDictionaryMap
Predefined dictionary types.
cv::Ptr< cv::aruco::DetectorParameters > MxArrayToDetectorParameters(const MxArray &s)
Convert MxArray to cv::Ptr<cv::aruco::DetectorParameters>
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927
cv::Ptr< cv::aruco::Board > create_Board(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of Board using options in arguments.
cv::Ptr< cv::aruco::CharucoBoard > create_CharucoBoard(std::vector< MxArray >::const_iterator first, std::vector< MxArray >::const_iterator last)
Create an instance of CharucoBoard using options in arguments.