mexopencv
3.4.1
MEX interface for OpenCV library
|
Common definitions for the aruco module. More...
Go to the source code of this file.
Functions | |
cv::Ptr< cv::aruco::DetectorParameters > | MxArrayToDetectorParameters (const MxArray &s) |
Convert MxArray to cv::Ptr<cv::aruco::DetectorParameters> More... | |
cv::Ptr< cv::aruco::Dictionary > | MxArrayToDictionary (const MxArray &arr) |
Convert MxArray to cv::Ptr<cv::aruco::Dictionary> More... | |
cv::Ptr< cv::aruco::Board > | MxArrayToBoard (const MxArray &arr) |
Convert MxArray to cv::Ptr<cv::aruco::Board> More... | |
MxArray | toStruct (const cv::Ptr< cv::aruco::DetectorParameters > ¶ms) |
Convert detector parameters to scalar struct. More... | |
MxArray | toStruct (const cv::Ptr< cv::aruco::Dictionary > &dictionary) |
Convert Dictionary to scalar struct. More... | |
MxArray | toStruct (const cv::Ptr< cv::aruco::Board > &board) |
Convert Board to scalar struct. More... | |
MxArray | toStruct (const cv::Ptr< cv::aruco::GridBoard > &board) |
Convert GridBoard to scalar struct. More... | |
MxArray | toStruct (const cv::Ptr< cv::aruco::CharucoBoard > &board) |
Convert CharucoBoard to scalar struct. More... | |
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. More... | |
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. More... | |
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. More... | |
Variables | |
const ConstMap< std::string, cv::aruco::PREDEFINED_DICTIONARY_NAME > | PredefinedDictionaryMap |
Predefined dictionary types. More... | |
const ConstMap< std::string, int > | CornerRefineMethodMap |
Corner refinement methods map. More... | |
const ConstMap< int, std::string > | CornerRefineMethodInvMap |
Inverse corner refinement methods map. More... | |
Common definitions for the aruco module.
Header file for MEX-functions that use aruco module from OpenCV library. This file includes maps for option processing, as well as functions for creating instances of classes from parsed arguments.
Definition in file mexopencv_aruco.hpp.
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.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 274 of file mexopencv_aruco.cpp.
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.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 312 of file mexopencv_aruco.cpp.
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.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 287 of file mexopencv_aruco.cpp.
cv::Ptr<cv::aruco::Board> MxArrayToBoard | ( | const MxArray & | arr | ) |
Convert MxArray to cv::Ptr<cv::aruco::Board>
arr | MxArray object. In one of the following forms:
|
Definition at line 141 of file mexopencv_aruco.cpp.
cv::Ptr<cv::aruco::DetectorParameters> MxArrayToDetectorParameters | ( | const MxArray & | s | ) |
Convert MxArray to cv::Ptr<cv::aruco::DetectorParameters>
s | scalar struct MxArray object |
Definition at line 18 of file mexopencv_aruco.cpp.
cv::Ptr<cv::aruco::Dictionary> MxArrayToDictionary | ( | const MxArray & | arr | ) |
Convert MxArray to cv::Ptr<cv::aruco::Dictionary>
arr | MxArray object. In one of the following forms:
|
Definition at line 71 of file mexopencv_aruco.cpp.
MxArray toStruct | ( | const cv::Ptr< cv::aruco::DetectorParameters > & | params | ) |
Convert detector parameters to scalar struct.
params | smart pointer to an instance of detector parameters |
Definition at line 169 of file mexopencv_aruco.cpp.
MxArray toStruct | ( | const cv::Ptr< cv::aruco::Dictionary > & | dictionary | ) |
Convert Dictionary to scalar struct.
dictionary | smart pointer to an instance of dictionary |
MxArray toStruct | ( | const cv::Ptr< cv::aruco::Board > & | board | ) |
Convert Board to scalar struct.
board | smart pointer to an instance of Board |
Definition at line 229 of file mexopencv_aruco.cpp.
MxArray toStruct | ( | const cv::Ptr< cv::aruco::GridBoard > & | board | ) |
Convert GridBoard to scalar struct.
board | smart pointer to an instance of GridBoard |
Definition at line 239 of file mexopencv_aruco.cpp.
MxArray toStruct | ( | const cv::Ptr< cv::aruco::CharucoBoard > & | board | ) |
Convert CharucoBoard to scalar struct.
board | smart pointer to an instance of CharucoBoard |
Definition at line 253 of file mexopencv_aruco.cpp.
const ConstMap<int, std::string> CornerRefineMethodInvMap |
Inverse corner refinement methods map.
Definition at line 50 of file mexopencv_aruco.hpp.
const ConstMap<std::string, int> CornerRefineMethodMap |
Corner refinement methods map.
Definition at line 44 of file mexopencv_aruco.hpp.
const ConstMap<std::string, cv::aruco::PREDEFINED_DICTIONARY_NAME> PredefinedDictionaryMap |
Predefined dictionary types.
Definition at line 23 of file mexopencv_aruco.hpp.