ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::geometry::SegmentInstancesRequest Struct Reference

Request structure for instance segmentation via Euclidean clustering. More...

#include <segment_instances.hpp>

Collaboration diagram for reusex::geometry::SegmentInstancesRequest:

Public Attributes

CloudConstPtr cloud
 Input point cloud (spatial positions).
CloudLConstPtr semantic_labels
 Semantic class labels (same size as cloud).
float cluster_tolerance = 0.5F
 Euclidean distance threshold for clustering (meters).
int min_cluster_size = 50
 Minimum points per instance cluster.
int max_cluster_size = 1000000
 Maximum points per instance cluster.
std::set< uint32_t > labels_to_process
 Optional filter for specific semantic labels.
const std::atomic_bool * cancel_token = nullptr
 Optional cancellation token for long-running operations.

Detailed Description

Request structure for instance segmentation via Euclidean clustering.

Applies Euclidean clustering within each semantic class to generate instance-level labels. For example, multiple walls with the same semantic label will be separated into wall_1, wall_2, etc.

Definition at line 20 of file segment_instances.hpp.

Member Data Documentation

◆ cancel_token

const std::atomic_bool* reusex::geometry::SegmentInstancesRequest::cancel_token = nullptr

Optional cancellation token for long-running operations.

Definition at line 45 of file segment_instances.hpp.

◆ cloud

CloudConstPtr reusex::geometry::SegmentInstancesRequest::cloud

Input point cloud (spatial positions).

Definition at line 22 of file segment_instances.hpp.

◆ cluster_tolerance

float reusex::geometry::SegmentInstancesRequest::cluster_tolerance = 0.5F

Euclidean distance threshold for clustering (meters).

Definition at line 28 of file segment_instances.hpp.

◆ labels_to_process

std::set<uint32_t> reusex::geometry::SegmentInstancesRequest::labels_to_process

Optional filter for specific semantic labels.

If empty, processes all labels > 0 (label 0 = unlabeled/background). If specified, only these semantic labels will be clustered.

Definition at line 42 of file segment_instances.hpp.

◆ max_cluster_size

int reusex::geometry::SegmentInstancesRequest::max_cluster_size = 1000000

Maximum points per instance cluster.

Definition at line 34 of file segment_instances.hpp.

◆ min_cluster_size

int reusex::geometry::SegmentInstancesRequest::min_cluster_size = 50

Minimum points per instance cluster.

Definition at line 31 of file segment_instances.hpp.

◆ semantic_labels

CloudLConstPtr reusex::geometry::SegmentInstancesRequest::semantic_labels

Semantic class labels (same size as cloud).

Definition at line 25 of file segment_instances.hpp.


The documentation for this struct was generated from the following file: