ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
annotate_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
7
8#include <CLI/CLI.hpp>
9#include <filesystem>
10#include <memory>
11#include <string>
12
13namespace fs = std::filesystem;
14
16
17 fs::path net_path; // SAM3 engine directory (required)
18
19 int n_yaw = 8; // equator tiles around the sphere
20 double fov_deg = 90.0; // per-tile horizontal FOV (deg)
21 int tile = 1008; // tile size in px (SAM3 native input)
22 float confidence = 0.5f; // detection confidence threshold
23
24 bool skip_annotated = false; // skip panoramas already segmented (resume mode)
25
26 std::string figures_dir; // if set, dump colorized segmentation figures here
27 int figures_limit = 6; // cap number of panoramas figured
28};
29
30// Function declarations.
32 CLI::App &app, std::shared_ptr<RuxOptions> global_opt);
34 SubcommandAnnotatePanoramaOptions const &opt, const RuxOptions &global_opt);
int run_subcommand_create_annotate_panorama(SubcommandAnnotatePanoramaOptions const &opt, const RuxOptions &global_opt)
void setup_subcommand_create_annotate_panorama(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)