Extract Top Layer Points (Based on Surrounding Upper-Layer Points)

Description

This operator determines whether a target is suitable for picking by analyzing whether there are "upper" occlusion points in the surrounding area of the target object.

The operator projects each target point cloud onto the image plane to determine its 2D region and minimum bounding rectangle. Then, based on the average height of the target and the set thickness, it calculates an "upper" height threshold. It counts how many point cloud points in the expanded area surrounding the target exceed this height threshold. It compares this "upper" occlusion area with the target’s own area. If the ratio exceeds the set threshold, it indicates that the target is significantly occluded and will be filtered out; otherwise, it is retained.

Overview

Filters XYZ point clouds by the proportion of higher surrounding points.

Scenarios

Suitable for scenarios where objects are placed relatively regularly and have a certain thickness. When objects are closely arranged or slightly stacked, it judges graspability by analyzing upper points in the adjacent area. Compared to the "Based on Upper Points in ROI" method of [Extract Topmost Point Cloud], this method focuses more on whether there is occlusion or overlapping in the immediate surrounding area of the target, providing a more local and refined judgment.

Inputs and Outputs

Inputs

Point Cloud: The target point cloud to be judged.

Image: The original 2D image corresponding to the point cloud, used to project the point cloud back to the image space to determine the mask and region.

Camera parameters: Camera intrinsics, distortion, color-camera, and passive-stereo parameters.

Outputs

Filtered point cloud: The output list of point clouds, containing point cloud objects deemed unoccluded (or slightly occluded) after judgment.

Parameters

Thickness

Description

Sets the shape height or, for upper-layer filtering, the object thickness used to offset the mean depth by half this value.

Tuning Instructions

Match the shape height or object thickness to the measured target; in upper-layer filtering, increasing it moves the depth cutoff by a larger amount.

Parameter Range

[0, 2000], Default: 100.0, Unit: mm

Parameter Range

Values/Range: [0, 2000]

Default: 100.0

Unit: mm

Point Cloud Coordinate System Z-Axis Orientation

Description

Sets which direction of the point-cloud Z axis represents upward.

Tuning Instructions

Choose the direction that matches the point-cloud coordinate convention; choosing incorrectly will invert the up/down or normal-side judgment.

Parameter Range

Options: Up, Down, Default: Up

Parameter Range

Values/Range:

  • Up

  • Down

Default: Up

Filter Threshold

Description

Sets the upper-point count around a target divided by its projected pixel count; targets at or above it are removed.

Tuning Instructions

Lower values remove more targets; higher values retain more targets.

Parameter Range

[0, 10], Default: 0.6

Parameter Range

Values/Range: [0, 10]

Default: 0.6

Enable Node

Description

Controls whether upper-layer filtering is applied.

Tuning Instructions

Enable to filter; disable to pass the input point clouds through.

Parameter Range

Default: True

Image Source

Description

Selects which camera calibration is used for projection or reconstruction. Auto infers it from the input image where supported.

Tuning Instructions

Use Auto when an image is available and identification is reliable; otherwise choose the camera to which the pixels, depth, or desired projection belong.

Parameter Range

Options: Auto, Texture camera, depth camera, Default: Auto

Parameter Range

Values/Range:

  • Auto

  • Texture Camera

  • Depth Camera

Default: Auto