ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
register.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#include <filesystem>
10#include <memory>
11#include <string>
12
13namespace fs = std::filesystem;
14
17 int iterations = 20;
19 float max_corr_distance = 0.10f;
20 float normal_angle = 45.0f;
21 float robust_width = 0.05f;
22 std::string kernel = "welsch"; // "welsch" or "huber"
23 float prior_weight = 1.0f;
24 int anchor_frame = -1;
25 float surfel_voxel = 0.03f;
26 float min_distance = 0.0f;
27 float max_distance = 4.0f;
30 bool dry_run = false;
31};
32
33void setup_subcommand_register(CLI::App &app,
34 std::shared_ptr<RuxOptions> global_opt);
36 const RuxOptions &global_opt);
void setup_subcommand_register(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
int run_subcommand_register(SubcommandRegisterOptions const &opt, const RuxOptions &global_opt)
Options for the rux register subcommand (within-scan pose refinement).
Definition register.hpp:16