Repository navigation
Mono dense reconstruction
Florian Tschopp edited this page Jun 28, 2019
·
1 revision

* Description:
Motion stereo pipeline that selects suitable stereo pairs based on landmark covisibility and employs polar and planar rectification to enable the reconstruction using a (semi-global) block matcher.
* Prerequisites:
* A VI-map with one or more missions and a gray-scale camera.
* Gray-scale images attached to the VI-map (`backend::ResourceType::kRawImage`)
* The stereo camera should be well calibrated to allow for accurate multi-view-stereo matching.
* Command:
```bash
mono_dense_reconstruction [--map_mission_list=ID_A,ID_B,ID_C]
```
* Parameters:
```
-mvs_depth_map_optimizer_sigma_polar_rect (Sigma for depth map optimization
assuming the depth map was created using polar rectification.)
type: double default: 0.01
-mvs_depth_map_optimizer_window_size (Window size for depth map
optimization.) type: int32 default: 5
-mvs_min_baseline_for_candidates_m (Minimum baseline between two frames to
be considered for dense reconstruction.) type: double default: 0.02
-mvs_min_number_of_common_landmarks (Minimal number of common landmarks for
candidate selection.) type: uint64 default: 5
-mvs_num_mvs_pair_candidates (Number of potential MVS pair candidates
passed on to the mono_dense_reconstruction library.) type: uint64
default: 20
-mvs_planar_rectification_threshold (This threshold determines whether or
not a frame pair is rectifiied using the planar rectification algorithm.
By increasing this threshold mono dense reconstruction will try to
rectify images that are less ideal based their relative position and the
average scene depth. If a frame pair is rejected by both polar and planar
rectification it won't be reconstructed. [0, 10]) type: double default: 5
-mvs_polar_rectification_threshold (This threshold determines whether or
not a frame pair is rectifiied using the polar rectification algorithm.
By increasing this threshold mono dense reconstruction will try to
rectify images that are less ideal based their relative position and the
average scene depth. If a frame pair is rejected by both polar and planar
rectification it won't be reconstructed. [0, 10]) type: double default: 5
-mvs_reconstruct_only_every_nth_vertex (Reconstruct only every Nth vertex.)
type: uint64 default: 1
-mvs_simulate_mono_cam (If true, the Densificator does not consider
VisualFrames with different frame indices as potential candidates for
densification.) type: bool default: false
-mvs_vision_frame_cache_size (Number of VisionFrames that are cached at one
time.) type: uint64 default: 100
```
* Output:
* Depth map resources (`backend::ResourceType::kRawDepthMap`) attached to the vertices.