1/39
Looks like no tags are added yet.
What is triangulation and where does it fit in the Multi-View Geometry pipeline?
Triangulation: Process of recovering a 3D point X from matching 2D image points observed by two or more cameras
The complete pipeline:
Feature matching(Lecture 3) → Find corresponding pixels
Camera calibration(Lecture 4) → Obtain camera parameters K,R,T
Epipolar geometry(Lecture 5) → Establish the geometric relationship between corresponding pixels and cameras
Triangulation(Lecture 6) → Recover the actual 3D point X
Previous lectures prepared the camera geometry and correspondences;Triangulation use them to reconstruct 3D structure

What information is required for triangulation and what is it goal?
Known:
2D correspondences x,x’ from two or more images
Camera intrinsics K
Camera extrinsics R,T
Unknown:
3-D point X that produced those observations
The camera projection relationship is:
x ~ K[R∣T]X
~ means equal up to a scale factor, because homogeneous coordinates are used
Goal: Find the single 3-D points that best explains the observed pixels across all cameras
![<p>Known:</p><ul><li><p>2D correspondences $$x,x’$$ from two or more images</p></li><li><p>Camera intrinsics K</p></li><li><p>Camera extrinsics R,T</p></li></ul><p>Unknown:</p><ul><li><p>3-D point X that produced those observations</p></li></ul><p>The camera projection relationship is:</p><p>$$x$$ ~ $$K[R|T]X$$ </p><p>~ means equal up to a scale factor, because homogeneous coordinates are used </p><p>Goal: Find the single 3-D points that best explains the observed pixels across all cameras </p>](https://assets.knowt.com/user-attachments/5652d510-841e-4cf4-974e-039c58625fb7.jpg)

Why can’t we recover a unique 3-D point from a single image?
A single 2-D pixel x correspond to an entire 3-D viewing ray, not one specific point
For canonical camera:
*form in pict
λ represents an unknow depth-related scale
The point could be 1 m or 100 m away and still a project to the same pixel
Therefore, one image cannot determine the exact 3-D depth

How do 2 views allow us to recover a 3-D point?
Each camera produces a 3D ray passing through its observed pixel
Camera 1 produces array through x
Camera 2 produces another ray through x’
With perfect calibration and measurements, the rays intersect at the true 3-D point X
→ 2 views resolve the depth ambiguity that exists in a single view

Why don’t two viewing a rays usually intersect exactly in practice?
Real measurements contain noise, including:
Feature-detection errors
Pixel quantisation
Residual lens distortion
Small calibration errors
Consequently, the rays may pass close to each other without interacting exactly
→ Instead of finding a perfect intersection, triangulation estimates the 3D points that best fits the observations using least squares

What does the two-view triangulation diagram on slide 8 illustrate?
The diagram shows two cameras C and C’ observing the same 3-D point through pixels x and x’
The two viewing rays approach each other, but due to noise, they do not necessarily intersect at one exact point
The task is to estimate the most likely 3-D position that agrees with both observations
Remember: Triangulation is an estimation problem, not always an exact geometry intersection

What is scale ambiguity in triangulation?
Scale ambiguity means we can reconstruct the scene’s relative 3D shape, but not necessarily it’s absolute size
If camera positions are known only up to a common scale, the reconstructed 3D points also inherit that scale ambiguity
If the cameras’ relative positions are known in real-world units, triangulation can recover metric 3D coordinates
Important: The unknown homogeneous scale factor in the projection equation is related to (but not identical to) the global kill ambiguity of reconstruction
Why can’t we directly solve the camera projection equation for X?
The projection equation is:
λ x=K[R∣T]X
The problem is the unknown scale factor λ
The equation tells us the direction of the 3-D point, but not it exact depth
A single pixel can represent many 3-D points along the same ray
Therefore we cannot simply rearrange the equation to find one unique X
Solution: Use the cross-product trick to remove λ, then combine information from multiple views
What is the cross-product trick, and why is it used in triangulation?
Cross-product trick: removes the unknown scale factor from the projection equation
Two vectors pointing in the same direction have a cross product of zero
Therefore: x x (PX)=0
where P=K[R∣T]
Why useful?
It removes the unknown λ
It produces linear equations involving X
This equations can be solved using DLT and SVD
How many independent equations does each camera view contribute?
Each camera view give 2 independent linear equations
Although the cross product produces 3 equations, one is redundant
Why important? Two suitable views provide enough information to estimate the 3D point X

How are the DLT triangulation equations derived?

How does DLT triangulation use SVD to recover the 3-D point?
The process has five steps:
Use the cross product to remove the unknown scale
Collect the linear equations from all camera views into: AX=0
Apply Singular Value Decomposition(SVD): *form in pict
Choose the last column of V, corresponding to the smallest singular value
Dehomogenise by dividing by the last coordinate:
X=(X1/X4,X2/X4,X3/X4)
Result: The estimated 3-D point X the best fits the linear equations from all views

What does the worked triangulation example on slide 13 demonstrate?
Two cameras observed the same 3-D point:
Camera 1: (-1,0,0)m
Camera 2: (1,0,0)m
True 3-D point: (0,0,5)m
With perfect measurements, the two viewing rays intersect exactly at:
X=(0,0,5)
DLT + SVD recovers this point
With noisy measurements, the estimated point will be close to the true position, but not necessarily exact
Lesson:Triangulation accuracy depends on both measurements, noise, and camera positions

How is DLT used differently in camera calibration and triangulation?
Both methods use DLT + SVD, but they solve for different unknowns
same mathematical flow:
Projection equation → Remove scale → Built linear system → Solve using SVD

Can triangulation use more than two views and why is it beneficial?
Yes. We can try and unit a point using N views, not just 2
Each additional view contributes two equations:
AX=0
Therefore, N views provide 2N equations
Benefits:
More observations help reduce the effect of pixel noise
The estimated 3-D points becomes more reliable
The result is generally more accurate when the camera views provide useful geometric information
Remember: More good views usually improve triangulation
What are the three main situations where triangulation becomes unreliable?
Triangulation becomes unreliable when the viewing rays do not provide enough information to estimate depth accurately
Zero or near-zero baseline
The cameras are at almost the same position
Their rays provide little new depth information
Point near or on the baseline
The 3-D point is close to the line connecting both cameras
Small pixel errors can cause large errors in its estimated position
Point near Infinity
The point is very far away
The rays become almost parallel
Small measurement errors cause large depth errors
Key idea: poor camera geometry makes triangulation sensitive to noise, even if the equation can be solved
How does the baseline affect triangulation accuracy?
The baseline is the distance between the two camera centres
Narrow baseline:
Rays intersect at a small angle
Depth is difficult to estimate
Small pixel errors can cause large death errors
Wide baseline:
Rays intersect at a larger angle
Depth is easier to estimate accurately
The result is generally more stable
→ A wider baseline usually improve depth accuracy, as long as the images still have reliable matching points

Why does a small intersection angle make triangulation sensitive to noise?
When two ways are almost parallel, even a small change in their directions can move the estimated intersection a long distance
→ These causes a large depth error
When rays intersect at a larger angle, the estimated intersection changes less for the same pixel error
Larger intersection angles generally make triangulation more stable
What is bundle adjustment and why is it needed after triangulation?
Bundle Adjustment(BA) : Method that improves the estimated 3-D points and camera parameters together
Why needed?
Linear triangulation estimates one point at a time
It assumes the camera parameters are fixed and correct
In reality, both the points and camera parameters contain errors
BA adjust them together to reduce the total reprojection error
→ Triangulation estimates; Bundle adjustment refines
What is the main goal and mathematical objective of BA?
BA tries to make the predicted pixels match the observed pixels as closely as possible
*form in pict
Process:
Project the estimated 3-D points into the images
Comparing the predicted and observed pixels
Adjust the points and cameras to reduce the differences
Goal: Minimise the total squared reprojection error

Why do we perform linear triangulation before BA?
BA is a non-linear, non-convex optimisation problem
This means it needs a good starting estimate
Otherwise, it may get stuck in a poor local minimum
Linear triangulation:
Use DLT+ SVD
Quickly estimates the initial 3-D points
Bundle adjustment:
Starts from those estimates
Gradually improves the points and camera parameters
Linear triangulation provide the starting point for BA
What is reprojection error and how is it used in bundle adjustment?
Reprojection error measures the difference between:
The actual observed pixel and
The predicted pixel obtained by projecting the estimated 3-D point
e=p−π(X,K,R,T)
Example:
If a point is observed at pixel (100,100), But the camera model predicts (103,102), There is a reprojection error
→ BA adjust the 3-D points and camera parameters to make these errors as small as possible across all images
Why is bundle adjustment a non-linear and non-convex optimisation problem?
BA is nonlinear because camera projection involves:
Rotations
Perspective division by depth
This operations prevent us from solving the problem directly using one SVT step
BA is also non-convex, meaning there may be multiple local minima
A solver might find a solution that looks good nearby, but it’s not the best overall solution
→ Therefore, BA requires a good initialisation and iterative optimisation
What is Levenberg–Marquardt (LM), and why is it used in BA?
Levenberg–Marquardt (LM) is an algorithm used to solve non-linear least squares problems
It repeatedly updates the camera parameters in 3-D points to reduce reprojection error
It combines two behaviours:
Gradient-decent-like steps: More cautious when far from the solution
Gauss-Newton-like steps: Faster when close to the solution
Why useful? LM can be more stable than Gauss-Newton alone when the initial estimate is imperfect
How can BA handle thousands of 3-D points and hundreds of cameras?
BA uses a sparse Jacobian matrix to reduce computation
Why sparse?
Each 3-D point is usually visible in only a few cameras
Most camera-point combinations have no observation
Therefore, many entries in the Jacobian are zero
Instead of processing every possible combination, BA solvers focus on the non-zero entries
Example of solvers include Ceres and g2o
→ Sparsity makes large-scale bundle adjustment practical

What is the difference between linear triangulation and bundle adjustment?
Remember: Linear triangulation gives the initial reconstruction; BA makes it more accurate and consistent

Why are incorrect correspondences a problem for triangulation and bundle adjustment?
Incorrect correspondence are called outliers
They happen when two pixels are matched even though they represent different 3-D points
Common causes:
Repetitive textures
Occlusions
Similar looking features
Why problematic?
Both DLT and BA try to fit the given observations
Incorrect matches can pull the estimated 3-D points or camera parameters away from the correct values
Solution: Use RANSAC to reject outliers before reconstruction or refinement
What is RANSAC and how does it work?
RANSAC (RANdom SAmple Consensus) : Find a model even when some observations are incorrect
Steps:
Randomly select the minimum number of observations
Fit a model using that sample
Count the inliers that agree with the model
Repeat using different random samples
Choose the model with the most inliers
→ A correct model should agree with many observations; Incorrect model usually agrees with only a few
What does the RANSAC line-fitting example demonstrate?
Imagine several points, that some do not belong to the main line
RANSAC works as follows:
Randomly choose two points
Draw a line through them
Count how many other points are close to the line
Repeat with different pairs
Keep the line supported by the most points
Lesson: RANSAC can find the correct line even when the dataset contains outliers

What is the minimal sample size s in RANSAC and how does it differ by model?
The minimal sample size (s) is the smallest number of observations needed to estimate the model
Why important? Smaller samples have a higher chance of containing only inliers, so RANSAC may need a fewer trials

How is the required number of RANSAC trials calculated?
The number of trials depends on how many outliers we expect and how confident we want to be
*form in pict
Remember:
More outliers → More trials
Larger samples → More trials
Higher confidence → More trials
In practice, round N up to the next whole number

How does the outlier ratio affect the number of RANSAC trials?
The lecture assumes 99% confidence and s=2
meaning: With 10% outliers, about 3 trials are enough
, With 70% outliers, about 49 trials are needed
More incorrect data means RANSAC must try more samples to find a clean one

How does RANSAC decide whether an observation is an inlier?
RANSEC check how far an observation is from the estimated motel
Small error: Classified as an inlier
Large error: Classified as an outlier
t2=3.84σ2
where:
t: Error threshold
σ: Standard deviation of measurement noise
Under the slide’s assumed Gaussian error model, this threshold keeps about 95% of correct observations
→ The threshold decides which observations are considered reliable
How is RANSAC applied specifically to robust triangulation?
In multi-view triangulation, some image matches may be incorrect
Steps:
Randomly select 2 views observing the same point
Triangulate a candidate 3-D point using DLT + SVD
Reproject that point into all available views
Measure reprojection errors for each view
Count inliers whose errors are below the threshold
Repeat and keep the candidate with the most inliers
Result: A more reliable 3-D point because incorrect observations has less influence
What is the Huber loss and why is it useful?
Huber loss is a method for reducing the effect of large errors during optimisation
It behaves differently depending on the error size:
Small errors: Use squared error
Large errors: Grows linearly instead of quadratically
Why useful?
With ordinary squared error, one very large error can dominate the optimisation
Huber loss reduces this effect, making bundle adjustment more robust to remaining outliers
What is the difference between RANSAC and robust lost functions?
RANSAC:
Use a hard threshold
Classifies observations as inliers or outliers
reject observations that do not fit the model
Robust loss(Huber):
Reduce the influence of large errors
Does not necessarily remove observations completely
Is commonly used during bundle adjustment
Typical workflow:
RANSAC → Bundle Adjustment with Huber loss
Remember: RANSAC filters bad matches; Robust loss reduces the effect of remaining errors
How do we calculate depth from a triangulated 3-D point?
After triangulation, we have 3-D points in world coordinates
First, convert it into camera coordinates:
Xc=RXw+T
where:
Xw: Point in world coordinates
R,T: Camera rotation and translation
Xc: Point in camera coordinates
Then, take the z-coordinate of Xc:
Depth=Zc
Key idea: The camera-coordinate Z-value tells us the point’s depth
What is the complete classical 3-D reconstruction pipeline?
The complete process is:
Feature matching: Find corresponding pixels across images
Camera estimation: Obtain the camera parameters and relative geometry
RANSAC: Reject incorrect correspondences
Linear triangulation: Estimate 3-D points using DLT + SVD
Bundle adjustment: Refine the 3-D points and camera parameters together
Depth estimation: Read the Z-coordinate of each point in the camera coordinate system
Remember:
Match → Estimate cameras → Remove outliers → Triangulate → Refine → Recover depth
What are VGGSfM, DUSt3R, and MASt3R, and how do they change classical triangulation?
These methods use deep learning to simplify or improve traditional 3D reconstruction.
1. VGGSfM (CVPR 2024)
Makes the SfM pipeline differentiable, so its stages can be trained together.
Uses a deep point tracker instead of traditional pairwise matching.
Estimates cameras jointly and performs triangulation and refinement in the same system.
2. DUSt3R (CVPR 2024)
Takes two uncalibrated images.
Directly predicts a dense 3D point map using a transformer.
Does not require explicit camera calibration, feature matching, or DLT triangulation beforehand.
3. MASt3R (ECCV 2024)
Builds on DUSt3R.
Adds dense, pixel-accurate matching.
MASt3R-SfM extends the approach to reconstruct scenes from many images.
Main difference: Classical methods solve geometry step by step, while learned methods can predict 3D structure directly or combine multiple stages into one trainable system.
What is VGGT, and how does it compare with classical SfM and earlier learned methods?
VGGT (CVPR 2025 Best Paper) is a transformer that reconstructs 3D information from one to hundreds of images.
In a single forward pass, it predicts:
Camera parameters
Depth maps
3D point maps
Point tracks
Compared with DUSt3R and MASt3R:
Earlier methods mainly process image pairs.
VGGT processes many views together, avoiding a separate pairwise-alignment stage.
Compared with classical SfM:
Classical SfM uses separate matching, triangulation, and bundle adjustment stages.
VGGT predicts the reconstruction directly and can be much faster.
Important: Learned methods are fast, but classical geometric refinement can still improve their accuracy.