diffCheck.dfb_segmentation module#

A submodule for the semantic segmentation methods.

class diffCheck.diffcheck_bindings.dfb_segmentation.DFSegmentation#

Bases: pybind11_object

A static class for the segmentation methods.

static associate_clusters(reference_mesh: list[diffCheck.diffcheck_bindings.dfb_geometry.DFMesh], unassociated_clusters: list[diffCheck.diffcheck_bindings.dfb_geometry.DFPointCloud], angle_threshold: float = 0.1, association_threshold: float = 0.1) list[diffCheck.diffcheck_bindings.dfb_geometry.DFPointCloud]#
static clean_unassociated_clusters(unassociated_clusters: list[diffCheck.diffcheck_bindings.dfb_geometry.DFPointCloud], associated_clusters: list[diffCheck.diffcheck_bindings.dfb_geometry.DFPointCloud], reference_mesh: list[list[diffCheck.diffcheck_bindings.dfb_geometry.DFMesh]], angle_threshold: float = 0.1, association_threshold: float = 0.1) None#
static segment_by_normal(point_cloud: diffCheck.diffcheck_bindings.dfb_geometry.DFPointCloud, normal_threshold_degree: float = 20.0, min_cluster_size: int = 10, use_knn_neighborhood: bool = True, knn_neighborhood_size: int = 10, radius_neighborhood_size: float = 0.1, color_clusters: bool = False) list[diffCheck.diffcheck_bindings.dfb_geometry.DFPointCloud]#