13namespace fs = std::filesystem;
int run_subcommand_segment_instances(const SubcommandSegInstancesOptions &opt, const RuxOptions &global_opt)
Execute instance segmentation subcommand.
void setup_subcommand_create_instances(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
Setup CLI11 subcommand for instance segmentation.
CLI options for instance segmentation subcommand.
std::string semantic_cloud_name
Name of input semantic labels cloud in ProjectDB.
int min_cluster_size
Minimum points per instance cluster.
int max_cluster_size
Maximum points per instance cluster.
std::vector< uint32_t > labels_to_process
Optional: only process these semantic labels (comma-separated list).
float cluster_tolerance
Euclidean distance threshold for clustering (meters).
std::string output_cloud_name
Name of output instance labels cloud in ProjectDB.