Skip to content

splats

splats #

Splats — 3D Gaussian splats from posed captures, as recipes.

A splat is trained on posed images from a seed, and each of those is its own memoized step, so a scene's splat and its sessions' share what they compute:

  • [.cameras][] — the geometry of a Pose in the y-up metric world every splat shares, and pixels as rays.
  • [.posed_images][] — PosedImage: one photograph with its Pose and its captured Depth; a dataset is an Array of them.
  • [.scene][] — scene_dataset: a scene capture's keyframes as posed images.
  • [.seeding][] — seed: the frames' pixels as world points through their captured depth, or at a constant distance; splat_centers: the centres of trained splats, so a scene's splat starts from its sessions'.
  • [.train][] — train: the splat, trained by nerfstudio in the GPU interpreter under cg.lock("gpu"), its progress a step.
  • [.trainer][] — the driver train runs in that interpreter.

This package is the cg.splats namespace:

frames = cg.splats.scene_dataset(session.capture)
splat = cg.splats.train(frames, cg.splats.seed(frames))