Repository navigation
Conversation
sarlinpe
force-pushed
the
zoom
branch
2 times, most recently
from
October 5, 2026 13:05
3d7af68 to
54aa220
Compare
sarlinpe
added this pull request to stack #43
October 9, 2026 15:45
- --time-varying-intrinsics (vidmap.run and the frontend CLI): one camera per frame in the database and mapper state (per_image camera policy) with per-view camera priors. - Frontend initialization: per-frame predicted focals, median-filtered and Gaussian-smoothed in log space (vidmap/utils/camera_smoothing.py) to reject single-frame prediction spikes. - Mapper: raw per-frame focal priors, plus native Ceres log relative focal priors between consecutive keyframe cameras in view graph calibration and bundle adjustment (LogRelativeFocalPriorCostFunction, analytic Jacobians). The Cauchy loss acts as a quadratic smoothness term within continuous footage and lets the focal jump at cuts or abrupt zooms without explicit segmentation. - uncalib/da3 mapping defaults: focal prior weight 1e-3 in VGC and multiplier 0.01 in BA, so near-zero-baseline pairs cannot collapse the focal lengths. - Tests: smoothing, option validation, per-frame cameras, priors, multi-camera BA, and the native relative focal priors (C++ and Python).
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Support time-varying camera intrinsics (optical zoom).
--time-varying-intrinsics(invidmap.runand the frontend CLI) uses theper_imagecamera policy in the database and mapper state, with per-view camera priors.vidmap/utils/camera_smoothing.py) to reject single-frame prediction spikes.LogRelativeFocalPriorCostFunction(analytic Jacobians) links consecutive keyframe cameras in view graph calibration and bundle adjustment. The Cauchy loss acts as a quadratic smoothness term within continuous footage and lets the focal length jump at cuts or abrupt zooms, without explicit segmentation. The mapper keeps the raw per-frame focal priors.uncalib/da3uses focal prior weight1e-3in VGC and multiplier0.01in BA, so that near-zero-baseline pairs cannot collapse the focal lengths.Stack update: removed the unused mapper-side focal smoothing path, the unused
uncalib/da3_zoompreset andRunOptions.time_varying_intrinsics, and shared the flag's config overrides.