-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathmain.cpp
More file actions
47 lines (28 loc) · 721 Bytes
/
Copy pathmain.cpp
File metadata and controls
47 lines (28 loc) · 721 Bytes
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
#include <iostream>
#include "siftysiftytest.h"
using namespace std;
using namespace SiftySifty;
#define IMAGE_PATH "../data/zgr.jpg"
#define IMAGE_PATH2 "../data/zgr2.jpg"
#define IMAGE_PATH_BIG "../data/zgrbig.jpg"
int main() {
if (false) {
drawKeyPoint(IMAGE_PATH);
}
if (false) {
drawKeyPointCmpToOpenCV(IMAGE_PATH);
}
if (false) {
matchKeyPoint(IMAGE_PATH, IMAGE_PATH);
}
if (true) {
matchKeyPoint(IMAGE_PATH, IMAGE_PATH2);
}
if (false) {
matchKeyPointSiftySiftyWithOpenCV(IMAGE_PATH, IMAGE_PATH);
}
if (false) {
testSpeedSiftySiftyAndOpenCV(IMAGE_PATH_BIG);
}
return 0;
}