#include <ucl_drone/opencv_utils.h>
Go to the source code of this file.
Functions | |
void | debugRTMatrix (cv::Mat Rt) |
Debug for the transformation (rotation and transltation) matrix. | |
std::vector< cv::Point2f > | Points (const std::vector< cv::KeyPoint > &keypoints) |
Convert vector of opencv keypoints in a vector of opencv 2D points. | |
cv::Mat | rollPitchYawToRotationMatrix (const double roll, const double pitch, const double yaw) |
Rotation matrix given RPY angles. | |
cv::Mat | rotationMatrixX (const double angle) |
Rotation matrix about the X axis. | |
cv::Mat | rotationMatrixY (const double angle) |
Rotation matrix about the Y axis. | |
cv::Mat | rotationMatrixZ (const double angle) |
Rotation matrix about the Z axis. | |
cv::Mat | rTMatrix (const cv::Mat rot, const double tx, const double ty, const double tz) |
Transofmation (rotation and translation) matrix given RPY angles and translation lengths. |
void debugRTMatrix | ( | cv::Mat | Rt | ) |
Debug for the transformation (rotation and transltation) matrix.
Definition at line 56 of file opencv_utils.cpp.
std::vector< cv::Point2f > Points | ( | const std::vector< cv::KeyPoint > & | keypoints | ) |
Convert vector of opencv keypoints in a vector of opencv 2D points.
This method converts opencv keypoint coordinates to opencv point format.
Definition at line 66 of file opencv_utils.cpp.
cv::Mat rollPitchYawToRotationMatrix | ( | const double | roll, |
const double | pitch, | ||
const double | yaw | ||
) |
Rotation matrix given RPY angles.
Definition at line 37 of file opencv_utils.cpp.
cv::Mat rotationMatrixX | ( | const double | angle | ) |
Rotation matrix about the X axis.
Definition at line 13 of file opencv_utils.cpp.
cv::Mat rotationMatrixY | ( | const double | angle | ) |
Rotation matrix about the Y axis.
Definition at line 21 of file opencv_utils.cpp.
cv::Mat rotationMatrixZ | ( | const double | angle | ) |
Rotation matrix about the Z axis.
Definition at line 29 of file opencv_utils.cpp.
cv::Mat rTMatrix | ( | const cv::Mat | rot, |
const double | tx, | ||
const double | ty, | ||
const double | tz | ||
) |
Transofmation (rotation and translation) matrix given RPY angles and translation lengths.
Definition at line 47 of file opencv_utils.cpp.