source: pacpussensors/trunk/Vislab/lib3dv/calibration.h@ 137

Last change on this file since 137 was 136, checked in by ldecherf, 8 years ago

Doc

File size: 1.7 KB
Line 
1#ifndef LIB3DV_CALIBRATION_H
2#define LIB3DV_CALIBRATION_H
3
4/* calibration.h
5 *
6 * Copyright (C) 2014 VisLab
7 *
8 * This file is part of lib3dv; you can redistribute it and/or modify
9 * it under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation; either version 3 of the License, or (at
11 * your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program; if not, see <http://www.gnu.org/licenses/>.
20 */
21
22namespace lib3dv
23{
24 namespace calibration
25 {
26 /**
27 * @brief Intrinsic camera calibration parameters.
28 **/
29 struct camera_intrinsics
30 {
31 float m_u0; ///< horizontal optical center [px].
32 float m_v0; ///< vertical optical center [px].
33 float m_ku; ///< horizontal focal length [px].
34 float m_kv; ///< vertical focal length [px].
35 };
36
37 /**
38 * @brief Device position.
39 **/
40 struct position
41 {
42 float m_x; ///< x [m].
43 float m_y; ///< y [m].
44 float m_z; ///< z [m].
45 };
46
47 /**
48 * @brief Device orientation.
49 **/
50 struct orientation
51 {
52 float m_yaw; ///< yaw [rad].
53 float m_pitch; ///< pitch [rad].
54 float m_roll; ///< roll [rad].
55 };
56 }
57}
58
59#endif
Note: See TracBrowser for help on using the repository browser.