00001
00002
00003
00004
00005
00006
00007
00008 #ifndef INTRINSICPARAMS_H_
00009 #define INTRINSICPARAMS_H_
00010
00011 #include <cv.h>
00012
00014 class RL_IntrinsicParams {
00015 public:
00016 RL_IntrinsicParams();
00017 virtual ~RL_IntrinsicParams();
00018 CvMat CameraMatrix, Distortion;
00019 CvSize imageSize;
00020
00021 double _camera[3][3];
00022 double _dist_coeffs[5];
00023
00024 bool ReadFromFile(unsigned id, const char* path);
00025 void WriteToFile(unsigned id, const char* path);
00026 };
00027
00028 #endif