ComfyUI Node
SplitSplatsByMask
Projects splat centers into a mask; returns splats inside vs outside. Splats behind the camera go to outside.
SplitSplatsByMask
- splats
- mask
- camera_matrix
- inside_splats
- outside_splats
◄projection▾►
◄horizontal_fov90.00►
◄threshold0.50►
◄deviceauto►
CategoryCamera/GSplat4D
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| splats | GSPLAT | — | |
| mask | MASK | Mask [H,W] (or [1,H,W]) in the camera view. | |
| projection | COMBO | 3 options: PINHOLE, FISHEYE, EQUIRECTANGULAR | |
| horizontal_fov | FLOAT | 90.001–360 | — |
| threshold | FLOAT | 0.500–1 | — |
| camera_matrixopt | MAT_4X4 | World-to-camera matrix of the mask's view. Default: identity (splats already in camera frame). | |
| deviceopt | COMBO | auto | 3 options: auto, cpu, cuda |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| inside_splats | GSPLAT | — |
| outside_splats | GSPLAT | — |