ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::geometry::QualityReport Struct Reference

Ground-truth-free reconstruction quality report. More...

#include <quality_metrics.hpp>

Collaboration diagram for reusex::geometry::QualityReport:

Public Member Functions

std::string to_json (int indent=2) const

Public Attributes

std::size_t total_points = 0
std::size_t labeled_points = 0
 points with plane label > 0
std::vector< PlaneQualityplanes
double flatness_rms = 0.0
 point-weighted mean of per-plane RMS [m]
double flatness_rms_max = 0.0
 worst per-plane RMS [m]
double thickness_p90 = 0.0
 point-weighted mean of per-plane p90 [m]

Detailed Description

Ground-truth-free reconstruction quality report.

Measures internal-consistency properties that pose error destroys:

  • flatness: RMS point-to-plane residual of each detected plane. Pose drift smears wall points, inflating the residual.
  • thickness: 90th percentile of |residual|. Misaligned passes over the same surface produce doubled walls; p90 grows much faster than RMS when the residual distribution becomes bimodal.

These metrics compare relative reconstruction quality across pipeline changes (SLAM parameters, pose refinement) without external ground truth.

Definition at line 37 of file quality_metrics.hpp.

Member Function Documentation

◆ to_json()

std::string reusex::geometry::QualityReport::to_json ( int indent = 2) const
nodiscard

Member Data Documentation

◆ flatness_rms

double reusex::geometry::QualityReport::flatness_rms = 0.0

point-weighted mean of per-plane RMS [m]

Definition at line 42 of file quality_metrics.hpp.

◆ flatness_rms_max

double reusex::geometry::QualityReport::flatness_rms_max = 0.0

worst per-plane RMS [m]

Definition at line 43 of file quality_metrics.hpp.

◆ labeled_points

std::size_t reusex::geometry::QualityReport::labeled_points = 0

points with plane label > 0

Definition at line 39 of file quality_metrics.hpp.

◆ planes

std::vector<PlaneQuality> reusex::geometry::QualityReport::planes

Definition at line 40 of file quality_metrics.hpp.

◆ thickness_p90

double reusex::geometry::QualityReport::thickness_p90 = 0.0

point-weighted mean of per-plane p90 [m]

Definition at line 44 of file quality_metrics.hpp.

◆ total_points

std::size_t reusex::geometry::QualityReport::total_points = 0

Definition at line 38 of file quality_metrics.hpp.


The documentation for this struct was generated from the following file: