ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
surfel_extraction.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
7#include "reusex/segmentation/Surfel.hpp"
8
9#include <optional>
10
11namespace reusex {
12class ProjectDB;
13}
14
15namespace reusex::geometry {
16
20 float min_distance = 0.0f;
21 float max_distance = 4.0f;
24 float normal_radius = 0.1f;
25 float voxel_size = 0.03f;
27};
28
41std::optional<FrameSurfels>
43 const SurfelExtractionParams &params);
44
45} // namespace reusex::geometry
std::optional< FrameSurfels > extract_frame_surfels(ProjectDB &db, int node_id, const SurfelExtractionParams &params)
Back-project one sensor frame into an optical-frame surfel set and seed its world pose from the store...
Parameters controlling per-frame surfel extraction (back-projection + normal estimation) used by the ...
float normal_radius
radius for normal estimation (m)
float min_distance
minimum depth in meters
int sampling_factor
per-pixel subsampling (1=all, 2=half, ...)
int confidence_threshold
minimum confidence value
float max_distance
maximum depth in meters
float voxel_size
per-frame voxel downsample (m); <=0 disables