Point Cloud Conditional Filter

Description

This operator is used to filter each point cloud in the input point cloud list based on user-defined conditions. The user can select a point cloud attribute (such as point count, mean coordinates, bounding box dimensions, etc.), set a judgment condition (such as greater than, less than, equal to, etc.) and a threshold. The operator calculates the attribute value for each point cloud, compares it with the threshold, and retains only the point clouds that meet the condition.

Overview

Filters a point-cloud list by point count, coordinate statistics, or bounding-box properties.

Scenarios

  • Filter by Size: Filter out point cloud clusters whose size (based on bounding box) is greater than or less than a specific value.

  • Filter by Position: Filter out point cloud clusters whose center coordinates (mean, median, or bounding box center) are within a specific range. For example, retain only point clouds with a Z coordinate greater than a certain height.

  • Filter by Point Count: Filter out point cloud clusters containing more or fewer points than a certain number, often used to remove noise or filter objects of a specific scale.

Inputs and Outputs

Inputs

Point Cloud: The input point cloud or list of point clouds.

Outputs

Filtered point cloud: List of point clouds that satisfy the filtering conditions.

Parameters

Filter Attribute

Description

Computes each cloud’s valid-point count, coordinate mean/median, or AABB/OBB center or size for sorting or filtering.

Tuning Instructions

Choose the attribute that best separates targets; center options also use Component Axis, while size options use Size Type.

Parameter Range

Options: Point Cloud Count, Point Cloud Mean, Point Cloud Median, Oriented Bounding Box Center, Axis-Aligned Bounding Box Center, Oriented Bounding Box Size, Axis-Aligned Bounding Box Size, Default: Point Cloud Count

Parameter Range

Values/Range:

  • Point Cloud Count

  • Point Cloud Mean

  • Point Cloud Median

  • Oriented Bounding Box Center

  • Axis-Aligned Bounding Box Center

  • Oriented Bounding Box Size

  • Axis-Aligned Bounding Box Size

Default: Point Cloud Count

Filter Axis

Description

Selects the X, Y, or Z component used by mean, median, or bounding-box center.

Tuning Instructions

Changing the axis uses another coordinate component; it does not affect point-count or box-size attributes.

Parameter Range

Options: X-axis, Y-axis, Z-axis, Default: Z-axis

Parameter Range

Values/Range:

  • X Axis

  • Y Axis

  • Z Axis

Default: Z Axis

Filter Type

Description

Defines the scalar derived from box size: an axis size, XY area, larger or smaller X/Y size, Z height, or aspect ratio.

Tuning Instructions

Used only with AABB or OBB Size; select the measure matching the target geometry.

Parameter Range

Options: X-axis, Y-axis, Z-axis, X-axis*Y-axis, Length, Width, Height, Aspect Ratio, Default: Z-axis

Parameter Range

Values/Range:

  • X Axis

  • Y Axis

  • Z Axis

  • X-axis*Y-axis

  • Length

  • Width

  • Height

  • Aspect Ratio

Default: Z Axis

Judge Condition

Description

Comparison between the computed value and Threshold; “Equal” applies the Difference Threshold as tolerance.

Tuning Instructions

Select “Greater Than”, “Greater Than or Equal”, “Less Than”, “Less Than or Equal”, or “Equal” for the side to retain.

Parameter Range

Options: Less Than, Less Than or Equal, Greater Than, Greater Than or Equal, Equal, Default: Equal

Parameter Range

Values/Range:

  • Less Than

  • Less Than or Equal To

  • Greater Than

  • Greater Than or Equal To

  • Equal To

Default: Equal To

Judgment Threshold

Description

Reference value compared with the selected attribute; its unit depends on that attribute.

Tuning Instructions

Raise or lower it to move the acceptance boundary; the retained side is determined by Condition.

Parameter Range

[0, 4000000], Default: 100

Parameter Range

Values/Range: [0, 4000000]

Default: 100

Difference Threshold

Description

Maximum absolute difference allowed between the computed value and Threshold when Condition is “Equal”.

Tuning Instructions

Increase to widen the equality band; 0 accepts only exact equality.

Parameter Range

[0, 10000], Default: 0

Parameter Range

Values/Range: [0, 10000]

Default: 0

Enable Node

Description

When enabled, runs the node processing; when disabled, passes input clouds through unchanged.

Tuning Instructions

Disable to bypass the step during debugging; enable when its processed output is required.

Parameter Range

Default: True