Skip to content

Commit

Permalink
Adding json examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman-Malinowski committed May 6, 2024
1 parent a1f25a6 commit b0ea5d7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,17 @@ ISPRS - International Archives of the Photogrammetry, Remote Sensing and Spatial
"pipeline" :
{
// ...
"cost_volume_confidence":
"cost_volume_confidence.amb":
{
"confidence_method": "ambiguity",
"eta_max": 0.7,
"eta_step": 0.01
},
"cost_volume_confidence.int":
{
"confidence_method": "interval_bounds",
"regularization": true,
"ambiguity_indicator": "amb" // Using the ambiguity computed above for regularization
}
// ...
}
Expand Down
31 changes: 25 additions & 6 deletions docs/source/userguide/step_by_step/filtering.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ The filtering methods allow to homogenize the disparity maps, those available in
- 6.0
-
- No. Only available if "bilateral" filter
* - *regularization*
- Activate regularization
- bool
- false
- true, false
- No. Only available if "median_for_intervals" filter
* - *interval_indicator*
- | Indicator for which interval to filter.
| Ex: If *cfg* contains a step "cost_volume_confidence.intervals"
Expand All @@ -66,6 +60,12 @@ The filtering methods allow to homogenize the disparity maps, those available in
- ""
-
- No. Only available if "median_for_intervals" filter
* - *regularization*
- Activate regularization
- bool
- false
- true, false
- No. Only available if "median_for_intervals" filter
* - *ambiguity_indicator*
- | Indicator for which ambiguity to use during regularization.
| Ex: If *cfg* contains a step "cost_volume_confidence.amb"
Expand Down Expand Up @@ -111,10 +111,29 @@ The filtering methods allow to homogenize the disparity maps, those available in
},
"pipeline" :
{
// ...
"cost_volume_confidence.amb":
{
"confidence_method": "ambiguity",
"eta_max": 0.7,
"eta_step": 0.01
},
"cost_volume_confidence.int":
{
"confidence_method": "interval_bounds",
"regularization": false
},
// ...
"filter":
{
"filter_method": "median"
},
"filter.int":
{
"filter_method": "median_for_intervals",
"interval_indicator": "int", // Filtering intervals computed in 'cost_volume_confidence.int'
"regularization": true,
"ambiguity_indicator": "amb" // Using the ambiguity computed above for regularization
}
// ...
}
Expand Down

0 comments on commit b0ea5d7

Please sign in to comment.