Skip to content

3D Percentile Filter

Operator Function

Filter the input point cloud based on different filter axes and high/low removal percentages, retaining the point cloud between the high and low percentiles for output.

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80The IM number for image input

Calculation Parameters

ParameterRangeDefault ValueDescriptionIllustration
Use Region Parameterstrue/falsefalseIf enabled, use Region as input; if not enabled, use Input Image as input
Region2D Window/BoxBoxManually select an appropriate ROI region
Can bind to select existing ROI regions
Filter AxisX/Y/ZZFilter point cloud along specified axis direction
X: Filter based on point cloud's X coordinates
Y: Filter based on point cloud's Y coordinates
Z: Filter based on point cloud's Z coordinates
Low Percentage0-5010.000Calculate the low threshold for percentile filter based on this value, as shown in the figure above. Points below this threshold will be removed.
High Percentage0-5010.000Calculate the high threshold for percentile filter based on this value, as shown in the figure above. Points above this threshold will be removed.
Output Image0-80The IM number for image output

Result Display

ParameterRangeDefault ValueDescriptionIllustration
ROI Point Settrue/falsefalseOnly effective when Use Region Parameters is selected; the point set of the ROI selected region; if enabled, displayed in the image

Output Parameters

NameTypeRangeDescription
Resultbooltrue/falsetrue for success
false for failure
Warningbooltrue/falsetrue indicates there is a warning
false indicates there is none
MessagestringOutputs success, error, or warning information; if there is no error or warning, it is empty
TimefloatOperator execution time, unit: ms

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1The input value is {0}, invalid region typeRegion TypeOnly supports window2d, box, pointset
2Region is empty1. Check if input point cloud is empty
2. Check if ROI region encloses any point cloud
3. Check if bound pointset is empty
3Low percentile and high percentile cannot both be 50%.Adjust high and low percentages; cannot both be 50
4Percentile filtering failedCheck if point cloud contains invalid points. Invalid points are those with nan in coordinates
5Output point cloud is empty! Please modify parameters!1. Check if input point cloud is empty
2. Check if ROI position encloses any point cloud
3. Check if point cloud contains invalid values

Example Introduction

Engineering Design

  1. Select the Load 3D Point Cloud tool to load the 3D point cloud image to be processed into IM0.

  2. Select the 3D Percentile Filter tool.

Tool Usage

  1. Select the input image for operation; the image number must match the IM number where the image is located in the project.

  2. Select the region type as Box, move the box to the position to be measured, enclosing the part of the point cloud that needs filtering.

Usage Tips

  1. Use the ROI controller on the image window to drag or scale the box;
  2. Directly modify the start or end coordinates of the box in the calculation parameters to adjust the box position and size;
  1. Set parameters

  2. Check the content you want to display in the result display section

  3. Click Test to check if the image window and parameters meet expectations

  4. If there are no issues, click Save, then run the operator in the run list to view the results in the corresponding IM

Local Image

AI-Vision, Making 3D Measurement Easier