10#include <gtsam_points/types/point_cloud.hpp>
11#include <gtsam_points/ann/nearest_neighbor_search.hpp>
13namespace gtsam_points {
45template <
typename Po
intCloud>
54template <
typename Po
intCloud>
Parameters for min-cut segmentation.
Definition min_cut.hpp:16
double foreground_weight
Weight for the foreground points.
Definition min_cut.hpp:22
double distance_sigma
Distance sigma.
Definition min_cut.hpp:17
double background_mask_radius
All points out of this radius from the source point are considered as background.
Definition min_cut.hpp:21
double foreground_mask_radius
All points within this radius from the source point are considered as foreground.
Definition min_cut.hpp:20
double angle_sigma
Angle sigma.
Definition min_cut.hpp:18
int k_neighbors
Number of neighbors.
Definition min_cut.hpp:25
double background_weight
Weight for the background points.
Definition min_cut.hpp:23
int num_threads
Number of threads.
Definition min_cut.hpp:26
Result of min-cut segmentation.
Definition min_cut.hpp:30
double max_flow
Maximum flow.
Definition min_cut.hpp:35
size_t source_index
Source point index.
Definition min_cut.hpp:33
std::vector< size_t > cluster_indices
Indices of foreground points.
Definition min_cut.hpp:36
size_t sink_index
Sink point index.
Definition min_cut.hpp:34
Nearest neighbor search interface.
Definition nearest_neighbor_search.hpp:16
Standard point cloud class that holds only pointers to point attributes.
Definition point_cloud.hpp:19