A command-line tool to spotlight central objects in 3D Gaussian Splatting (3DGS) reconstructions. Given a walk-around video, gStatLight isolates the subject (e.g., a car) by keeping only Gaussians within a small radius of the sceneβs origin.
conda create -n gsl python
conda activate gsl
# Change directories to project root (gStatLight/):
cd <project-dir: gStatLight>
# Install the gStatLight package and its CLI entrypoints:
pip install .
The tool requires the following structure:
gCull/
βββ data/
β βββ <experiment-name>/
β βββ colmap/
β βββ images/
β βββ transforms.json
|
βββ outputs/
βββ <experiment-name>/
βββ splatfacto/
βββ <model-name>/
βββ config.yml β point to this config file for `statlight`
βββ {...}_statlight.ply β statlight output saved here
From your project root:
gsl statlight \
--load-config <path/to/config.yml>
The final culled 3DGS model is saved alongside your config.yml
as {experiment_name}_{model_name}_statlight.ply
file.
This work is built upon and heavily modifies the Nerfstudio/Splatfacto codebases.