20 #ifndef IMAGE_UTIL_GEOMETRY_UTIL_H_ 21 #define IMAGE_UTIL_GEOMETRY_UTIL_H_ 25 #include <opencv2/core/core.hpp> 44 const cv::Mat& rigid_transform);
54 bool Intersects(
const BoundingBox& box1,
const BoundingBox& box2);
78 const cv::Mat& ellipse,
84 #endif // IMAGE_UTIL_GEOMETRY_UTIL_H_ cv::Mat ProjectEllipsoid(const cv::Mat &ellipsiod)
double GetOverlappingArea(const cv::Rect &rect, const cv::Mat &rigid_transform)
bool Intersects(const BoundingBox &box1, const BoundingBox &box2)
std::vector< tf::Vector3 > GetEllipsePoints(const cv::Mat &ellipse, const tf::Vector3 ¢er, double scale, int32_t num_points)
cv::Rect_< double > BoundingBox