Go to the documentation of this file.00001 #ifndef VISUAL_POSE_ESTIMATION_PLANAR_H
00002 #define VISUAL_POSE_ESTIMATION_PLANAR_H
00003
00004
00005 #include "opencv2/core/core_c.h"
00006 #include "opencv2/core/types_c.h"
00007 #include "opencv2/core/core.hpp"
00008 #include "opencv2/highgui/highgui.hpp"
00009 #include "opencv2/calib3d/calib3d.hpp"
00010 #include "opencv2/imgproc/imgproc_c.h"
00011 #include "opencv2/legacy/legacy.hpp"
00012 #include "opencv2/legacy/compat.hpp"
00013 #include <opencv2/nonfree/nonfree.hpp>
00014
00015 namespace cv {
00016
00017 void findPlanarObjectPose(const Mat& object_points, const Mat& image_points, const Point3f& normal,
00018 const Mat& intrinsic_matrix, const Mat& distortion_coeffs, std::vector<Point3f>& object_points_crf);
00019
00020 void solvePlanarPnP(const Mat& objectPoints, const Mat& imagePoints, const Mat& cameraMatrix, const Mat& distCoeffs,
00021 Mat& rvec, Mat& tvec, bool useExtrinsicGuess = false);
00022
00023 }
00024
00025 #endif