Region Growing Point Cloud Segmentation

Description

The region growing algorithm is a segmentation method based on surface normal directions. The basic process is: select one or more starting points (called seed points), iteratively check their neighbor points, and if a neighbor point’s normal is sufficiently similar to the current region’s normal (i.e., the surface is sufficiently smooth), merge it into the current region. This process repeats until the region can no longer "grow" outwards.

Overview

Performs clustering based on normal vector information to identify regions with continuous surface features, suitable for segmenting point cloud data of geometric structures such as planes and curved surfaces.

Scenarios

  • Surface Segmentation: Very suitable for segmenting scenes composed of different planes or smooth curved surfaces.

  • Part Feature Recognition: Used to separate geometric features such as different planes, curved surfaces, and grooves on parts.

  • Boundary-based Object Separation: When one object is placed on the surface of another (e.g., a cup on a table), as long as there is a distinct angular change (normal mutation) at their contact boundary, this algorithm can effectively separate them.

Inputs and Outputs

Inputs

Point Cloud: The input point cloud to be segmented, which must contain normal information.

Outputs

Segmented point cloud: Returns a list of segmented point cloud clusters, where each element in the list is an identified region that is internally smooth.

Parameters

Number of Neighbors

Description

  • Increase this value: A larger neighborhood range makes the algorithm more robust to noise but may smooth out some tiny detail features.

  • Decrease this value: Makes the algorithm more sensitive to local details and normal mutations but may be more susceptible to interference from noisy normals.

Parameter Range

[0, 1000], Default value: 5

Parameter Range

Values/Range: [0, 1000]

Default: 5

Normal Difference Threshold

Description

  • Smaller value (e.g., 5°-15°): Stricter segmentation conditions; only points with very consistent normals will be grouped together. This leads to breaks at slightly curved or angular places, producing more and smaller segmented regions.

  • Larger value (e.g., 30°-45°): Looser segmentation conditions; allows the region to "cross" some less sharp edges, tending to generate fewer and larger segmented regions.

Parameter Range

[0, 180], Default value: 10, Unit: °

Parameter Range

Values/Range: [0, 180]

Default: 10

Unit: °

Difference Threshold

Description

  • Smaller value: Requires the point cloud surface to be very flat; slight curvatures will cause a break.

  • Larger value: Allows the region to continue growing on surfaces with a certain curvature.

When processing pure planes, this value can be set smaller; when processing curved surfaces, it needs to be appropriately increased according to the curvature.

Parameter Range

[0, 100000], Default value: 10

Parameter Range

Values/Range: [0, 100000]

Default: 10

Minimum Cluster Points

Description

Suitable for filtering out meaningless small noise clusters composed of a few points. Appropriately increase this value to ensure meaningful clustering results are output.

Parameter Range

[1, 4000000], Default value: 100

Parameter Range

Values/Range: [1, 10000000]

Default: 1000

Maximum Cluster Points

Description

Suitable for scenarios where a very large background or support surface needs to be excluded. For example, to ignore a table and only analyze small objects on it, set an upper limit to filter out the largest point cloud cluster representing the table.

Parameter Range

[1, 4000000], Default value: 4000000

Parameter Range

Values/Range: [1, 10000000]

Default: 4000000

Keep All Results

Description

Controls whether to output all segmentation results or only retain a portion for each input point cloud.

Tuning Instructions

Enabled (True): Default option, retains all clusters found that meet the point count limits. Disabled (False): Will only retain the top N largest clusters specified by the "Number of Results to Keep" parameter.

Parameter Range

Values/Range:

  • True

  • False

Default: True

Number of Results to Keep

Description

For each input point cloud, sorts the segmentation results by point cloud quantity from large to small, retaining the top few point clouds. For example, setting to 1 means retaining only the largest result, 2 means retaining the top 2 results, 3 means retaining the top 3 results, and so on.

Parameter Range

[1, 1000], Default value: 1

Parameter Range

Values/Range: [1, 1000]

Default: 1

Enable Sorting

Description

Whether to globally sort all finally output point cloud clusters (collecting segmentation results from all input point clouds) from largest to smallest based on the number of points.

Tuning Instructions

Enabled (True): The output list of point cloud clusters will be strictly arranged from most points to fewest. Disabled (False): The order of the output point cloud clusters may not be fixed.

Parameter Range

Default: True

Enable Node

Description

Controls whether the operator performs the operation.

Tuning Instructions

  • Enabled (Default): Runs the operator function normally.

  • Disabled: The operator performs no operation and directly outputs the input data.

Parameter Range

Default: True