forked from Ewenwan/ORB-SLAM-RGBD-with-Octomap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCamera.h
37 lines (29 loc) · 714 Bytes
/
Camera.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* This file could become part of ORB-SLAM2.
*
*/
#ifndef CAMERA_H
#define CAMERA_H
#include<opencv2/core/core.hpp>
namespace ORB_SLAM2 {
class Camera {
public:
static bool Load(const std::string strSettingPath);
static bool Load(cv::FileStorage fSettings);
static std::string name;
static float width;
static float height;
static float fx;
static float fy;
static float cx;
static float cy;
static float invfx;
static float invfy;
static float bf; // Stereo baseline multiplied by fx.
static float b; // Stereo baseline in meters
static cv::Mat K;
static cv::Mat DistCoef;
static bool initialized;
};
} // namespace ORB_SLAM2
#endif // CAMERA_H