1 #ifndef PROJECTIVEMAPPING_H
2 #define PROJECTIVEMAPPING_H
4 #include "opencv2/highgui/highgui.hpp"
5 #include <opencv2/opencv.hpp>
31 virtual void calculateMapping(
const vector<Point2f> &quadrangle_corners);
38 virtual void mapPoints(vector<Point2f> &points, vector<Point2f> &mappedPoints);
45 virtual void mapPoints(Point2i &point, Point2i &mappedPoint);
53 virtual void warpMatrix(Mat &matrix, Mat &warpedMatrix, Size &warpedSize);
59 vector<Point2f> rect_corners;
63 #endif // PROJECTIVEMAPPING_H