ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
panorama.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2026 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 <memory>
10
#include <string>
11
12
struct
SubcommandAlignPanoramaOptions
{
13
bool
dry_run
=
false
;
14
bool
overwrite
=
false
;
15
int
min_inliers
= 40;
16
int
window
= 12;
17
int
max_candidates
= 8;
18
int
n_yaw
= 8;
19
double
fov
= 90.0;
20
double
max_correction
= 5.0;
21
std::string
figures_dir
;
22
int
figures_limit
= 6;
23
};
24
25
void
setup_subcommand_align_panorama
(CLI::App &app,
26
std::shared_ptr<RuxOptions> global_opt);
27
int
run_subcommand_align_panorama
(
SubcommandAlignPanoramaOptions
const
&opt,
28
const
RuxOptions
&global_opt);
setup_subcommand_align_panorama
void setup_subcommand_align_panorama(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
run_subcommand_align_panorama
int run_subcommand_align_panorama(SubcommandAlignPanoramaOptions const &opt, const RuxOptions &global_opt)
global-params.hpp
RuxOptions
Definition
global-params.hpp:44
SubcommandAlignPanoramaOptions
Definition
panorama.hpp:12
SubcommandAlignPanoramaOptions::figures_limit
int figures_limit
cap number of panoramas figured
Definition
panorama.hpp:22
SubcommandAlignPanoramaOptions::overwrite
bool overwrite
re-align panoramas that are already aligned
Definition
panorama.hpp:14
SubcommandAlignPanoramaOptions::max_correction
double max_correction
reject corrections beyond this (m); 0=off
Definition
panorama.hpp:20
SubcommandAlignPanoramaOptions::window
int window
candidate frames on each side of the seed
Definition
panorama.hpp:16
SubcommandAlignPanoramaOptions::figures_dir
std::string figures_dir
if set, dump alignment comparison figures here
Definition
panorama.hpp:21
SubcommandAlignPanoramaOptions::n_yaw
int n_yaw
perspective slices around the equator
Definition
panorama.hpp:18
SubcommandAlignPanoramaOptions::min_inliers
int min_inliers
accept an alignment above this many inliers
Definition
panorama.hpp:15
SubcommandAlignPanoramaOptions::max_candidates
int max_candidates
cap candidate frames matched per panorama
Definition
panorama.hpp:17
SubcommandAlignPanoramaOptions::fov
double fov
per-slice horizontal FOV (deg)
Definition
panorama.hpp:19
SubcommandAlignPanoramaOptions::dry_run
bool dry_run
compute + report only, do not write poses
Definition
panorama.hpp:13
apps
rux
include
align
panorama.hpp
Generated by
1.17.0