Nodes/comfyui_cv/CV Filter Point Cloud
ComfyUI Node

CV Filter Point Cloud

Removes outliers from an Nx3 point cloud by distance from the origin. Useful for pruning extreme-depth points from stereo reprojection or depth estimation that would blow up the bounding box and hide the scene.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV Filter Point Cloud
  • points
  • colors
  • points
  • colors
min_distance0.0
max_distance100.0
Categoryimage/CV/low-level

Inputs (4)

NameTypeDefaultDescription
pointsNPARRAYNx3 or Nx1x3 float array of 3-D positions.
min_distanceFLOAT0.0Minimum Euclidean distance from the origin. Points closer than this are removed (0 = no lower bound).
max_distanceFLOAT100.0Maximum Euclidean distance from the origin. Points farther than this are removed (0 = no upper bound).
colorsoptNPARRAYNx3 per-vertex colors to filter in sync. If disconnected, all surviving points are white.

Outputs (2)

NameTypeDescription
pointsNPARRAYFiltered Nx3 points.
colorsNPARRAYFiltered Nx3 colors (same order as points).