ComfyUI Node
CV Filter Points 3D By Mask
Keeps the rows of an Nx3 point cloud flagged non-zero in a per-point mask, filtering the per-vertex colours in lockstep - the 3D counterpart of 'CV Filter Points By Mask' (which is 2D-only). Drive it with the inlier mask of cv2.estimateAffine3D, the 'valid' output of 'CV Sample Array At Points', or the 'near_mask' of 'CV Point Cloud Nearest Distance' to keep only points a second view confirms. A None mask passes everything through.
CV Filter Points 3D By Mask
- points
- mask
- colors
- points
- colors
- count
Categoryimage/CV/points
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| points | NPARRAY | Nx3 (or Nx1x3) point cloud. | |
| maskopt | NPARRAY | Nx1 mask: rows != 0 are kept. One entry per point; None keeps all. | |
| colorsopt | NPARRAY | Nx3 per-vertex colours filtered with the same mask. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| points | NPARRAY | — |
| colors | NPARRAY | — |
| count | INT | — |