This repository was archived by the owner on Dec 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path源.cpp
More file actions
58 lines (40 loc) · 1.16 KB
/
源.cpp
File metadata and controls
58 lines (40 loc) · 1.16 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
#include <iostream> // for standard I/O
#include <string> // for strings
#include <iomanip> // for controlling float print precision
#include <sstream> // string to number conversion
#include <opencv2/core/core.hpp> // Basic OpenCV structures (cv::Mat, Scalar)
#include <opencv2/imgproc/imgproc.hpp> // Gaussian Blur
#include <opencv2/highgui/highgui.hpp> // OpenCV window I/O
//#include "ReadRGBD.h"
//#include "Features.h"
#include "MainLoop.h"
using namespace std;
using namespace cv;
void debug_readrgbd();
void debug_features();
int main(int argc, char *argv[])
{
MainLoop slam;
slam.debug_features_matching();
//slam.debug_features();
return 0;
}
/*
void debug_readrgbd()
{
ReadRGBD data("C:/Users/cq2essz/Documents/Visual Studio 2013/Projects/slam/rgbd_dataset");
double timestamp;
cv::Mat rgb_frame;
cv::Mat d_frame;
namedWindow("rgb window", WINDOW_AUTOSIZE); // Create a window for display.
namedWindow("depth window", WINDOW_AUTOSIZE);
moveWindow("depth window", 700, 0);
while (data.capture(rgb_frame, d_frame, timestamp))
{
imshow("rgb window", rgb_frame);
imshow("depth window", d_frame);
waitKey(30);
}
return;
}
*/