#include <opencv2/calib3d/calib3d.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "markermap.h"
#include <fstream>
#include <map>
Go to the source code of this file.
|  | 
| vector< cv::Vec4f > | getMarkerIdPcd (aruco::Marker3DInfo &minfo, cv::Scalar color) | 
|  | 
| std::vector< cv::Vec4f > | getPcdPoints (const vector< cv::Point3f > &mpoints, cv::Scalar color, int npoints=100) | 
|  | 
| void | getRTfromMatrix44 (const cv::Mat &M, cv::Mat &R, cv::Mat &T) | 
|  | 
| cv::Mat | getRTMatrix (const cv::Mat &R_, const cv::Mat &T_, int forceType=-1) | 
|  | 
| cv::Point3f | mult (const cv::Mat &m, cv::Point3f p) | 
|  | 
| float | rigidBodyTransformation_Horn1987 (cv::Mat &S, cv::Mat &M, cv::Mat &RT_4x4) | 
|  | 
| float | rigidBodyTransformation_Horn1987 (cv::Mat &_s, cv::Mat &_m, cv::Mat &Rvec, cv::Mat &Tvec) | 
|  | 
| float | rigidBodyTransformation_Horn1987 (const vector< cv::Point3f > &orgPoints_32FC3, const vector< cv::Point3f > &dstPoints_32FC3, cv::Mat &Rvec, cv::Mat &Tvec) | 
|  | 
| cv::Mat | rigidBodyTransformation_Horn1987 (const std::vector< cv::Point3f > &org, const std::vector< cv::Point3f > &dst, double *err=0) | 
|  | 
| void | savePCDFile (string fpath, const aruco::MarkerMap &ms, const std::map< int, cv::Mat > frame_pose_map)  throw (std::exception) | 
|  | 
      
        
          | std::vector<cv::Vec4f> getPcdPoints | ( | const vector< cv::Point3f > & | mpoints, | 
        
          |  |  | cv::Scalar | color, | 
        
          |  |  | int | npoints = 100 | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | void getRTfromMatrix44 | ( | const cv::Mat & | M, | 
        
          |  |  | cv::Mat & | R, | 
        
          |  |  | cv::Mat & | T | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | cv::Mat getRTMatrix | ( | const cv::Mat & | R_, | 
        
          |  |  | const cv::Mat & | T_, | 
        
          |  |  | int | forceType = -1 | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | cv::Point3f mult | ( | const cv::Mat & | m, | 
        
          |  |  | cv::Point3f | p | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | float rigidBodyTransformation_Horn1987 | ( | cv::Mat & | S, | 
        
          |  |  | cv::Mat & | M, | 
        
          |  |  | cv::Mat & | RT_4x4 | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | float rigidBodyTransformation_Horn1987 | ( | cv::Mat & | _s, | 
        
          |  |  | cv::Mat & | _m, | 
        
          |  |  | cv::Mat & | Rvec, | 
        
          |  |  | cv::Mat & | Tvec | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | float rigidBodyTransformation_Horn1987 | ( | const vector< cv::Point3f > & | orgPoints_32FC3, | 
        
          |  |  | const vector< cv::Point3f > & | dstPoints_32FC3, | 
        
          |  |  | cv::Mat & | Rvec, | 
        
          |  |  | cv::Mat & | Tvec | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | cv::Mat rigidBodyTransformation_Horn1987 | ( | const std::vector< cv::Point3f > & | org, | 
        
          |  |  | const std::vector< cv::Point3f > & | dst, | 
        
          |  |  | double * | err = 0 | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | void savePCDFile | ( | string | fpath, | 
        
          |  |  | const aruco::MarkerMap & | ms, | 
        
          |  |  | const std::map< int, cv::Mat > | frame_pose_map | 
        
          |  | ) |  |  | 
        
          | throw | ( | std::exception | 
        
          |  | ) |  |  |