ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
accuracy.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2025 Povl Filip Sonne-Frederiksen
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#pragma once
7
8#include <CLI/CLI.hpp>
9
10#include <memory>
11#include <string>
12
15 std::string gt_path;
16 std::string cloud_name = "cloud";
17 float threshold = 0.05f;
18 float gt_voxel = 0.01f;
19 std::string output_path;
20};
21
27 std::shared_ptr<RuxOptions> global_opt);
28
34 const RuxOptions &global_opt);
int run_subcommand_analyze_accuracy(SubcommandAnalyzeAccuracyOptions const &opt, const RuxOptions &global_opt)
Run the analyze accuracy subcommand with given options.
void setup_subcommand_analyze_accuracy(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
Setup the analyze accuracy subcommand in the CLI application.
Options for the ground-truth accuracy analysis subcommand.
Definition accuracy.hpp:14
float gt_voxel
GT downsample leaf [m], <=0 disables.
Definition accuracy.hpp:18
std::string output_path
JSON output file ("" = stdout).
Definition accuracy.hpp:19
std::string cloud_name
Reconstruction cloud to score.
Definition accuracy.hpp:16
float threshold
F-score inlier threshold [m].
Definition accuracy.hpp:17
std::string gt_path
Ground-truth PLY point cloud (required).
Definition accuracy.hpp:15