Skip to content

Commit

Permalink
Merge commit 'f01b82958249603d1c7e6fe7407d190ad982e667' into review-d…
Browse files Browse the repository at this point in the history
…efault-rec-parameters
  • Loading branch information
Ylannl committed Nov 27, 2024
2 parents 029665d + f01b829 commit 755ac27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions apps/roofer-app/reconstruct_building.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@ std::unordered_map<int, roofer::Mesh> extrude(
.h_70p = rfcfg->n["h_roof_70p"],
.h_min = rfcfg->n["h_roof_min"],
.h_max = rfcfg->n["h_roof_max"]});
MeshPropertyCalculator->compute_roof_orientation(
mesh, {.slope = rfcfg->n["slope"], .azimuth = rfcfg->n["azimuth"]});
if (lod == LOD22) {
MeshPropertyCalculator->compute_roof_orientation(
mesh, {.slope = rfcfg->n["slope"], .azimuth = rfcfg->n["azimuth"]});
}
}

auto MeshTriangulator =
Expand Down
2 changes: 1 addition & 1 deletion include/roofer/reconstruction/PlaneDetector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace roofer::reconstruction {
int metrics_plane_min_points = 20;
float metrics_plane_epsilon = 0.2;
float metrics_plane_normal_threshold = 0.75;
float metrics_is_horizontal_threshold = 0.97;
float metrics_is_horizontal_threshold = 0.995;
float metrics_probability_ransac = 0.05;
float metrics_cluster_epsilon_ransac = 0.3;
float metrics_is_wall_threshold = 0.3;
Expand Down

0 comments on commit 755ac27

Please sign in to comment.