svo
Semi-Direct Visual Odometry
|
00001 // This file is part of SVO - Semi-direct Visual Odometry. 00002 // 00003 // Copyright (C) 2014 Christian Forster <forster at ifi dot uzh dot ch> 00004 // (Robotics and Perception Group, University of Zurich, Switzerland). 00005 // 00006 // SVO is free software: you can redistribute it and/or modify it under the 00007 // terms of the GNU General Public License as published by the Free Software 00008 // Foundation, either version 3 of the License, or any later version. 00009 // 00010 // SVO is distributed in the hope that it will be useful, but WITHOUT ANY 00011 // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00012 // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 00013 // 00014 // You should have received a copy of the GNU General Public License 00015 // along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 00017 #ifndef SVO_POSE_OPTIMIZER_H_ 00018 #define SVO_POSE_OPTIMIZER_H_ 00019 00020 #include <svo/global.h> 00021 00022 namespace svo { 00023 00024 using namespace Eigen; 00025 using namespace Sophus; 00026 using namespace std; 00027 00028 typedef Matrix<double,6,6> Matrix6d; 00029 typedef Matrix<double,2,6> Matrix26d; 00030 typedef Matrix<double,6,1> Vector6d; 00031 00032 class Point; 00033 00035 namespace pose_optimizer { 00036 00037 void optimizeGaussNewton( 00038 const double reproj_thresh, 00039 const size_t n_iter, 00040 const bool verbose, 00041 FramePtr& frame, 00042 double& estimated_scale, 00043 double& error_init, 00044 double& error_final, 00045 size_t& num_obs); 00046 00047 } // namespace pose_optimizer 00048 } // namespace svo 00049 00050 #endif // SVO_POSE_OPTIMIZER_H_