Nodes/camera-comfyUI/SplitSplatsByMask
ComfyUI Node

SplitSplatsByMask

Projects splat centers into a mask; returns splats inside vs outside. Splats behind the camera go to outside.

By Alexankharin·Created about a year ago·Updated 22 days ago· 35
SplitSplatsByMask
  • splats
  • mask
  • camera_matrix
  • inside_splats
  • outside_splats
projection
horizontal_fov90.00
threshold0.50
deviceauto
CategoryCamera/GSplat4D

Inputs (7)

NameTypeDefaultDescription
splatsGSPLAT
maskMASKMask [H,W] (or [1,H,W]) in the camera view.
projectionCOMBO3 options: PINHOLE, FISHEYE, EQUIRECTANGULAR
horizontal_fovFLOAT90.001–360
thresholdFLOAT0.500–1
camera_matrixoptMAT_4X4World-to-camera matrix of the mask's view. Default: identity (splats already in camera frame).
deviceoptCOMBOauto3 options: auto, cpu, cuda

Outputs (2)

NameTypeDescription
inside_splatsGSPLAT
outside_splatsGSPLAT