#ifndef camera_INC #define camera_INC #include #include #include #define BINNING 0.5 // set the binning factor #define YAWCORRECT 7.0 #define DOYAWCORRECT using Eigen::Matrix; using Eigen::Vector4d; using Eigen::Vector3d; using Eigen::Quaterniond; using std::cout; using std::cerr; using std::endl; /* * ===================================================================================== * Class: Camera * Description: Class for the camera. * ===================================================================================== */ class Camera { public: /* ==================== LIFECYCLE ======================================= */ Camera (const char *fin); /* constructor */ /* ==================== ACCESSORS ======================================= */ Matrix K(); Matrix K4(); Vector4d d(); Matrix Rc2b(); Matrix Rc2b4(); /* ==================== MUTATORS ======================================= */ /* ==================== OPERATORS ======================================= */ Vector3d img2body(Vector3d &xi); protected: /* ==================== METHODS ======================================= */ /* ==================== DATA MEMBERS ======================================= */ private: /* ==================== METHODS ======================================= */ /* ==================== DATA MEMBERS ======================================= */ Matrix _K; Matrix _T; Vector4d _d; }; /* ----- end of class Camera ----- */ #endif /* ----- #ifndef camera_INC ----- */