@@ -14,91 +14,149 @@ The filtering methods allow to homogenize the disparity maps, those available in
14
14
15
15
.. note :: Invalid pixels are not filtered. If a valid pixel contains an invalid pixel in its filter, the invalid pixel is ignored for the calculation
16
16
17
+ **Configuration and parameters **
17
18
18
- .. list-table :: Configuration and parameters
19
- :widths: 19 19 19 19 19 19
20
- :header-rows: 1
21
-
22
-
23
- * - Name
24
- - Description
25
- - Type
26
- - Default value
27
- - Available value
28
- - Required
29
- * - *filter_method *
30
- - Filtering method
31
- - str
32
- -
33
- - | "median",
34
- | "bilateral",
35
- | "median_for_intervals"
36
- - Yes
37
- * - *filter_size *
38
- - Filter's size
39
- - int
40
- - 3
41
- - >=1
42
- - No. Only available if "median" or "median_for_intervals" filter
43
- * - *sigma_color *
44
- - Bilateral filter parameter
45
- - float
46
- - 2.0
47
- -
48
- - No. Only available if "bilateral" filter
49
- * - *sigma_space *
50
- - Bilateral filter parameter
51
- - float
52
- - 6.0
53
- -
54
- - No. Only available if "bilateral" filter
55
- * - *interval_indicator *
56
- - | Indicator for which interval to filter.
57
- | Ex: If *cfg* contains a step "cost_volume_confidence.intervals"
58
- | then *interval_indicator* should be "intervals"
59
- - str
60
- - ""
61
- -
62
- - No. Only available if "median_for_intervals" filter
63
- * - *regularization *
64
- - Activate regularization
65
- - bool
66
- - false
67
- - true, false
68
- - No. Only available if "median_for_intervals" filter
69
- * - *ambiguity_indicator *
70
- - | Indicator for which ambiguity to use during regularization.
71
- | Ex: If *cfg* contains a step "cost_volume_confidence.amb"
72
- | then *ambiguity_indicator* should be "amb"
73
- - str
74
- - ""
75
- -
76
- - No. Only available if "median_for_intervals" filter
77
- * - *ambiguity_threshold *
78
- - A pixel is regularized if threshold>ambiguity
79
- - float
80
- - 0.6
81
- - >0 and <1
82
- - No. Only available if "median_for_intervals" filter
83
- * - *ambiguity_kernel_size *
84
- - Ambiguity kernel size for regularization. See publication for details.
85
- - int
86
- - 5
87
- - >=0
88
- - No. Only available if "median_for_intervals" filter
89
- * - *vertical_depth *
90
- - Depth for graph regularization. See publication for details.
91
- - int
92
- - 2
93
- - >=0
94
- - No. Only available if "median_for_intervals" filter
95
- * - *quantile_regularization *
96
- - Quantile used for regularization
97
- - float
98
- - 0.9
99
- - >=0 and <=1
100
- - No. Only available if "median_for_intervals" filter
19
+ .. tabs ::
101
20
21
+ .. tab :: Median
22
+
23
+ .. tabs ::
24
+
25
+ .. list-table ::
26
+ :widths: 19 19 19 19 19 19
27
+ :header-rows: 1
28
+
29
+ * - Name
30
+ - Description
31
+ - Type
32
+ - Default value
33
+ - Available value
34
+ - Required
35
+ * - filter_method
36
+ - Filtering method
37
+ - str
38
+ -
39
+ - "median"
40
+ - Yes
41
+ * - filter_size
42
+ - Filter's size
43
+ - int
44
+ - 3
45
+ - >=1
46
+ - No
47
+
48
+ .. tab :: Bilateral
49
+
50
+ .. tabs ::
51
+
52
+ .. list-table ::
53
+ :widths: 19 19 19 19 19 19
54
+ :header-rows: 1
55
+
56
+ * - Name
57
+ - Description
58
+ - Type
59
+ - Default value
60
+ - Available value
61
+ - Required
62
+ * - filter_method
63
+ - Filtering method
64
+ - str
65
+ -
66
+ - "bilateral"
67
+ - Yes
68
+ * - sigma_color
69
+ - Bilateral filter parameter
70
+ - float
71
+ - 2.0
72
+ -
73
+ - No
74
+ * - sigma_space
75
+ - Bilateral filter parameter
76
+ - float
77
+ - 6.0
78
+ -
79
+ - No
80
+
81
+ .. tab :: Median for intervals
82
+
83
+ .. tabs ::
84
+
85
+ .. list-table ::
86
+ :widths: 19 19 19 19 19 19
87
+ :header-rows: 1
88
+
89
+ * - Name
90
+ - Description
91
+ - Type
92
+ - Default value
93
+ - Available value
94
+ - Required
95
+ * - filter_method
96
+ - Filtering method
97
+ - str
98
+ -
99
+ - "median_for_intervals"
100
+ - Yes
101
+ * - filter_size
102
+ - Filter’s size
103
+ - int
104
+ - 3
105
+ - >=1
106
+ - No
107
+ * - interval_indicator
108
+ - | Indicator for which interval to filter.
109
+ |
110
+ | Ex: If cfg contains a step
111
+ | “cost_volume_confidence.intervals” then
112
+ | interval_indicator should be “intervals”
113
+ - str
114
+ - ""
115
+ -
116
+ - No
117
+ * - regularization
118
+ - Activate regularization
119
+ - bool
120
+ - False
121
+ - True, False
122
+ - No
123
+ * - ambiguity_indicator
124
+ - | Indicator for which ambiguity to use during
125
+ | regularization.
126
+ |
127
+ | Ex: If cfg contains a step
128
+ | “cost_volume_confidence.amb” then
129
+ | ambiguity_indicator should be “amb”
130
+ - str
131
+ - ""
132
+ -
133
+ - No
134
+ * - ambiguity_threshold
135
+ - A pixel is regularized if threshold>ambiguity
136
+ - float
137
+ - 0.6
138
+ - >0 and <1
139
+ - No
140
+ * - ambiguity_kernel_size
141
+ - | Ambiguity kernel size for regularization.
142
+ | See publication for details.
143
+ - int
144
+ - 5
145
+ - >=0
146
+ - No
147
+ * - vertical_depth
148
+ - | Depth for graph regularization.
149
+ | See publication for details.
150
+ - int
151
+ - 2
152
+ - >=0
153
+ - No
154
+ * - quantile_regularization
155
+ - Quantile used for regularization
156
+ - float
157
+ - 0.9
158
+ - >=0 and <=1
159
+ - No
102
160
103
161
**Example **
104
162
0 commit comments