camera.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2014 by Markus Bader *
3  * markus.bader@tuwien.ac.at *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ***************************************************************************/
20 
21 
22 
23 #ifndef V4R_CAMERA_H
24 #define V4R_CAMERA_H
25 
26 #include <opencv2/core/core.hpp>
27 
28 namespace tuw {
29 
30 class Camera {
31 public:
32  void distort(const std::vector<cv::Point2f> &src, std::vector<cv::Point2f> &des);
33  void distort(const cv::RotatedRect &src, cv::RotatedRect &des);
34  cv::Mat_<double> cameraMatrix;
35  cv::Mat_<double> distCoeffs;
36  cv::Mat_<double> projectionMatrix;
37 };
38 }
39 #endif
cv::Mat_< double > distCoeffs
Definition: camera.h:35
void distort(const std::vector< cv::Point2f > &src, std::vector< cv::Point2f > &des)
Definition: camera.cpp:17
cv::Mat_< double > projectionMatrix
Definition: camera.h:36
cv::Mat_< double > cameraMatrix
Definition: camera.h:34


tuw_ellipses
Author(s): Markus Bader
autogenerated on Mon Jun 10 2019 15:42:10