Remove Pallet Point Cloud With Normals

Description

This operator is designed to process point cloud data placed on a pallet. It accepts a list containing multiple point clouds, attempts to identify the point cloud representing the pallet, and separates it from the point clouds representing objects. The operator identifies the pallet by analyzing the quantity and spatial position (especially height) of the point clouds. It also calculates and outputs an ROI surrounding the object point clouds.

Overview

Identifies and removes pallet point clouds by analyzing the quantity and height distribution of point clouds in palletized scenes, while outputting pallet ROI.

Scenarios

  • Robot Depalletizing/Palletizing: In automated depalletizing or palletizing applications, separating the pallet from the cargo on it is necessary to handle the cargo individually or locate the pallet itself.

  • Point Cloud Preprocessing: As part of the point cloud processing workflow, it removes supporting structures (such as pallets or tabletops) from the scene, retaining only the object point clouds of interest.

Inputs and Outputs

Inputs

Axis-Sorted Point Cloud: A list containing one or more point clouds, usually representing object clusters and the pallet.

Outputs

Pallet Point Cloud: Point cloud identified as the pallet (point cloud with normals).

Point Cloud After Removal: The remaining point cloud data after processing.

Pallet ROI: ROI that covers the pallet point cloud.

Parameters

Layer Height

Description

A height threshold used to distinguish the pallet from the cargo layer. The operator calculates the Z coordinate of each point cloud cluster’s center; if the difference between a cluster’s center Z coordinate and that of the cluster with the most points (usually considered the object point cloud) exceeds this layer height, the cluster is considered to possibly belong to a different layer (potentially the pallet).

Tuning Instructions

Set based on the actual height difference between the pallet and cargo layers. If the height difference between the pallet and the lowest cargo layer is significantly greater than 100mm, the default value may be suitable. If the layer height is small or the pallet is thin, this value needs to be appropriately reduced. If the cargo layers themselves vary significantly in height, this value may need to be increased to avoid misidentifying cargo layers as pallets.

Parameter Range

[1, 10000], Default value: 100, Unit: mm

Parameter Range

Values/Range: [1, 10000]

Default: 100

Center Calculation Method

Description

Selects the method for calculating the Z-coordinate of each point cloud cluster’s center point; the center point is used to determine layer height differences.

Tuning Instructions

  • Point Cloud Mean (Default): Calculates the average XYZ coordinates of all points in the point cloud. Simple and fast, but susceptible to outliers.

  • Point Cloud Median: Calculates the median XYZ coordinates of all points in the point cloud. Insensitive to outliers and more robust.

  • Oriented Bounding Box Center: Calculates the center of the Oriented Bounding Box of the point cloud. Better reflects the center of slender or tilted objects.

  • Axis-Aligned Bounding Box Center: Calculates the center of the Axis-Aligned Bounding Box of the point cloud. Simple calculation, suitable for objects with regular shapes.

Which method to choose depends on the shape and noise of the point cloud clusters. For irregularly shaped or noisy pallets/cargo, the median or bounding box center may be more stable.

Parameter Range

Values/Range:

  • Point Cloud Mean

  • Point Cloud Median

  • Oriented Bounding Box Center

  • Axis-Aligned Bounding Box Center

Default: Point Cloud Mean

Z-axis Orientation

Description

Defines the expected direction of the pallet relative to the stack top (the highest point of the cargo) in the scene.

Tuning Instructions

  • Pallet below stack top (Default): Suitable for standard scenarios, mainly for robot coordinate system point clouds, where the pallet is below the cargo (pallet Z coordinate is usually smaller, i.e., lower than the stack top).

  • Pallet above stack top: Suitable for special scenarios, usually for camera coordinate system point clouds, where the camera shoots from above, and the pallet Z coordinate value is larger, i.e., higher than the stack top.

Selecting the correct orientation helps the operator correctly judge which one is the pallet based on Z coordinates. Selecting incorrectly may cause incorrect results.

Parameter Range

Values/Range:

  • Pallet below stack top

  • Pallet above stack top

Default: Pallet below stack top

X-Axis Negative Extension

Description

X-axis negative extension in millimeters. A value greater than 0 expands outward, and a value less than 0 shrinks inward.

Parameter Range

Values/Range: [-1000.0, 1000.0]

Default: 100.0

X-Axis Positive Extension

Description

X-axis positive extension in millimeters. A value greater than 0 expands outward, and a value less than 0 shrinks inward.

Parameter Range

Values/Range: [-1000.0, 1000.0]

Default: 100.0

Y-Axis Negative Extension

Description

Y-axis negative extension in millimeters. A value greater than 0 expands outward, and a value less than 0 shrinks inward.

Parameter Range

Values/Range: [-1000.0, 1000.0]

Default: 100.0

Y-Axis Positive Extension

Description

Y-axis positive extension in millimeters. A value greater than 0 expands outward, and a value less than 0 shrinks inward.

Parameter Range

Values/Range: [-1000.0, 1000.0]

Default: 100.0

Z-Axis Negative Extension

Description

Z-axis negative extension in millimeters. A value greater than 0 expands outward, and a value less than 0 shrinks inward.

Parameter Range

Values/Range: [-1000.0, 1000.0]

Default: 150.0

Z-Axis Positive Extension

Description

Z-axis positive extension in millimeters. A value greater than 0 expands outward, and a value less than 0 shrinks inward.

Parameter Range

Values/Range: [-1000.0, 1000.0]

Default: 150.0

Enable Node

Description

Controls whether this operator performs pallet removal and ROI calculation.

Tuning Instructions

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

  • Disabled: The operator does not perform any operation and directly passes the input point cloud to the output port.

Parameter Range

Default: True