Skip to content

Commit c308b44

Browse files
committed
json: add new config with confidence for tests like release
1 parent 1f5ecb7 commit c308b44

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"input": {
3+
"left": {
4+
"img": "./left.png",
5+
"disp": [-60, 0]
6+
},
7+
"right": {
8+
"img": "./right.png"
9+
}
10+
},
11+
"pipeline":
12+
{
13+
"matching_cost" : {
14+
"matching_cost_method": "census",
15+
"window_size": 5,
16+
"subpix": 1
17+
},
18+
"cost_volume_confidence.before": {
19+
"confidence_method": "ambiguity",
20+
"eta_max": 0.7,
21+
"eta_step": 0.01
22+
},
23+
"optimization" : {
24+
"optimization_method": "sgm",
25+
"use_confidence": "cost_volume_confidence.before",
26+
"overcounting": false,
27+
"penalty" : {
28+
"penalty_method": "sgm_penalty",
29+
"P1": 8,
30+
"P2": 32,
31+
"p2_method": "constant"
32+
}
33+
},
34+
"cost_volume_confidence.after": {
35+
"confidence_method": "ambiguity",
36+
"eta_max": 0.7,
37+
"eta_step": 0.01
38+
},
39+
"disparity": {
40+
"disparity_method": "wta",
41+
"invalid_disparity": "NaN"
42+
},
43+
"refinement": {
44+
"refinement_method": "vfit"
45+
},
46+
"filter" : {
47+
"filter_method": "median",
48+
"filter_size": 3
49+
},
50+
"validation" : {
51+
"validation_method": "cross_checking_accurate",
52+
"cross_checking_threshold": 1
53+
}
54+
}
55+
}
56+

0 commit comments

Comments
 (0)