5 #include <opencv2/opencv.hpp>
6 #include <opencv2/highgui/highgui.hpp>
8 #include <vision_module/Tools/Parameters.hpp>
9 #include <vision_module/Tools/General.hpp>
20 void undistortP_slow(
const vector<Point> contour,
21 vector<Point> &resCountour);
22 void ModifoedOpenCVUndistortPoint(
const CvMat* _src, CvMat* _dst,
23 const CvMat* _cameraMatrix,
const CvMat* _distCoeffs,
24 const CvMat* matR,
const CvMat* matP);
26 void ModifoedOpenCVUndistortPoint(InputArray _src, OutputArray _dst,
27 InputArray _cameraMatrix, InputArray _distCoeffs, InputArray _Rmat,
30 bool undistortP_normalized_slow(
const vector<Point> contour,
31 vector<Point2f> &resCountour);
32 bool distortP_normalized_slow(
const vector<Point3f> contour,
33 vector<Point2f> &resCountour);
36 vector<Point2f> distortionVector;
37 float getDiagonalAngleView();
38 Mat cameraMatrix, distCoeffs;
40 void CreateUndistort(
const Mat &rawImg, Mat &res);
41 void CreateUndistortFull(
const Mat &rawImg, Mat &res, Scalar bg);
42 bool UndistortP(
const vector<Point> &contour, vector<Point> &resCountour);
43 bool UndistortP(
const vector<Point> &contour, vector<Point2f> &resCountour);
44 bool UndistortP(
const Point &inPoint, Point2f &resPoint);
46 bool DistortP(
const vector<Point> contour, vector<Point> &resCountour);
48 bool DistortPFull(
const vector<Point> contour, vector<Point> &resCountour);
For undistortion.
Definition: DistortionModel.hpp:17