-
Notifications
You must be signed in to change notification settings - Fork 2
/
local_pipeline.cpp
33 lines (26 loc) · 996 Bytes
/
local_pipeline.cpp
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
//
// Created by wang on 19-4-29.
//
#include "Matching.h"
#include "parameters.h"
#include "include/config_reader.h"
#include <string>
int main(int argc, char** argv){
std::string config_path = "../config.ini";
ReadParameters(config_path);
Matching match_pipeline;
match_pipeline.LoadModel();
match_pipeline.LoadScene();
match_pipeline.set_global_descripor_type("esf");
match_pipeline.SceneGlobalDescriptorTrain();
match_pipeline.SetSpecifiedGlobalResult();
// match_pipeline.SceneLocalDescriptorsTrain();
match_pipeline.LocalPipeMatch();
// Eigen::Matrix4d transformation;
// td::VecMat4 all_transformations;
// std::vector<double> inlier_ratio;
// match_pipeline.estimate_pose(&transformation, &candidate_tg_T_sr_, &inlier_ratio);
// match_pipeline.estimate_pose_ga(&transformation, &candidate_tg_T_sr_, &inlier_ratio);
// match_pipeline.estimate_pose_openGA(&transformation, &candidate_tg_T_sr_, &inlier_ratio);
return 0;
}