-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(readme): add examples/README.md file (#34)
- Loading branch information
Showing
2 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
## Structure | ||
|
||
This directory contains examples of running voxel-based pipeline and scripts for visualizing plane segmentation results. | ||
|
||
```shell | ||
examples | ||
├── configurations | ||
│ ├── hilti.yaml | ||
│ └── kitti.yaml | ||
├── pipeline.py | ||
└── segmentation.py | ||
``` | ||
|
||
Every `*.py` files contains self-documented instructions of how to run them | ||
|
||
## Pipeline configuration | ||
|
||
SOVA allows you to configure your pipeline using yaml files, which has following structure: | ||
```yaml | ||
dataset: | ||
type: "hilti" # Type of dataset reader to use | ||
path: "evaluation/hilti" # Path to data | ||
patches: # Block for patches parameters configuration | ||
start: 0 # Beginning of optimisations sequence | ||
end: 29 # End of optimisations sequence | ||
step: 10 # Step of optimisations patch | ||
iterations: 1 # Number of re-optimizations on single patch | ||
pipeline: # Block for pipeline configuration | ||
grid: # Grid configuration | ||
... | ||
subdividers: # Subdividers configuration | ||
... | ||
segmenters: # Segmenters configuration | ||
... | ||
backend: # Backend configuration | ||
... | ||
output: "output/hilti" # Path to voxel-based pipeline output | ||
debug: false # Debug parameter which will be send throw the whole pipeline | ||
# if it sets true, visualizations using k3d will be saved | ||
``` | ||
|
||
Grid configuration example: | ||
```yaml | ||
grid: | ||
voxel_edge_length: 8 | ||
``` | ||
Subdividers configuration example: | ||
```yaml | ||
subdividers: # You may use one of the following conditions | ||
size: 1 | ||
count: 50 | ||
eigen_value: 0.5 | ||
``` | ||
Segmenters configuration example: | ||
```yaml | ||
segmenters: # You may use one of the following conditions | ||
ransac: | ||
threshold: 0.01 | ||
initial_points: 6 | ||
iterations: 1000 | ||
cape: | ||
correlation: 1 | ||
count: | ||
count: 50 | ||
``` | ||
Backend configuration example: | ||
```yaml | ||
backend: | ||
type: "eigen_factor" # Also bareg available | ||
parameters: | ||
iterations_number: 5000 | ||
robust_type: QUADRATIC # Also HUBER available | ||
``` | ||
## Visualization | ||
If you use `debug: true` option, pipeline will save point clouds' k3d visualization in html files. Black colour of points mean they weren't used on optimization stage. | ||
|
||
<img src="../assets/visualization.png"> |