Aperture-Aware Voting with Affine Correspondences for Constrained Camera Motion

An affine correspondence is a point match that also carries the local 2×2 warp between the two image patches. It is three times as informative as a bare point match, which is why a single one can fix the relative pose of a camera moving on a plane or with known gravity. In practice that warp is fragile. It is estimated from a tiny patch, and on patches that contain only an edge, the image constrains the warp only across the edge and says almost nothing along it. This is the classic aperture problem. Current pipelines handle the fragility in one of two ways: they refine the warp and hope, or they let random sampling (RANSAC) throw bad hypotheses away. Either way, each correspondence is treated as all-or-nothing.

We propose to borrow the oldest trick in gradient-based Hough voting. An edge pixel whose gradient direction is known votes for a single line orientation rather than all of them. An edge pixel whose gradient is unreliable spreads its vote over a window. Applied to affine correspondences, each match votes in a small camera-pose accumulator with a vote whose shape comes from the patch's own intensity gradients. A well-textured corner patch casts a sharp point vote. An edge patch casts a vote smeared along a curve, namely the one-parameter family of poses consistent with what its gradient does constrain. A flat patch casts nothing. The claim is that this recovers pose more accurately and more reliably than RANSAC over one-correspondence solvers in edge-dominated scenes such as driving. The reason is that the many edge-like correspondences those pipelines discard or mis-hypothesize still carry usable partial constraints, and voting is the natural way to add partial constraints together.

Core Claim

Gradient-constrained voting has always used the image gradient to decide where a vote goes. O'Gorman and Clowes collapse each edge pixel's sinusoid in line space to a single cell. Gradient based progressive probabilistic Hough transform restricts votes to an angular window around the gradient to raise the accumulator's signal-to-noise ratio. Local affine approximation has supplied one-correspondence solvers for constrained motion (Hajder and Barath for planar motion, Guan et al. and related work for known-vertical settings). It has also shown that these solvers only work after careful gradient-based refinement of the warp (Making Affine Correspondences Work in Camera Geometry Computation). Nobody has noticed that the same gradient statistics that refine the warp also say which directions of the warp are unknowable. Our new ingredient is that the vote cast by an affine correspondence should be degenerate in exactly those directions. This turns the aperture problem from a source of outliers into a source of lower-dimensional but correct evidence.

Concretely, for a pose parameter $\theta$ in a low-dimensional space (2 degrees of freedom for planar vehicle motion up to scale, 3 for known vertical), each correspondence $i$ contributes the vote density

$$v_i(\theta) = \exp\!\left(-\tfrac{1}{2}\, r_i(\theta)^\top \Sigma_i^{+}\, r_i(\theta)\right),$$

where $r_i(\theta)$ stacks the epipolar residual of the point pair and the difference between the observed warp $A_i$ and the warp that pose $\theta$ predicts at that point. $\Sigma_i^{+}$ is the pseudo-inverse of the warp covariance obtained from least-squares patch matching. Through the patch structure tensor (the summed outer product of intensity gradients), $\Sigma_i$ is nearly singular in the along-edge direction for edge patches. Because we use the pseudo-inverse, those directions impose no penalty, and the vote spreads along a curve in pose space just as an unconstrained Hough vote does. The accumulator is $\sum_i v_i(\theta)$, robustified by capping each vote. Its peak seeds a final local optimization.

Research Program

The first component is the vote model. We will derive, for the planar-motion and known-vertical one-correspondence solvers, how a rank-deficient warp covariance maps into a pose-space vote, which is a point, a curve, or nothing. We will then rasterize these votes directly into a sparse accumulator rather than evaluating every bin for every match. The covariance comes from symmetric least-squares matching as in Making Affine Correspondences Work in Camera Geometry Computation. That paper uses the uncertainty only to score and reject RANSAC hypotheses. We use it to shape hypothesis generation, so that edge-like correspondences contribute rather than being culled. Sub-pixel isophote refinement in the style of Construction of Precise Local Affine Frames supplies an independent check on along-gradient precision. In that paper, gradient refinement raised verified Graffiti inliers from 425 (plain) and 516 (smoothed) to 702. That result motivates trusting the gradient direction of edge patches while distrusting their tangent direction.

The second component is the accumulator itself. The constrained-motion regime keeps it at 2 or 3 dimensions, which avoids the memory explosion that kept Convolutional Hough Matching Networks from voting over rotation and shear. We will use coarse-to-fine sparse bins, following the sparse transformation-space voting of Deep Hough Voting for Robust Global Registration. That method is learned, 3D, and uses point triplets. Ours is analytic, 2D-image, and uses single correspondences. To address the discretization problem noted for gradient Hough methods, the peak is refined continuously with the same pseudo-inverse-weighted objective.

The third component is analysis. We will measure the fraction of SIFT-upgraded or learned affine correspondences on driving imagery whose structure tensor is edge-like. Edge-based odometry such as Realtime Edge-Based Visual Odometry for a Monocular Camera suggests this fraction is large, but we have no number. We will also characterize when curve votes help versus when they only add clutter.

Baselines

The naive reference point is the standard 5-point essential-matrix solver inside GC-RANSAC on point matches, which ignores both the warp and the motion constraint. It is what an unconcerned practitioner would run. The point-based constrained reference is a 2-point planar-motion solver in the same RANSAC, which uses the motion prior but no warps.

The strongest existing competitor is GC-RANSAC with a one-correspondence solver on refined affine correspondences, using the covariance propagation and preemptive model rejection of Making Affine Correspondences Work in Camera Geometry Computation. Warps will come from SIFT upgraded to affine as in On Making SIFT Features Affine Covariant. This pipeline already has every ingredient we use except vote-based generation, so it isolates our contribution. For it, On Making SIFT Features Affine Covariant reports KITTI runtime dropping from about 80 ms to about 48 ms with accuracy maintained or improved. Relative Pose from SIFT Features reports a 5x speedup over the 5-point method on KITTI. We found no reported rotation or translation error numbers on Lacuna for these pipelines on KITTI or Malaga, so we will rerun them ourselves. All methods will receive identical features, identical refined warps and covariances, the same final local optimization, and runtime budgets matched within 10%. Thresholds will be tuned on the same held-out sequences.

Two ablations isolate the key ingredient. In isotropic voting, each correspondence casts a vote with the same scalar covariance, which tests whether gradient-shaped votes matter. In point voting, each correspondence casts one vote at its solver output, which turns the method into a histogram over exhaustive one-correspondence hypotheses. A third control removes edge-like correspondences by structure-tensor threshold before any method runs.

Beating the strongest baseline means lower median rotation error and translation-direction error at matched runtime on KITTI and Malaga. It also means a lower failure rate (pose error above a fixed threshold) on low-texture and high-outlier subsets, with the gain disappearing when edge-like correspondences are removed. That last condition is our mechanistic signature.

Why not just…?

Why not just enumerate every one-correspondence hypothesis and score it, which is already cheap? With one-correspondence solvers, exhaustive hypothesis scoring is the honest version of RANSAC, and it is a real threat. Our point-voting ablation is essentially this method, made faster. If gradient-shaped voting does not beat it, the idea fails. The argument for voting is that an edge correspondence produces a wrong single hypothesis but a correct curve, and only accumulation can use the curve. The synthetic aperture experiment below tests that argument directly.

Why not just throw away edge-like correspondences and run the strongest RANSAC pipeline? This is what careful practitioners would do, and we include it as a control. It wins if edge correspondences are few or if their curve votes are dominated by outliers. It loses if, as we expect in road scenes, curve votes from many edges intersect sharply at the true pose. The edge-fraction analysis and the edge-removed comparison settle which case holds.

Why not just weight RANSAC inlier scoring by the propagated covariance? Making Affine Correspondences Work in Camera Geometry Computation already propagates uncertainty to model covariance and rejects models preemptively. Our strongest baseline therefore includes this alternative, which is why it is the comparison that matters. Covariance-aware scoring still generates hypotheses from single, possibly degenerate correspondences. Our difference lies only in generation, and the isotropic ablation shows whether that difference carries weight.

Why not just regress pose with a network? Learned local warp estimators degrade off their training domain: LOCATE struggles on painting-to-photo pairs in SymB according to Robust Homography Estimation from Local Affine Maps. Our method has no training and should transfer across sequences. We treat this alternative as out of scope rather than as a refuted competitor.

Proposed Experiments

The first decisive check is synthetic. We render planar-motion pairs of scenes whose texture ranges from corner-rich to purely edged, add pixel noise, and measure pose error against the fraction of edge patches. Shaped votes should match point votes on corner-rich scenes. They should degrade far more gracefully as edges dominate, and the isotropic ablation should sit in between.

The main evaluation runs on KITTI for planar motion and for known vertical from the inertial data, with Malaga as a second driving domain. Both are used by On Making SIFT Features Affine Covariant. We report median rotation and translation-direction errors, failure rate, and runtime, with stratified results on sequences with fewer than average textured keypoints and with injected outliers up to 80%.

A third check probes accumulator sensitivity, covering bin size, vote capping, and coarse-to-fine levels. Its purpose is to show that gains are not artifacts of tuning that only the voting method received.

The proposal is falsified if the point-voting ablation or the edge-removed RANSAC control matches the full method on edge-dominated subsets. That outcome would mean the aperture-shaped vote adds nothing beyond what existing uncertainty-aware sampling already extracts.