29 #ifndef ArucoFiducicalMarkerDetector_H 30 #define ArucoFiducicalMarkerDetector_H 31 #include <opencv2/core/core.hpp> 67 static cv::Mat createMarkerImage(
int id,
int size,
bool writeIdWaterMark =
true,
bool locked =
false)
throw(cv::Exception);
74 static int detect(
const cv::Mat &in,
int &nRotations);
78 static cv::Mat getMarkerMat(
int id)
throw(cv::Exception);
88 static cv::Mat createBoardImage(cv::Size gridSize,
int MarkerSize,
int MarkerDistance,
BoardConfiguration &TInfo,
89 vector< int > *excludedIds = NULL)
throw(cv::Exception);
99 static cv::Mat createBoardImage_ChessBoard(cv::Size gridSize,
int MarkerSize,
BoardConfiguration &TInfo,
bool setDataCentered =
true,
100 vector< int > *excludedIds = NULL)
throw(cv::Exception);
110 static cv::Mat createBoardImage_Frame(cv::Size gridSize,
int MarkerSize,
int MarkerDistance,
BoardConfiguration &TInfo,
bool setDataCentered =
true,
111 vector< int > *excludedIds = NULL)
throw(cv::Exception);
114 static vector< int > getListOfValidMarkersIds_random(
int nMarkers, vector< int > *excluded)
throw(cv::Exception);
115 static cv::Mat rotate(
const cv::Mat &in);
116 static int hammDistMarker(cv::Mat bits);
117 static int analyzeMarkerImage(cv::Mat &grey,
int &nRotations);
118 static bool correctHammMarker(cv::Mat &bits);
This class defines a board with several markers. A Board contains several markers so that they are mo...