4 #include <opencv2/core/mat.hpp>
18 void resizeRect(cv::Rect &rect,
double scaleFactor);
26 void createQuadraticRect(cv::Rect& r,
const cv::Rect& imageRect);
33 void histogramEqualization(cv::Mat &frame);
50 void eulerAnglesFromRotationVector(
51 const cv::Mat &rotationVector,
52 cv::Vec3d &eulerAngles
61 cv::Mat eulerAnglesToRotationMatrix(
const cv::Vec3f &theta);
70 cv::Point3d rotatePoint(
71 const cv::Point3d& point,
72 const cv::Mat& rotationmatrix
82 cv::Point perspectiveTransformPoint(
83 const cv::Point2f& pt,
84 cv::Mat & transformation
96 cv::Point2d findProjectedPoint(
97 const cv::Mat &rotation_matrix,
98 const cv::Mat &translation_vector,
99 const cv::Mat camera_matrix,
100 cv::Point3d model_point
111 int getBlobIntersectionArea(
112 const cv::Mat &blobImg,
113 const std::vector<cv::Point> &contour1,
114 const std::vector<cv::Point> &contour2
127 const std::vector<cv::Point> &blob,
144 float getAngleBetween(
157 cv::Point getMean(
const std::vector<cv::Point>& vec);