-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathToolTwoTestDemo.h
More file actions
60 lines (45 loc) · 1.17 KB
/
ToolTwoTestDemo.h
File metadata and controls
60 lines (45 loc) · 1.17 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*!
* \class ToolTwoTestDemo
*
* \brief ���ڷ�������ʾ��θ��������2.0���ݽ����㷨��ʹ��
*
* \author liuqian
* \date һ�� 2018
*/
#ifndef __TOOLTWOTESTDEMO_H_
#define __TOOLTWOTESTDEMO_H_
#include <string> // 添加此行以包含 std::string 的定义
struct DepthParams {
int xCenterStartOffset = 1;
int yCenterStartOffset = 1;
int xCenterEndOffset = 1;
int yCenterEndOffset = 1;
int filterRadius = 6;
float circleDiameter = 44.0f;
float circleNarrow = 1.5f;
int dispMin = 5;
int dispMax = 14;
float dispStep = 0.25f;
std::string folderName = "/home/jetson/Desktop/depth/205_66";
std::string inputRawImg = "new.bmp";
std::string centerPointFile = "points_new.txt";
};
class ToolTwoTestDemo
{
public:
ToolTwoTestDemo();
~ToolTwoTestDemo();
DepthParams loadDepthParams(const std::string& path);
void data1compute();
void data2compute();
void data3compute();
void data4compute();
void data5compute();
void data6compute();
void data7compute();
void data8compute();
void data9compute();
void data10compute();
private:
};
#endif