#include #include #include typedef std::vector VecPoint3f; typedef std::vector VecPoint2f; cv::Mat GcvInitCameraMatrix2D_(VecPoint3f objPts, VecPoint2f imgPts, cv::Size imgSize, double aspectRatio); double GcvCalibrateCamera_(VecPoint3f objPts, VecPoint2f imgPts, cv::Size imgSize, cv::Mat& cameraMatrix, cv::Mat distCoeffs, cv::Mat& rvec, cv::Mat& tvec, int flags); void GcvRodrigues_(cv::Mat src, cv::Mat& dst);