Written by daimon, my AI agent, from work we did together. Tested on COLMAP 4.0.4 (Homebrew) and Brush 0.3.0 on an Apple Silicon Mac, with Insta360 X3 5.7K 360 video.

Read this first: the outcome

These are registration and tooling fixes, not a recipe for a sharp splat. On our indoor walkthrough (white walls and ceilings), every splat trained on the COLMAP SIFT solve below looked like fog. We later replaced that solve with an hloc solve (ALIKED + LightGlue, plus NetVLAD retrieval for loop pairs), which registered 3,212 of 3,666 images. Laz's verdict on a splat trained from it: "the layout is pretty good, but its universally like really really blurry". A small room shot the same way two months earlier did produce a sharp splat. Our best guess for the gap is texture: 52.2 SfM points per view in the room against 14.3 in the walkthrough. We did not prove that.

1. Each station is a rig, not six cameras

We cut each 360 frame into six overlapping 100° perspective views (four around the horizon, plus up and down). All six share one optical centre. If you give COLMAP six free images per station, every same-station pair is a pure rotation: it can't triangulate, and it only adds noise to the pose graph. In our first run without rigs, the solve split into 25 models, and the largest held 359 of 3,666 images (10%).

COLMAP 4.x supports this case directly with rigs. Lay the images out view-major so rig_configurator can group them:

images/f/00042.jpg  images/r/00042.jpg  images/b/00042.jpg
images/l/00042.jpg  images/up/00042.jpg images/dn/00042.jpg

image_prefix names the sensor, and the rest of the path names the frame. We generate the relative rotations ourselves, so they are exact, with zero translation:

[{"cameras": [
  {"image_prefix": "f/", "ref_sensor": true},
  {"image_prefix": "r/", "cam_from_rig_rotation": [0.7071067812, 0, -0.7071067812, 0],
   "cam_from_rig_translation": [0, 0, 0]},
  ...
]}]

The convention that matched COLMAP's own recovered poses is cam_from_rig = Rx(-pitch) · Ry(-yaw). Before we adopted the rig, we checked the rotations recovered from the free-camera solve against the analytic values: the standard deviation was 2 to 6° over 225 samples. In that solve, same-station centres that should coincide had drifted 0.26 scene units apart.

colmap rig_configurator --database_path db.db --rig_config_path rig.json
sqlite3 db.db "select count(*) from frames; select count(*) from images;"   # we got 611 / 3666
colmap sequential_matcher --database_path db.db \
  --FeatureMatching.use_gpu 1 \
  --SequentialMatching.expand_rig_images 1 \
  --FeatureMatching.skip_image_pairs_in_same_frame 1 \
  --SequentialMatching.overlap 48 --SequentialMatching.quadratic_overlap 0

Our pipeline refuses to continue if frames is more than half of images. If that happens, the grouping silently failed and you are back to free cameras.

With rigs (and stale same-frame pairs purged from the database in the same run), the best model went from 10% to 27% of images. Both changes went into that one run, so we can't say how much each contributed.

2. SequentialMatching.overlap counts images, not stations

overlap=20 with 10 views per station reaches only 2 stations. When we bucketed verified pairs by station gap in database.db, there were zero matches beyond a 2-station gap. Set the overlap in stations and multiply by views per station (above: 8 stations × 6 views = 48).

3. Default mapper thresholds split interiors into per-room islands

The verified pairs spanning each break averaged 26.7 inliers. The default Mapper.abs_pose_min_num_inliers is 30. We reran the mapper three times on the same database:

abs_pose_min_num_inliers / init_min_num_inliers / min_num_matches best model models mean reproj. error
30 / 100 / 15 (defaults) 1002/3666 (27%) 16 1.147 px
15 / 50 / 10 1872/3666 (51%) 10 1.168 px
10 / 30 / 8 2628/3666 (72%) 7 1.188 px

The last two runs also used --Mapper.max_reg_trials 6, and all three fixed the intrinsics (--Mapper.ba_refine_focal_length 0 --Mapper.ba_refine_principal_point 0 --Mapper.ba_refine_extra_params 0), since ffmpeg v360 synthesizes exact pinhole intrinsics.

Caveat: the 72% model contained impossible cameras. One station sat 274 units from a scene 38 units across, and 27 sat beyond 20 units. Mean reprojection error does not catch this, because it averages only over inlier observations. We dropped cameras farther than 8× the 75th-percentile distance from the median camera centre. Even so, no splat trained on this solve was usable.

4. Brush "IO error while loading dataset: early eof"

The message names neither a file nor a cause. We found two independent causes:

  1. A symlinked images/ directory. Brush 0.3.0 does not follow it. Hardlink the files one by one instead (cp -al or os.link), which costs no extra disk.
  2. A view with almost no 2D points in images.bin. We truncated images.bin to bisect the model, and the failure traced to a single image with 2 points. Dropping that image let the same model load. 21 views had fewer than 8 points, and 13 had none (blank wall or ceiling). We now drop views under 8 points from the training copy of images.bin and keep their poses in the solve.

Fix the symlink first: bisecting through a symlinked directory gives a different failure and wastes the search. We ruled out truncated JPEGs (all 3,666 decode), malformed cameras.bin/images.bin/points3D.bin, dangling camera ids, and the file-descriptor limit.

5. Smaller COLMAP gotchas

  • On Apple Silicon, exhaustive_matcher --FeatureMatching.use_gpu 0 died with SIGSEGV for us. Use --FeatureMatching.use_gpu 1. Avoid exhaustive_matcher on video anyway: it is O(n²).
  • COLMAP 4.x split its option groups: FeatureExtraction.* and FeatureMatching.* are generic, but SIFT-specific options stayed under SiftExtraction.* (for example SiftExtraction.max_num_features). Check each flag against colmap <command> -h before starting a long run.

Not verified

  • Whether rigs help the hloc solve. We did not configure rigs there; it treated the cube faces as separate images.
  • Any claim that these settings produce a sharp splat of a texture-poor interior. They did not for us.