#include <stdio.h>
#include "opencv2/core.hpp"
#include <opencv2/core/types.hpp>
#include <opencv2/core/utility.hpp>
#include <cctype>
#include <string>
#include <sstream>
#include <math.h>
#include <iostream>
#include <fstream>
#include <cv.hpp>
Go to the source code of this file.
|
| Config | det_com::load_config (std::string filename) |
| | Loads the config from filename. More...
|
| |
| cv::Vec3d | det_com::rot_to_euler (cv::Mat &R) |
| | Converts a rotation matrix to a vector of Euler angles. More...
|
| |
| cv::Mat | det_com::euler_to_rot (const cv::Vec3d &euler) |
| | Converts a vector of Euler angles to a rotation matrix. More...
|
| |
| cv::Mat det_com::euler_to_rot |
( |
const cv::Vec3d & |
euler | ) |
|
Converts a vector of Euler angles to a rotation matrix.
- Parameters
-
- Returns
- Rotation matrix (3x3)
Loads the config from filename.
- Parameters
-
| filename | Path to the config file |
- Returns
- A Config struct containing the values from filename
| cv::Vec3d det_com::rot_to_euler |
( |
cv::Mat & |
R | ) |
|
Converts a rotation matrix to a vector of Euler angles.
- Parameters
-
- Returns
- Euler angles (1x3)