ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
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
6
#include "
../global-params.hpp
"
7
8
#include <CLI/CLI.hpp>
9
10
#include <memory>
11
#include <string>
12
14
struct
SubcommandAnalyzeAccuracyOptions
{
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
26
void
setup_subcommand_analyze_accuracy
(CLI::App &app,
27
std::shared_ptr<RuxOptions> global_opt);
28
33
int
run_subcommand_analyze_accuracy
(
SubcommandAnalyzeAccuracyOptions
const
&opt,
34
const
RuxOptions
&global_opt);
run_subcommand_analyze_accuracy
int run_subcommand_analyze_accuracy(SubcommandAnalyzeAccuracyOptions const &opt, const RuxOptions &global_opt)
Run the analyze accuracy subcommand with given options.
setup_subcommand_analyze_accuracy
void setup_subcommand_analyze_accuracy(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
Setup the analyze accuracy subcommand in the CLI application.
global-params.hpp
RuxOptions
Definition
global-params.hpp:44
SubcommandAnalyzeAccuracyOptions
Options for the ground-truth accuracy analysis subcommand.
Definition
accuracy.hpp:14
SubcommandAnalyzeAccuracyOptions::gt_voxel
float gt_voxel
GT downsample leaf [m], <=0 disables.
Definition
accuracy.hpp:18
SubcommandAnalyzeAccuracyOptions::output_path
std::string output_path
JSON output file ("" = stdout).
Definition
accuracy.hpp:19
SubcommandAnalyzeAccuracyOptions::cloud_name
std::string cloud_name
Reconstruction cloud to score.
Definition
accuracy.hpp:16
SubcommandAnalyzeAccuracyOptions::threshold
float threshold
F-score inlier threshold [m].
Definition
accuracy.hpp:17
SubcommandAnalyzeAccuracyOptions::gt_path
std::string gt_path
Ground-truth PLY point cloud (required).
Definition
accuracy.hpp:15
apps
rux
include
analyze
accuracy.hpp
Generated by
1.17.0