Go to the documentation of this file.00001 #ifndef _Aruco_BoardDetector_H
00002 #define _Aruco_BoardDetector_H
00003 #include <opencv/cv.h>
00004 #include "board.h"
00005 #include "cameraparameters.h"
00006 using namespace std;
00007 using namespace cv;
00008 namespace aruco
00009 {
00010
00013 class BoardDetector
00014 {
00015 public:
00016
00028 float detect(const vector<Marker> &detectedMarkers,const BoardConfiguration &BConf, Board &Bdetected, Mat camMatrix=Mat(),Mat distCoeff=Mat(), float markerSizeMeters=-1 )throw (cv::Exception);
00029 float detect(const vector<Marker> &detectedMarkers,const BoardConfiguration &BConf, Board &Bdetected, CameraParameters cp, float markerSizeMeters=-1 )throw (cv::Exception);
00030 private:
00031 void rotateXAxis(Mat &rotation);
00032 };
00033
00034 };
00035 #endif
00036