splat-transform API Reference - v2.0.5
    Preparing search index...

    Function filterCluster

    • Filter a Gaussian splat DataTable to keep only Gaussians that contribute to the connected component found by GPU voxelization from a seed position.

      Parameters

      • dataTable: DataTable

        Input Gaussian splat data.

      • createDevice: DeviceCreator

        Function to create a GPU device for voxelization.

      • voxelResolution: number = 1.0

        Voxel size in world units for coarse voxelization. Default: 1.0.

      • seed: Vec3 = Vec3.ZERO

        Seed position in world space. Default: (0,0,0).

      • opacityCutoff: number = 0.999

        Opacity threshold for solid voxels. Default: 0.999.

      • minContribution: number = 0.1

        Minimum Gaussian contribution at a cluster voxel center to be kept. Default: 0.1.

      Returns Promise<DataTable>

      Filtered DataTable containing only Gaussians in the seed's cluster.