Extract Tilted Plane Top Layer Point Cloud With Normals

Description

Used to filter out point clouds located at the "topmost layer" from multiple input point cloud objects, based on given plane equation parameters and object thickness.

For each input point cloud object, a reference plane is determined by combining it with its corresponding plane equation parameters. Then, based on this plane and the user-set "Thickness", a filtering plane is defined parallel to the reference plane and located a certain distance (half of the thickness) "below" it (determined by the robot Z-axis orientation). The operator finally retains those point cloud objects whose center points' projection values in the direction of the reference plane’s normal vector are higher than or equal to the projection value of the filtering plane in that normal vector direction.

Overview

For non-horizontally placed scenes, extracts the topmost target point cloud on an inclined plane.

Scenarios

  • Target filtering in complex stacking scenarios: When multiple objects are partially stacked or closely arranged, and their top surfaces are not horizontal, it is necessary to filter out the topmost objects or top parts of objects based on their respective surface inclinations and preset thickness.

  • Robot picking target localization: Before the robot performs picking on inclined surfaces, precisely filter out the object parts located at the very top that meet the picking conditions.

  • Interference removal: When the approximate thickness of the target object and its surface plane equation are known, it can be used to filter out other point clouds or backgrounds that are lower than the effective thickness range of the target.

Inputs and Outputs

Inputs

Point Cloud: A list containing one or more point clouds.

Plane equation parameters: A list, which is either the plane equation of the highest layer point cloud or contains plane equation parameters [a, b, c, d] corresponding one-to-one with the input point cloud list.

Outputs

Filtered point cloud: A list containing only the point clouds identified as the highest layer.

Parameters

Thickness

Description

Defines the actual thickness of the target object, used to calculate the offset distance of the filtering plane relative to the reference plane (offset distance = thickness / 2); that is, point clouds at a height below half the thickness will be filtered out.

Tuning Instructions

Usually set according to the average thickness of the topmost objects in the actual scene. You can also fine-tune the thickness value to control the strictness of the filtering:

  • Smaller value: The filtering condition is stricter. Only point clouds very close to the top layer will be retained, causing other objects in the same layer but with slightly deviated average heights to be filtered out;

  • Too large value: May include objects closer to lower levels.

Parameter Range

[0, 2000], Default value: 100, Unit: mm.

Parameter Range

Values/Range: [0, 2000]

Default: 100.0

Unit: mm

Robot Coordinate System Z-Axis Orientation

Description

Specifies whether the positive Z-axis direction in the robot or scene coordinate system is "up" or "down", determining how the plane’s "above" and "below" are defined and how the plane’s normal vector direction is adjusted.

Tuning Instructions

  • Up (Default): Indicates that the positive Z-axis direction is up. This is the setting for most common coordinate systems.

  • Down: Indicates that the negative Z-axis direction is up.

This parameter must be set correctly according to the actual coordinate system used; otherwise, height comparison and normal direction adjustment will be incorrect, leading to wrong filtering results.

Parameter Range

Values/Range:

  • Up

  • Down

Default: Up

Enable Node

Description

Controls whether this operator performs the filtering operation.

Tuning Instructions

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

  • Disabled: The operator does not perform any operation.

Parameter Range

Default: True