Nodes/ComfyUI-SplatKit/Rebuild COLMAP Sparse
ComfyUI Node

Rebuild COLMAP Sparse

A ComfyUI node in SplatKit with 7 inputs and 5 outputs.

By mickmumpitz·Created 19 days ago·Updated a day ago· 0
Rebuild COLMAP Sparse
    • dataset_dir
    • sparse_dir
    • num_images
    • num_points
    • report
    dataset_dir
    include_hirestrue
    fix_intrinsicstrue
    dry_runfalse
    backuptrue
    faces_model
    poses_model
    CategorySplatKit

    Inputs (7)

    NameTypeDefaultDescription
    dataset_dirSTRINGThe dataset to repair -- wire the Dataset Project node's dataset_dir here, or type the folder path / bare name under ComfyUI/output. Must contain images/ and _spheresfm_work/.
    include_hiresoptBOOLEANtrueInclude the hires_*.png pinhole views, taking their poses from the SfM solve in _spheresfm_work. Turn OFF to rebuild a cube-faces-only dataset.
    fix_intrinsicsoptBOOLEANtrueRe-derive each view's intrinsics from its ACTUAL on-disk resolution. Leave ON: after an upscale pass the model often still declares the old size, which scales those views' focal length wrong. OFF keeps the model's declared cameras verbatim.
    dry_runoptBOOLEANfalseReport what WOULD be written without touching anything. Run this first on a dataset you care about.
    backupoptBOOLEANtrueCopy any existing sparse/0 into _sparse_backup/NNN/ before overwriting it.
    faces_modeloptSTRINGOverride the cube-face model. Blank = auto (cubic_hires/sparse, then cubic_inc/sparse, then cubic/sparse). Path may be relative to _spheresfm_work.
    poses_modeloptSTRINGOverride the model supplying hires poses. Blank = auto (sparse_hires_tri, then sparse_hires, sparse_inc_tri, sparse_inc, sparse/0).

    Outputs (5)

    NameTypeDescription
    dataset_dirSTRING
    sparse_dirSTRING
    num_imagesINT
    num_pointsINT
    reportSTRING