-
Notifications
You must be signed in to change notification settings - Fork 3
/
test_camera_distance.h
45 lines (34 loc) · 1.22 KB
/
test_camera_distance.h
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
34
35
36
37
38
39
40
41
42
43
44
45
//
// test_camera_distance.h
// RGBRegressionForest
//
// Created by Lili on 7/3/16.
// Copyright (c) 2016 Nowhere Planet. All rights reserved.
//
#ifndef __RGBRegressionForest__test_camera_distance__
#define __RGBRegressionForest__test_camera_distance__
#include "UT_SC_regression.hpp"
#include "SCRF_tree.hpp"
#include "cvx_io.hpp"
#include <iostream>
#include <fstream>
#include "SCRF_regressor_builder.hpp"
#include "SCRF_regressor.hpp"
#include "RGBG_tree.hpp"
#include "RGBGUtil.hpp"
#include "RGBGRegressor.hpp"
#include "RGBGRegressorBuilder.hpp"
#include "cvxPoseEstimation.hpp"
#include "ms7ScenesUtil.hpp"
using namespace cv;
using namespace std;
void camera_rot_distance(const char* train_file_name,
const char* test_file_name,
const double trans_threshold,
vector<double> &test_min_rot_vec_within_trans_threshold);
void camera_trans_distance(const char* train_file_name,
const char* test_file_name,
const double rot_threshold,
vector<double> &test_min_trans_vec_within_rot_threshold);
void test_camera_distance();
#endif /* defined(__RGBRegressionForest__test_camera_distance__) */