-
Notifications
You must be signed in to change notification settings - Fork 24
/
types.proto
46 lines (35 loc) · 934 Bytes
/
types.proto
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
syntax = "proto3";
message MatchingFile {
message ImagePair {
string image_name1 = 1;
float fact1 = 2;
string image_name2 = 3;
float fact2 = 4;
message Match {
uint32 feature_idx1 = 1;
uint32 feature_idx2 = 2;
float similarity = 3;
message Displacement {
float di = 1;
float dj = 2;
}
repeated Displacement disp1 = 4;
repeated Displacement disp2 = 5;
}
repeated Match matches = 5;
}
repeated ImagePair image_pairs = 1;
}
message SolutionFile {
message Image {
string image_name = 1;
float fact = 2;
message Displacement {
uint32 feature_idx = 1;
float di = 2;
float dj = 3;
}
repeated Displacement displacements = 3;
}
repeated Image images = 1;
}