Connected Component Segmentation With Normals

Description

This operator is used for clustering segmentation of input point clouds. It groups spatially close points into independent point cloud clusters. If the distance between two points is less than the set "Connectivity Distance Threshold", they are considered to belong to the same connected component (i.e., the same cluster). Finally, it outputs a list of point clouds, where each point cloud represents a segmented cluster.

Overview

Uses a connected component algorithm based on distance thresholds to identify connected regions in point clouds and outputs clustered point clouds.

Scenarios

  • Instance Segmentation: Separating isolated objects in the scene into independent point cloud clusters.

  • Noise Removal: Filtering out point cloud clusters with too few points that are likely noise.

  • Point Cloud Preprocessing: Segmenting raw point clouds into meaningful units before tasks like object recognition or pose estimation to simplify subsequent processing.

Inputs and Outputs

Inputs

Point Cloud: The input point cloud or list of point clouds.

Outputs

Segmented point cloud: The list of point clouds obtained after segmentation, where each element is a segmented point cloud cluster.

Parameters

Connectivity Distance Threshold

Description

  • Decrease threshold: Segments the point cloud more finely, potentially splitting the same object into multiple small clusters, or making it easier to separate objects that are close together.

  • Increase threshold: Makes the point cloud clusters larger, potentially merging different objects that are close together into a single cluster.

Parameter Range

[0.0001, 1000], Default value: 10

Parameter Range

Values/Range: [0.0001, 1000]

Default: 10

Minimum Cluster Points

Description

Used to filter out point cloud clusters that are too small, which are usually noise or incomplete object parts. Increasing this value can remove more small clusters (noise), but if set too high, it may filter out valid objects with smaller sizes.

Parameter Range

[1, 10000000], Default value: 100

Parameter Range

Values/Range: [1, 10000000]

Default: 1000

Maximum Cluster Points

Description

Used to filter out point cloud clusters that are too large. This may be useful in certain scenarios, for example, when the background or ground is incorrectly clustered into a very large cluster, it can be removed via this parameter. Usually, keep the default value (a very large number) unless there is a specific need to filter out extra-large point cloud clusters.

Parameter Range

[1, 10000000], Default value: 4000000

Parameter Range

Values/Range: [1, 10000000]

Default: 4000000

Keep All Results

Description

Determines whether to output all clustering results that meet the size conditions.

Tuning Instructions

  • Enabled (Default): Retains all clusters filtered by the minimum/maximum number of points.

  • Disabled: Retains only the top N clusters with the most points, where N is specified by the "Number of Results to Keep" parameter below.

Parameter Range

Values/Range:

  • True

  • False

Default: True

Number of Results to Keep

Description

Effective when "Keep All Results" is disabled. Specifies the number N of top clusters to retain based on point count.

Parameter Range

Values/Range: [1, 1000]

Default: 1

Enable Sorting

Description

Determines whether to sort the final output list of point cloud clusters by the number of points from large to small.

Tuning Instructions

  • Enabled (Default): The output point cloud list is sorted from most points to fewest.

  • Disabled: The order of the output point cloud list is indeterminate.

If subsequent processing depends on the size order of point cloud clusters (e.g., always processing the largest cluster), this item should be kept enabled.

Parameter Range

Default: True

Enable Node

Description

Controls whether the operator performs the clustering operation.

Tuning Instructions

  • Enabled (Default): The operator executes the clustering function normally.

  • Disabled: The operator does not perform any operation.

Parameter Range

Default: True