Remove Overlapped Objects

You are currently viewing the documentation for version 1.8.1. To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ To use the latest version, visit the Mech-Mind Download Center to download it.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

Function

This Step is used to remove the poses of the overlapped objects according to user-defined rules. As shown in the figure below, the red object in the lower right corner is the removed overlapped object.

remove overlapped objects functional description

Usage Scenario

This Step is usually used after the Step 3D Fine Matching to filter the matched poses according to different requirements and therefore the poses of overlapped objects can be removed.

The Projection (2D) method in Remove Overlapped Objects V2 has been improved, and therefore it is recommended to use the new Remove Overlapped Objects V2 Step if the Projection (2D) method is used to remove overlapped objects.

The Bounding Box (3D) method in Remove Overlapped Objects V2 is the same as the BoundingBoxOfObjectIn3DBased method in Remove Overlapped Objects, and therefore you can use either the Remove Overlapped Objects or Remove Overlapped Objects V2 Step if the Bounding Box (3D) method is used to remove overlapped objects.

Input and Output

remove overlapped objects usage scenario

Parameter Description

There are two types of algorithms used in this Step. Please adjust the parameters according to the selected algorithm.

BoundingBoxOfObjectIn3DBased (Calculation with Bounding Boxes)

This algorithm divides the bounding box of the object point cloud into little cubes, and the number of overlapped cubes between objects is used to calculate the overlap ratio of the overlapped part of the entire object point cloud.

Threshold Settings

Overlap Ratio Threshold (0–1.0)

Description: This parameter is used to determine whether to remove the vision recognition result of the overlapped object. The overlap ratio refers to the volume of a bounding box that overlaps with another bounding box to the total volume of this bounding box. If the overlap ratio of an object’s point cloud is above this threshold, the vision recognition result of this object will be removed. Please refer to Overlap Ratio Threshold for the corresponding results.

Value range: 0–1.0

Default value: 0.60

Tuning recommendation: You can adjust according to the actual requirement and take the step of 0.01 to adjust the Overlap Ratio Threshold.

Cloud Resolution Settings

Leaf Size

Tuning recommendation: This parameter is used to set the dimensions of the point cloud bounding box. Then the quantity of the point cloud bounding box can be used to calculate the overlap ratio between the object and overlapped object.

Default value: 3 mm

Tuning recommendation: Please set the value according to the actual situation.

Object Height Settings

Method to Calc Object Height

Description: This parameter is used to select the method to calculate the object’s height.

Value list:

UsingInputCloudHeight (default value): The Step will calculate the object height from the point cloud automatically.

  • UsingSpecifiedHeight: Specify a fixed object height by setting the Specified Height parameter value. It is recommended to use this method when the point cloud is relatively planar or cannot represent the complete shape of the object.

Specified Height

Description: This parameter is used to specify the object’s height in millimeters. When the Method to Calc Object Height is set to Specified Height, please set a value for this parameter.

Default value: 100 mm

Tuning recommendation: Please set this parameter according to the actual situation.

Expansion Settings

Expanding Ratio Along X-axis

Description: Expanding the bounding boxes along the X-Axis of object poses allows for more sensitive detection of overlap.

Default value: 1.0000

Tuning recommendation: Please set this parameter according to the actual situation.

Expanding Ratio Along Y-axis

Description: Expanding the bounding boxes along the Y-Axis of object poses allows for more sensitive detection of overlap.

Default value: 1.0000

Tuning recommendation: Please set this parameter according to the actual situation.

Expanding Ratio Along Z-axis

Description: Expanding the bounding boxes along the Z-Axis of object poses allows for more sensitive detection of overlap. When the Method to Calc Object Height is set to Specified Height, you do not need to set this parameter.

Default value: 3.0000

Tuning recommendation: Please set this parameter according to the actual situation.

ProjectionOfObjectIn2DBased (Calculation by 2D Projection)

This algorithm uses the size of the object’s overlapped area projected on a 2D plane to claculate the overlap ratio and then determines whether the object is overlapped.

Threshold Settings

Overlap Ratio Threshold (0–1.0)

Description: This parameter is used to determine whether to remove the vision recognition result of the overlapped object. The overlap ratio refers to the volume of a bounding box that overlaps with another bounding box to the total volume of this bounding box. If the overlap ratio of an object’s point cloud is above this threshold, the vision recognition result of this object will be removed. Please refer to Overlap Ratio Threshold for the corresponding results.

Value range: 0–1.0

Default value: 0.60

Tuning recommendation: You can adjust according to the actual requirement and take the step of 0.01 to adjust the Overlap Ratio Threshold.

Object Height Settings

Method to Calc Object Height

Description: This parameter is used to select the method to calculate the object’s height.

Value list:

UsingInputCloudHeight (default value): The Step will calculate the object height from the point cloud automatically.

  • UsingSpecifiedHeight: Specify a fixed object height by setting the Specified Height parameter value. It is recommended to use this method when the point cloud is relatively planar or cannot represent the complete shape of the object.

Specified Height

Description: This parameter is used to specify the object’s height in millimeters. When the Method to Calc Object Height is set to Specified Height, please set a value for this parameter.

Default value: 100 mm

Tuning recommendation: Please set this parameter according to the actual situation.

Advanced Calculation Settings

Mask Closing Kernel Size

Description: This parameter is used to specify the kernel size for closing the projected mask.

Default value: 3

Tuning recommendation: Please set the value according to the actual situation.

Depth Img Dilate Kernel Size

Description: This parameter is used to specify the kernel size for dilating the projected depth map.

Default value: 4

Tuning recommendation: Please set the value according to the actual situation.

Tuning Example

Overlap Ratio Threshold

When the Overlap Ratio Threshold is set to 0.60, 0.10, and 0.03, the visualized outputs are shown in the table below. The removed point clouds of the overlapped objects are displayed in white.

Threshold value 0.60 0.10 0.03

Visualized output

icon_1

icon_2

icon_3

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.