ComfyUI Node
CV Merge Point Clouds
Concatenates two Nx3 point clouds and their per-vertex colours in lockstep, so a multi-view reconstruction can go to one 'CV Write PLY'. Both clouds must already be in the SAME coordinate frame - register one onto the other first ('CV Sample Array At Points' + cv2.estimateAffine3D + 'CV Transform Points 3D'). A missing colour input becomes white for that cloud, and an empty/None cloud simply contributes nothing (that is how a failed registration degrades: you keep cloud A).
CV Merge Point Clouds
- points_a
- points_b
- colors_a
- colors_b
- points
- colors
- count_a
- count_b
Categoryimage/CV/points
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| points_a | NPARRAY | First Nx3 cloud. | |
| points_bopt | NPARRAY | Second Nx3 cloud, already transformed into the same frame as points_a. Leave it unconnected and the result is cloud A alone, with count_b = 0 - which is also what lets a SUBGRAPH expose an OPTIONAL cloud: a boundary input may be left unfed only when every inner socket it reaches is optional (prompt validation is static, so one required socket downstream sinks the whole prompt). | |
| colors_aopt | NPARRAY | Nx3 colours for cloud A (white if unconnected). | |
| colors_bopt | NPARRAY | Nx3 colours for cloud B (white if unconnected). |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| points | NPARRAY | (Na + Nb) x 3 float32 points, cloud A first. |
| colors | NPARRAY | (Na + Nb) x 3 uint8 colours in the same order. |
| count_a | INT | — |
| count_b | INT | — |