27 #include "LoopClosing.h" 30 #include "Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h" 40 void static BundleAdjustment(
const std::vector<KeyFrame*> &vpKF,
const std::vector<MapPoint*> &vpMP,
41 int nIterations = 5,
bool *pbStopFlag=NULL,
const unsigned long nLoopKF=0,
42 const bool bRobust =
true);
43 void static GlobalBundleAdjustemnt(
Map* pMap,
int nIterations=5,
bool *pbStopFlag=NULL,
44 const unsigned long nLoopKF=0,
const bool bRobust =
true);
45 void static LocalBundleAdjustment(
KeyFrame* pKF,
bool *pbStopFlag,
Map *pMap);
46 int static PoseOptimization(
Frame* pFrame);
50 const LoopClosing::KeyFrameAndPose &NonCorrectedSim3,
51 const LoopClosing::KeyFrameAndPose &CorrectedSim3,
52 const map<
KeyFrame *, set<KeyFrame *> > &LoopConnections,
53 const bool &bFixScale);
56 static int OptimizeSim3(
KeyFrame* pKF1,
KeyFrame* pKF2, std::vector<MapPoint *> &vpMatches1,
57 g2o::Sim3 &g2oS12,
const float th2,
const bool bFixScale);
Definition: KeyFrame.h:43
Definition: Converter.cpp:24
Definition: Optimizer.h:37