#include <cmath>
#include "geom.h"
#include <opencv2/opencv.hpp>
Go to the source code of this file.
|
| double | conscience_utils::geom::getIntersectionOverUnion (const cv::Rect2d &bb1, const cv::Rect2d &bb2) |
| |
| template<typename T > |
| bool | conscience_utils::geom::isIncludedInOther (const cv::Rect_< T > &rect1, const cv::Rect_< T > &rect2) |
| |
| template<typename T > |
| cv::Point_< T > | conscience_utils::geom::rectangleCenter (const cv::Rect_< T > &rect) |
| |
| template<typename T > |
| T | conscience_utils::geom::distanceBetween (const cv::Point_< T > &point, const cv::Point_< T > &point2) |
| |
| template<typename T > |
| cv::Point_< T > | conscience_utils::geom::pointsCenter (const cv::Point_< T > &point, const cv::Point_< T > &point2) |
| |
| template<typename T > |
| T | conscience_utils::geom::distanceBetween (const cv::Rect_< T > &rectangle1, const cv::Rect_< T > &rectangle2) |
| |
| template<typename T > |
| string | conscience_utils::geom::rectToString (const cv::Rect_< T > &rect) |
| |
| template<typename T > |
| string | conscience_utils::geom::pointToString (const cv::Point_< T > &point) |
| |
| template<typename T > |
| string | conscience_utils::geom::sizeToString (const cv::Size_< T > &size) |
| |
| template<typename T > |
| cv::Rect_< T > | conscience_utils::geom::averageRectangle (const vector< cv::Rect_< T >> &rectangles) |
| |
| template<typename T > |
| bool | conscience_utils::geom::equals (const cv::Size_< T > &size1, const cv::Size_< T > &size2) |
| |
| bool | conscience_utils::geom::isRotationMatrix (const cv::Mat &R) |
| |
| cv::Vec3f | conscience_utils::geom::rotationMatrixToEulerAngles (const cv::Mat &R) |
| |
| void | conscience_utils::geom::rotateMatrix (const cv::Mat &src, double angleDegrees, cv::Mat &target, cv::Scalar fillColor) |
| |
| template<typename T > |
| double | conscience_utils::geom::anglePointsInRad (const cv::Point_< T > &point, const cv::Point_< T > &point2) |
| |
| bool | conscience_utils::geom::matIsEqual (const cv::Mat &img1, const cv::Mat &img2) |
| |