Nodes/ComfyUI-SplatKit/Prepare Repair Batch
ComfyUI Node

Prepare Repair Batch

A ComfyUI node in SplatKit with 8 inputs and 6 outputs.

By mickmumpitz·Created 19 days ago·Updated a day ago· 0
Prepare Repair Batch
    • damaged
    • reference
    • frame_name
    • job
    • remaining
    • report
    dataset_dir
    selection_methodrank_by_damage
    max_frames200
    every_nth8
    skip_featurelesstrue
    featureless_threshold8.0
    use_pose_matched_referencetrue
    auto_continuetrue
    CategorySplatKit

    Inputs (8)

    NameTypeDefaultDescription
    dataset_dirSTRINGThe dataset to repair -- wire Dataset Project -> dataset_dir, or type the folder path / bare name under ComfyUI/output. Needs images/ and sparse/0/.
    selection_methodoptCOMBOrank_by_damageHow to choose which faces to repair. rank_by_damage is the recommended default: it repairs only genuinely stretched faces and skips sky/floor automatically.
    max_framesoptINT2000–100000How many faces to repair (rank_by_damage / furthest). 0 = every eligible face. Ignored by every_nth.
    every_nthoptINT81–10000every_nth method only: keep every Nth eligible face.
    skip_featurelessoptBOOLEANtrueSkip sky / blank-floor faces so a repair is never spent on them. Judged from each face's pristine REFERENCE (a flat reference = a sky direction), so a badly smeared wall is kept while true sky is dropped. Applies to every method.
    featureless_thresholdoptFLOAT8.00–1000Laplacian-variance below which the REFERENCE counts as featureless (measured at <=1024px). Raise it to skip more flat directions.
    use_pose_matched_referenceoptBOOLEANtrueON (recommended): image 2 is the pristine frame-0 face whose optical axis best matches this one -- the correct reference. OFF: reuse the damaged frame as its own reference (no COLMAP axis match); lower quality, use only if poses are unavailable.
    auto_continueoptBOOLEANtrueAuto-queue the next frame after each one finishes, until all selected frames are repaired -- so one Queue press does the whole set (no batch-count needed). Needs the web UI open. Turn OFF to advance one frame per Queue press instead.

    Outputs (6)

    NameTypeDescription
    damagedIMAGE
    referenceIMAGE
    frame_nameSTRING
    jobSTRING
    remainingINT
    reportSTRING