Validate Point Clouds

You are currently viewing the documentation for the latest version (2.2.1). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step uses the set thresholds to judge whether the input point clouds meet the requirements.

Usage Scenario

This Step is usually used to judge whether each input point cloud meets the requirements based on a threshold on the number of points (setting the parameter "Filter" to "CloudCapacityFilter").

After validation, you can use the Filter Data by Boolean Value Step to filter out point clouds that do not meet the requirements.

Input and Output

Input

Input port Data type Description

Point Clouds

PointCloud/XYZNormal[]

Point clouds input to this port will be validated.

Output

Output port Data type Description

Validation Results

Bool[]

Validation results as a Boolean list.

Validated Clouds

PointCloud/XYZNormal[]

Filtered point cloud list.

Parameter Description

Filter Settings

Parameter Description

Filter

Parameter description: Select the filter type used to validate the point clouds.

Value list:

  • CircleCloudsFilter: Filter based on whether the point cloud is contained in a circular region.

  • CloudCapacityFilter: Filter based on the number of points in the point cloud. Judge whether the point cloud meets the requirements by setting minimum and maximum point number thresholds.

  • RectCloudsFilter: Filter based on whether the point cloud is contained in a rectangular region.

  • SolidCloudsFilter: Filter based on whether the point cloud is contained in a solid region.

Default value: CloudCapacityFilter.

Instruction: Select different filter types according to different point cloud validation requirements.

CircleCloudsFilter

Parameter Description

Contour Search Method

Description: This parameter is used to set the retrieval method for extracting the circular contour.

Value list:

  • RETR_EXTERNAL: Extract only the outermost contours.

  • RETR_HULL: Convex hulls used to extract contours.

Default value: RETR_EXTERNAL

Min Area

Description: This parameter is used to set the minimum threshold of the area of the circle contour. Contours below this threshold will be filtered out.
Default value: 100

Max Area

Description: This parameter is used to set the maximum threshold of the area of the circle contour. Contours above this threshold will be filtered out.
Default value: 1000 px

Min Circularity

Description: This parameter is used to set the minimum threshold of the circularity of the circle contour. Point clouds with circularity lower than this threshold will be filtered out.
Default value: 0.5000

Max Circularity

Description: This parameter is used to set the maximum threshold of the circularity of the circle contour. Point clouds with circularity above this threshold will be filtered out.
Default value: 1.0000

Min Convexity

Description: This parameter is used to set the minimum threshold of the convexity of the circle contour. Point clouds with convexity lower than this threshold will be filtered out.
Default value: 0.8000

Max Convexity

Description: This parameter is used to set the maximum threshold of the convexity of the circle contour. Point clouds with convexity above this threshold will be filtered out.
Default value: 1.0000

Min Inertia

Description: This parameter is used to set the minimum inertia threshold of the circle contour. Point clouds with inertia values below this threshold will be filtered out.
Default value: 0.6000

Max Inertia

Description: This parameter is used to set the maximum inertia threshold of the circle contour. Point clouds with inertia values above this threshold will be filtered out.
Default value: 1.0000

Dilation Kernel Size

Description: This parameter is used to set the kernel size of the dilation operation during point cloud preprocessing. The larger the kernel size, the stronger the dilation effect.
Default value: 3

Erode Kernel Size

Description: This parameter is used to set the kernel size of the erosion operation during point cloud preprocessing. The larger the kernel, the stronger the erosion effect.
Default value: 3

CloudCapacityFilter

Parameter Description

Min Number of Points

Description: This parameter is used to set the minimum threshold of the number of points in a point cloud. Point clouds with fewer points than this threshold will be judged as not meeting the requirements.
Default value: 6000

Max Number of Points

Description: This parameter is used to set the maximum threshold of the number of points in a point cloud. Point clouds with more points than this threshold will be judged as not meeting the requirements.
Default value: 360000

RectCloudsFilter

Parameter Description

Min Rectangularity

Description: This parameter is used to set the minimum rectangularity threshold for rectangular contour. Point clouds with rectangularity lower than this threshold will be judged as not meeting the requirements.
Default value: 0.9000

Dilation Kernel Size

Description: This parameter is used to set the kernel size of the dilation operation during point cloud preprocessing. The larger the kernel size, the stronger the dilation effect.
Default value: 3

Erode Kernel Size

Description: This parameter is used to set the kernel size of the erosion operation during point cloud preprocessing. The larger the kernel, the stronger the erosion effect.
Default value: 3

SolidCloudsFilter

Parameter Description

Ratio Threshold

Description: This parameter is used to set the threshold for the filling ratio of the point cloud. Point clouds below this threshold will be judged as not meeting the requirements.
Default value: 0.9000

Remove Solid Clouds

Description: This parameter is used to determine whether to remove solid clouds. Once this option is selected, solid clouds will be filtered out.
Default value: Selected

Dilation Kernel Size

Description: This parameter is used to set the kernel size of the dilation operation during point cloud preprocessing. The larger the kernel size, the stronger the dilation effect.
Default value: 3

Erode Kernel Size

Description: This parameter is used to set the kernel size of the erosion operation during point cloud preprocessing. The larger the kernel, the stronger the erosion effect.
Default value: 3

Is this page helpful?

You can give a feedback in any of the following ways:

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.