Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.9 KB

Parameters.md

File metadata and controls

44 lines (33 loc) · 2.9 KB

Parameter Tuning

City3D involves several parameters that work for most already tested buildings. Adjustments to the following two parameters might be necessary for the practical reconstruction from datasets with varying characteristics:

  • min_points (for plane/roof extraction). This parameter defines the minimum number of points required to detect roof planes, which affects the granularity of plane extraction. A smaller value yields more planes capturing finer details and smaller structures but potentially with less confidence. However, decreasing min_points may lead to an excessive number of candidate faces (and thus an optimization problem that may not be solved within a reasonable time window). In this case, the user is advised to increase min_points to target results with simpler structures.

  • pixel_size (in height map generation). This parameter determines the resolution of the height map, which will affect the precision of line detection for footprint generation. The recommended values are typically in the range [0.15, 0.3]. A smaller value increases the resolution of the height map and thus results in more detailed reconstruction results. However, decreasing pixel_size may lead to an excessive number of candidate faces (and thus an optimization problem that may not be solved within a reasonable time window). In this case, the user is advised to increase pixel_size to target results with simpler structures.

Tuning in GUI Mode

For City3D, these parameters can be adjusted interactively (see image below). You can check the Manual box to access these parameters.

Tuning in Command Line Mode

For CLI_Example_1 and CLI_Example_2, these parameters can be manually tuned within the source code, e.g.,

Method::min_points = 40;
Method::pixel_size = 0.15;