[CV] 4. Camera Calibration pt1

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/74

encourage image

There's no tags or description

Looks like no tags are added yet.

75 Terms

1
New cards

What is camera calibration, and what is its main goal?

  • Camera Calibration: process of determining the camera’s intrinsic parameters (K) and extrinsic parameters (R,T) including lens distortion

  • Main goal: to understand how a 3D world point becomes a 2D image pixel , allowing accurate reasoning about the 3D world


2
New cards

What is the difference between intrinsic and extrinsic camera parameters?

Intrinsic parameters (K)→ describe the camera itself

  • Focal length

  • Principal point

  • Skew


Extrinsic parameters (R,T) → describe the camera’s pose:

  • R: rotation/orientation

  • T: translation/position-related parameter


→ Intrinsics = inside camera

→ Extrinsics = camera relative to world


3
New cards

Why must camera calibration be performed before multi-view geometry?

Multi-view geometry uses multiple images to:

  • Reconstruct the 3D coordinates of points

  • Estimate the relative poses of cameras from correspondences


→ these tasks require camera parameters (K,R,T) to be known or estimated

→ Calibration provides these parameters so that 3D reconstruction can be performed accurately


<p>Multi-view geometry uses multiple images to:</p><ul><li><p><strong>Rec</strong>onstruct the 3D coordinates of points</p></li><li><p><strong>Est</strong>imate the relative poses of cameras from correspondences</p></li></ul><p></p><p>→ these tasks require camera parameters (<strong>K,R,T</strong>) to be known or estimated </p><p>→ <strong>Cal</strong>ibration provides these parameters so that 3D reconstruction can be performed accurately </p><p></p>
4
New cards

How is a camera calibrated using a known target?

  • The basic calibration procedure is:

    1. Prepare a target with known 3D geometry, such as checkerboard

    2. Capture images from different positions and orientations

    3. Detect the checkerboard corners in each image

    4. Match the known 3D corner positions with observed 2D pixels

    5. Solve for K,R,T using these 3D-2D correspondences



<ul><li><p>The basic <strong>ca</strong>libration procedure is:</p><ol><li><p><strong>Pre</strong>pare a target with known 3D geometry, such as <strong>checkerboard</strong></p></li><li><p><strong>Cap</strong>ture images from different positions and orientations </p></li><li><p><strong>Det</strong>ect the checkerboard corners in each image</p></li><li><p><strong>Mat</strong>ch the known 3D corner positions with observed 2D pixels</p></li><li><p><strong>Sol</strong>ve for<strong> K,R,T</strong> using these 3D-2D correspondences</p><p></p></li></ol></li></ul><p></p>
5
New cards

What is the mathematical equation for camera calibration?

The perspective projection equation is:

*form in pict


  • Goal: recover K,R,T from known 3D-2D correspondences

  • The lecture ignore lens distortion in this equation


<p>The <strong>pers</strong>pective projection equation is:</p><p>*form in pict</p><p></p><ul><li><p><strong>Goal</strong>: recover <strong>K,R,T</strong> from known 3D-2D correspondences </p></li><li><p>The lecture <strong>ignore lens distortion</strong> in this equation </p></li></ul><p></p>
6
New cards

What are the 2 main classical camera calibration methods?

  1. Tsai’s Method (1987)

    • uses 3D calibration object

    • Require non-coplanar 3D control points

  2. Zhang’s Method (2000)

    • uses planar grid, such as checkerboard

    • require multiple views from different angles

    • Uses widely in MATLAB and OpenCV

=> Difference: Tsai = 3D object ; Zhang = 2D planar target


7
New cards
<p><strong>What is Tsai’s calibration method, and what does it require?</strong></p>

What is Tsai’s calibration method, and what does it require?

  • Tsai’s method: calibrates camera using 3D object with at least 6 known control points

  • It assumes:

    • 3D coordinates are known from the object’s measured geometry

    • 2D coordinates are obtained through image processing, such as corner detction

  • The points must be sufficiently distributed in 3D space


<ul><li><p><strong>Tsai’s</strong> method: calibrates camera using <strong>3D object</strong> with at least<strong> 6 known control points</strong></p></li><li><p>It assumes:</p><ul><li><p><strong>3D coordinates</strong> are known from the object’s measured geometry</p></li><li><p><strong>2D coordinates</strong> are obtained through image processing, such as <strong>corner detction</strong></p></li></ul></li><li><p>The points must be sufficiently distributed in <strong>3D space</strong></p></li></ul><p></p>
8
New cards

What is the Direct Linear Transform(DLT) and why is it used?

DLT(Direct Linear Transform) : converts the perspective projection equation into a homogeneous linear system

  • instead of solving K,R,T seperately, it first combines them into:

    M = K[R|T]

    where M is 3×4 projection matrix

  • Advantage: the unknowns can be solved using linear algebra, without requiring iterative optimization initially



<p><strong>DLT(Direct Linear Transform) :</strong> converts the perspective projection equation into a <strong>homogeneous linear system</strong></p><ul><li><p>instead of solving <strong>K,R,T </strong>seperately, it first combines them into:</p><p>M = K[R|T]</p><p>where <strong>M is 3×4 projection matrix</strong></p></li><li><p><strong>Advantage:</strong> the unknowns can be solved using linear algebra, without requiring iterative optimization initially </p></li></ul><p></p><p></p>
9
New cards

How does DLT convert the projection equation into a linear system?

*form in pict

  • start from here, for every known 3D-2D correspondence, eliminate the unknown scale ‘lambda’

  • Each correspondence produces 2 independent linear equations

  • Combining all n correspondences gives:

    Qm = 0

    where:

    • Q: known 2n x 12 matrix

    • m: vector containing the 12 unknown entries of M



<p>*form in pict</p><ul><li><p>start from here, for every known <strong>3D-2D correspondence</strong>, eliminate the unknown scale ‘lambda’</p></li><li><p>Each correspondence produces <strong>2 independent linear equations </strong></p></li><li><p>Combining all n correspondences gives:</p><p><strong>Qm = 0</strong></p><p>where:</p><ul><li><p><strong>Q</strong>: known 2n x 12 matrix</p></li><li><p><strong>m</strong>: vector containing the 12 unknown entries of M</p></li></ul><p></p></li></ul><p></p>
10
New cards

Why does DLT require at least 6 point correspondences ?

  • Matrix M has 12 entries, but because it is defined up to scale, only 11 independent degrees of freedom remain

  • Each correspondence gives 2 equations:

    *form in pict

  • Important: The DLT system must have rank 11 to obtain a unique solution up to scale


<ul><li><p>Matrix <strong>M</strong> has <strong>12 entries,</strong> but because it is defined up to scale, only <strong>11 independent degrees of freedom </strong>remain</p></li><li><p>Each correspondence <strong>gives 2 equations:</strong></p><p>*form in pict</p></li><li><p><strong>Important</strong>: The DLT system must have <strong>rank 11 </strong>to obtain a unique solution up to scale </p></li></ul><p></p>
11
New cards

What is the difference between minimal and overdetermined DLT solutions?

Minimal solution:

  • Use at least 6 correspondences

  • Require the appropriate rank condition

  • More sensitive to measurement noise


Overdetermined solution:

  • Use more than the minimum number of correspondences

  • Find at least-squares solution

  • Generally produce a more reliable estimate


=> Recommendation: Use many points, ideally more than 20


12
New cards

How does Singular Value Decomposition (SVD) solve DLT?

  • SVD solve the homogeneous system: Qm=0

    By minimising:

    ||Qm||² subject to ||m|| = 1

  • The constraint prevents the trivial solution m=0

  • The solution is the right singular vector corresponding to the smallest singular value of Q, equivalently the eigenvector of Q^TQ with the smallest eigenvalue

  • MATLAB:

    [U,S,V] = svd(Q);

    M = V(:,12);

  • Here, M is the vector of projection-matrix entries before re-shaping


<ul><li><p><strong>SVD</strong> solve the homogeneous system: Qm=0</p><p>By minimising:</p><p><strong><em>||Qm||² subject to ||m|| = 1</em></strong></p></li><li><p>The constraint prevents the trivial solution <strong>m=0</strong></p></li><li><p>The solution is the <strong>right singular vector corresponding to the smallest singular value of Q</strong>, equivalently the eigenvector of <strong><em>Q^TQ</em></strong> with the smallest eigenvalue</p></li><li><p>MATLAB:</p><p>[U,S,V] = svd(Q);</p><p>M = V(:,12);</p></li><li><p>Here, <strong>M</strong> is the vector of projection-matrix entries before re-shaping</p></li></ul><p></p>
13
New cards

What are degenerate configurations in DLT?

  • Degenerate configurations are arrangement of 3D points that do not provide enough independent information to uniquely recover the camera matrix

  • 2 cases:

    1. Coplanar/ Poorly distributed points

      • Points lie on a plane or a single line through the projection centre

      • The linear system becomes rank deficient

    2. Twisted cubic

      • The camera and point lie on a special 3D cubic curve

      • Polynomial relationships cause ambiguity

  • Remember: Points should be non-coplanar and well distributed.


<ul><li><p><strong>Degenerate configurations</strong> are arrangement of 3D points that do not provide enough independent information to uniquely recover the camera matrix </p></li><li><p>2 cases:</p><ol><li><p><strong>Coplanar/ Poorly distributed points</strong></p><ul><li><p>Points lie on a <strong>plane</strong> or a single line through the projection centre</p></li><li><p>The linear system becomes <strong>rank deficient</strong></p></li></ul></li><li><p><strong>Twisted cubic</strong></p><ul><li><p>The camera and point lie on a special <strong>3D cubic curve</strong></p></li><li><p>Polynomial relationships cause ambiguity</p></li></ul></li></ol></li><li><p><strong>Remember</strong>: Points should be <strong>non-coplanar and well distributed.</strong></p></li></ul><p></p>
14
New cards

How can K,R,T be recovered after estimating M?

  • Since: M= K[R|T]

    we must decompose M into:

    • K: Upper triangular intrinsic matrix

    • R: Orthogonal rotation matrix

    • T: Translation vector

  • Lecture describe using QR-based matrix factorisation

  • Simply splitting M into blocks is insufficient because R must satisfy:

    RR^ T = I

  • Matrix decomposition must preserve the properties of a valid rotation matrix


<ul><li><p>Since: M= K[R|T]</p><p>we must <strong>decompose M</strong> into:</p><ul><li><p><strong>K</strong>: Upper triangular intrinsic matrix</p></li><li><p><strong>R</strong>: Orthogonal rotation matrix</p></li><li><p><strong>T</strong>: Translation vector</p></li></ul></li><li><p>Lecture describe using <strong>QR-based matrix factorisation</strong></p></li><li><p>Simply splitting M into blocks is insufficient because <strong>R must satisfy: </strong></p><p><em>RR^ T = I</em></p></li><li><p>Matrix decomposition must preserve the properties of a valid rotation matrix </p></li></ul><p></p>
15
New cards
<p><strong>What do the parameters in Tsai’s calibration results represent?</strong></p>

What do the parameters in Tsai’s calibration results represent?

The example on slide 14 reports:

  • Important details:

    • Corners can be detected with subpixel accuracy, typically better than 0.1 pixels

    • For square, unskewed pixels, we may enforce (alpha_u = alpha_v) and K_12=0 during nonlinear refinement



<p>The example on <strong>slide 14 </strong>reports:</p><ul><li><p><strong>Important</strong> details:</p><ul><li><p>Corners can be detected with subpixel accuracy, typically better than <strong>0.1 pixels </strong></p></li><li><p>For square, unskewed pixels, we may enforce<strong> (alpha_u = alpha_v) and K_12=0</strong> during nonlinear refinement </p><p></p></li></ul></li></ul><p></p>
16
New cards
<p><strong>What is reprojection error and why is it important?</strong></p>

What is reprojection error and why is it important?

Reprojection error measures the Euclidean distance in pixels between:

  • The observed 2D image point, and

  • The predicted 2D points obtained by projecting its known 3D point using estimated camera parameters

*form in pict

→ Smaller error = More accurate calibration, ideally zero


<p><strong>Rep</strong>rojection error measures the <strong>Euclidean distance in pixels</strong> between:</p><ul><li><p>The <strong>observed 2D image point</strong>, and</p></li><li><p>The <strong>predicted 2D points</strong> obtained by projecting its known 3D point using estimated camera parameters </p></li></ul><p>*form in pict</p><p>→ <strong>Smaller error = More accurate calibration</strong>, ideally zero </p><p></p>
17
New cards

What are the 3 main causes of reprojection error?

  1. Lens distortion → The linear DLT model initially ignores distortion

  2. Corner detection errors → Observed image points are not perfectly accurate

  3. Limitations of linear least squares → DLT minimise algebraic error, not the true geometric reprojection error, and is sensitive to noise


<ol><li><p><strong>Lens distortion </strong>→ The linear DLT model initially <strong>ignores distortion</strong></p></li><li><p><strong>Corner detection errors</strong> → Observed image points are not <strong>perfectly accurate</strong></p></li><li><p><strong>Limitations of linear least squares </strong>→ DLT minimise <strong>algebraic error, </strong>not the true geometric reprojection error, and is sensitive to noise </p></li></ol><p></p>
18
New cards
<p><strong>What is nonlinear calibration refinement and why is it necessary? </strong></p>

What is nonlinear calibration refinement and why is it necessary?

  • Non-linear refinement: improves the initial DLT estimate by directly minimising geometric reprojection error

  • It optimise:

    • K: Intrinsics

    • R, T: Extrinsics

    • Lens distortion parameters, initially set to 0

  • The objective is

*form in pict

  • Purpose: Made predicted 2D points align as closely as possible with observed points


<ul><li><p><strong>Non</strong>-linear refinement: improves the initial DLT estimate by directly minimising <strong>geometric reprojection error </strong></p></li><li><p>It optimise:</p><ul><li><p><strong>K</strong>: Intrinsics</p></li><li><p><strong>R</strong>, T: Extrinsics </p></li><li><p><strong>Lens distortion parameters</strong>, initially set to 0 </p></li></ul></li><li><p>The objective is</p></li></ul><p>*form in pict</p><ul><li><p><strong>Purpose</strong>: Made predicted 2D points align as closely as possible with observed points</p></li></ul><p></p>
19
New cards

Which algorithm is commonly used for non-linear refinement?

Levenberg-Marquardt(LM) → to solve nonlinear least-squares problem

  • according to the lecture, it is more robust than Gauss-Newton against local minima

  • After refinement:

    • Observed points(blue)

    • Reprojected points(red)

  • Should nearly overlap, indicating a small reprojection error


20
New cards

Why was Zhang’s calibration method was introduced?

  • Tsai’s method requires a carefully constructed 3D calibration object with non-coplanar points

    → inconvenient outside laboratory

  • Zhang’s instead use:

    • a simple planar checkerboard

    • Multiple images taken from different orientations

    → easier and more practical and became the standard approach in tools such as MATLAB mad OpenCV


<ul><li><p><strong>Tsai’s</strong> method requires a carefully constructed<strong> 3D calibration object</strong> with non-coplanar points</p><p>→ <strong>inconvenient outside laboratory </strong></p></li><li><p><strong>Zha</strong>ng’s instead use:</p><ul><li><p>a simple <strong>planar checkerboard </strong></p></li><li><p>Multiple images taken from <strong>different orientations </strong></p></li></ul><p>→ <strong>easier and more practical </strong>and became the standard approach in tools such as <strong>MATLAB mad OpenCV</strong></p></li></ul><p></p>
21
New cards

What is the key assumption of Zhang’s?

  • All control points lie on a single plane

  • Therefore, in plane’s world coordinate sytem:

    Z_w = 0

  • Substituting this into the perspective projection equation eliminates the 3rd column of R → reducing the projection matrix from 3×4 to 3×3


<ul><li><p>All control points lie on a single plane</p></li><li><p>Therefore, in plane’s world coordinate sytem:</p><p>Z_w = 0</p></li><li><p>Substituting this into the perspective projection equation eliminates the <strong>3rd column of R </strong>→ reducing the projection matrix from <strong>3×4 to 3×3</strong></p></li></ul><p></p>
22
New cards

What is homography H in Zhang’s method?

  • a homography is a 3×3 matrix that maps points from one plane to another through a projective transformation

  • In Zhang’s:

    *form in pict


<ul><li><p>a <strong>hom</strong>ography is a <strong>3×3 matrix</strong> that maps points from one plane to another through a <strong>projective transformation</strong></p></li><li><p>In Zhang’s:</p><p>*form in pict</p></li></ul><p></p>
23
New cards

How does Zhang’s estimate homography H?

It use the same DLT principle as Tsai’s method

  • but now:

    • H has 9 entries instead of 12

    • Each correspondence provides 2 equations

  • The system becomes:

    Qh = 0

    where Q has size 2n x 9

  • The homography is estimated using SVD


24
New cards

Why does estimating homography require at least 4 points?

  • a 3×3 homography has 9 entries but only 8 degrees of freedom bcs it is defined up to scale

  • Each correspondence gives 2 equations

    *form in pict

  • The 4 points must be non-collinear and Q must have rank 8


<ul><li><p>a <strong>3×3 homography</strong> has 9 entries but only 8 degrees of freedom bcs it is defined up to scale</p></li><li><p>Each correspondence gives <strong>2 equations </strong></p><p>*form in pict</p></li><li><p>The <strong>4 points must be non-collinear</strong> and Q must have <strong>rank 8</strong></p></li></ul><p></p>
25
New cards

Why does Zhang’s require multiple images?

  • A single planar view does not provide enough information to uniquely determine the camera’s intrinsic matrix K

  • Each view produce its own:

    • homography H_j

    • Rotation R_j

    • Translation T_j

  • But all views of the same camera share one intrinsic matrix K

  • Using this shared K allows the parameters to be recovered

  • Minimum: at least 2 views

  • Recommended: 20-50 views covering the camera’s full field of view


26
New cards

How are K,R,T recovered from multiple homographies?

For each image:

*form in pict

  1. Estimate a homography H_j for each view

  2. Use constraint from multiple homographies to recover the shared K

  3. Recover the individual R_j, T_j for each image


<p>For each image:</p><p>*form in pict</p><ol><li><p>Estimate a homography H_j for each view</p></li><li><p>Use constraint from multiple homographies to recover the <strong>shared K</strong></p></li><li><p>Recover the individual R_j, T_j for each image</p></li></ol><p></p>
27
New cards
<p><strong>What is the hierarchy of 2D transformations?</strong></p>

What is the hierarchy of 2D transformations?

Each successive transformation allows more general geometric changes:

  • Translation: Movement only

  • Rigid: Translation and rotation

  • Similarity: rigid transformation and uniform scaling

  • Affine: Also allows shear and nonuniform scaling; preserves parallel lines

  • Projective: Most general; preserves straight lines, but not necessarily parallelism


<p>Each successive transformation allows more general geometric changes:</p><ul><li><p><strong>Translation</strong>: Movement only</p></li><li><p><strong>Rigid</strong>: Translation and rotation</p></li><li><p><strong>Similarity</strong>: rigid transformation and uniform scaling</p></li><li><p><strong>Affine</strong>: Also allows shear and nonuniform scaling; preserves parallel lines</p></li><li><p><strong>Projective</strong>: Most general; preserves straight lines, but not necessarily parallelism </p></li></ul><p></p>
28
New cards

Why is a homography considered a projective transformation?

A homography is the most general 2D projective transformation in this hierarchy

It:

  • Maps one plane to another

  • Is represented by 3×3 matrix

  • Has 8 degrees of freedom

  • Preserve straight lines, but not necessarily parallelism

It explains how a rectangular checkerboard can appear a trapezoidal when viewed from an angle


29
New cards

What are the main differences between Tsai’s and Zhang’s calibration method?

  • remember: Both rely on known 3D-2D correspondences and linear estimation followed by refinement


<ul><li><p>remember: Both rely on <strong>known 3D-2D correspondences</strong> and linear estimation followed by refinement </p></li></ul><p></p>
30
New cards

Why can’t Tsai’s 3D DLT simply use a planar checkerboard?

  • with all 3D points on one plane, the full 3×4 projection matrix M cannot be uniquely recovered using the general 3D DLT formulation

    → This is a degenerate configuration

  • Zhang’s Handles this by using Z_w=0 to reduce the problem to a 3×3 homography H , then combining information from multiple views


31
New cards

What is the difference between algebraic error and geometric reprojection error?

Algebraic error:

  • Residue of the linear system Qm=0

  • Minimise by DLT/SVD

  • Does not directly measure pixel displacement


Geometric reprojection error:

  • Distance between observed and predicted pixels

  • Measured in pixels

  • Minimised during non-linear refinement


→ A solution with low algebraic error may still have noticeable geometric error


32
New cards

Why is nonlinear refinement performed after linear DLT instead of using DLT alone?

DLT provide convenient initial estimate, but it:

  • Ignores lens distortion initially

  • Is sensitive to measurement noise

  • Minimise algebraic rather than geometric error


Non-linear refinement improves the estimate by directly minimising reprojection error, while also allowing lens distortion and camera constraints to be considered


33
New cards

Why are more calibration points and multiple viewing angles beneficial?

  • More correspondence help reduce the influence of measurement noise and improve the reliability of the parameter estimate

  • Different viewing angles provide additional geometric constraints

    • Tsai: more than 20 non-coplanar points

    • Zhang: 20-50 views covering the full field of view


34
New cards

If calibration produces a small reprojection error, what does that indicate?

  • A small reprojection error means the estimated camera parameters predict image-point positions that are close to the observed points.

  • It indicates a good fit to the calibration observations.

  • However, because of noise, lens distortion, and detection inaccuracies, the error is usually not exactly zero.


35
New cards

Explain the complete classical camera calibration workflow.

1. Prepare a calibration target with known geometry.

↓

2. Capture images and detect control points.

↓

3. Establish known 3D–2D correspondences.

↓

4. Estimate the projection matrix using DLT + SVD.

  • Tsai: Estimate M.

  • Zhang: Estimate homographies H.

↓

5. Recover intrinsic and extrinsic parameters K, R, T.

↓

6. Refine parameters using nonlinear least squares, including lens distortion.

↓

7. Evaluate calibration accuracy using reprojection error.

36
New cards

What is Camera Localization (PnP), and what is its goal?

PnP: Perspective-n- Point

→ determines the camera’s 6 degrees of freedom (6-DoF) pose using 3D-2D point correspondences

→ PnP assumes the camera is already calibrated, so the intrinsic matrix K is known


Goal is to recover:

  • R: camera rotation/orientation (3 DoF)

  • T: camera translation/position-related parameter (3 DoF)




<p><strong>PnP: Perspective-n- Point</strong></p><p>→ determines the camera’s 6 degrees of freedom (6-DoF) pose using <strong>3D-2D point correspondences</strong></p><p>→ PnP assumes the camera is <strong>already calibrated</strong>, so the intrinsic matrix <strong>K is known</strong></p><p></p><p><strong>Goal</strong> is to recover:</p><ul><li><p><strong>R</strong>: camera rotation/orientation (<strong>3 DoF</strong>)</p></li><li><p><strong>T</strong>: camera translation/position-related parameter (<strong>3 DoF</strong>)</p></li></ul><p></p><p></p><p></p>
37
New cards

What is the difference between camera calibration and camera localization?

Camera Calibration:

  • Determines K,R,T and lens distortion

  • Use known calibration targets

  • Establishes the camera’s imaging parameters


Camera Localization (PnP):

  • Assumes K is alr known

  • Estimates only R,T

  • Determines the camera’s pose relative to the world


=> Calibration determines camera parameters; PnP determines where the calibrated camera is and how it is oriented


38
New cards

Why are specialized PnP algorithms preferred over DLT?

  • DLT can estimate camera projection matrix, but not directly exploit the fact that K is alr known

  • Specialized PnP methods use this info to estimate only R and T

  • This generally improves:

    • Accuracy

    • Computational efficiency

    • Robustness

  • e.g: P3P, AP3P, EPnP


39
New cards

How many 3D–2D correspondences are needed to determine a camera's pose?

More correspondences reduce ambiguity in the camera's position and orientation.

<p><span>More correspondences reduce <strong>ambiguity</strong> in the camera's position and orientation.</span></p>
40
New cards
<p><strong>Why does 3D-2D correspondences produce infinitely many camera poses?</strong></p>

Why does 3D-2D correspondences produce infinitely many camera poses?

  • 1 correspondence tell us known 3D point must project to a particular 2D pixel

  • However this alone does not determine the camera’s position and orientation

  • So, there are infinitely many camera configurations consistent with this observation

    → 1 point provides too little geometri information to uniquely locate the camera


<ul><li><p>1 correspondence tell us known <strong>3D point</strong> must project to a particular <strong>2D pixel</strong></p></li><li><p>However this alone does not determine the camera’s <strong>position and orientation </strong></p></li><li><p>So, there are infinitely many camera configurations consistent with this observation </p><p>→ 1 point provides <strong>too little geometri information</strong> to uniquely locate the camera </p></li></ul><p></p>
41
New cards
<p><strong>Why do 2 correcpondences still produce infinitely many solutions?</strong></p>

Why do 2 correcpondences still produce infinitely many solutions?

  • with 2 known 3D points A and B, the camera must observe them under a particular angle ‘theta’

  • This constrains the possible camera centers

  • Inscribed angle theorem:

    • candidate senters lie on a circular locus in the illustrated plane

    • Infinitely many candidates remain

→ 2 points provide more contraints than 1, but still cannot uniquely determine the camera pose


<ul><li><p>with 2 known <strong>3D points A and B</strong>, the camera must observe them under a particular <strong>angle ‘theta’</strong></p></li><li><p>This constrains the possible camera centers</p></li><li><p><strong>Inscribed angle theorem: </strong></p><ul><li><p>candidate senters lie on a <strong>circular locus in the illustrated plane</strong></p></li><li><p>Infinitely many candidates remain</p></li></ul></li></ul><p>→ 2 points provide more contraints than 1, but still cannot uniquely determine the camera pose</p><p></p>
42
New cards

What is the insribed angle theorem, and how is it related to PnP?

Inscribed angle theorem: points on the same circular arc subtend the same angle btw 2 fixed endpoints

2-points PnP illustration:

  • A and B are fixed 3D points

  • The camera observes them at angle ‘theta’

  • Multiple camera centers can satisfy that angle

→ so, 2 correspondences are insufficient to uniquely recover the camera pose


43
New cards

What is the P3P problem?

P3P = Perspective-Three-Point

→ estimates the camera’s pose using 3 non-collinear 3D-2D correspondences, assuming K is known

→ However, P3P can produce up to 4 valid camera poses

→ 4th point can be used to select the correct solution

44
New cards

What information is known and unknown in P3P?

Known:

  • The 3D positions of points A,B,C

  • Their corresponding 2D image points

  • The camera’s intrinsic matrix K

  • The angles btw viewing rays, derived from the image points and K


Unknown!

  • Distance L_A, L_B, L_C from the camera center o the 3 points

  • Camera pose R and T


45
New cards

How does Carnot’s theorem (law of cosines) help solve P3P?

Carnot’s theorem relates the sides and angles of a triangle

For points A and B:

*form in pict

These give 3 equations with 3 unknown distances: L_A, L_B, L_C

→ equations help recover the camera’s pose

<p><strong>Car</strong>not’s theorem relates the sides and angles of a triangle</p><p>For points A and B:</p><p>*form in pict</p><p>These give <strong>3 equations with 3 unknown distances</strong>: L_A, L_B, L_C</p><p>→ equations help recover the camera’s pose</p>
46
New cards

Why can P3P have up to 4 valid solutions?

  • P3P produces 3 quadratic equations with 3 unknown distances

  • Using the algebraic bound: 2×2×2=8

  • The system solutions occur in positive/negative pairs

  • Because physical distances must be positive, the maximum number of physically valid solutions is:

    8/2=4

    → therefore, P3P can have up to 4 camera-oose solutions


47
New cards

What is a quartic polynomial and why does it appear in P3P?

A quartic polynomial is a polynomial of degree 4

  • P3P equations can be simplifies by defining:

x = L_B/L_A

  • after algebraically eliminating the other unknowns:

    *form in pict

This quartic can have up to 4 roots, corresponding to candidate P3P solutions



<p>A <strong>quartic polynomial</strong> is a polynomial of degree 4</p><ul><li><p>P3P equations can be simplifies by defining:</p></li></ul><p><strong><em>x = L_B/L_A</em></strong></p><ul><li><p>after algebraically eliminating the other unknowns:</p><p>*form in pict</p></li></ul><p>This quartic can have <strong>up to 4 roots</strong>, corresponding to candidate P3P solutions</p><p></p><p></p>
48
New cards

How is the ambiguity between P3P solutions resolved?

Since 3 points can produce up to 4 candidate camera poses, a 4th correspondece can distinguish them

For each candidate pose:

  1. Project the 4th 3D point into the imgae

  2. Compare its predicted position with the observed 3D point

  3. Select the pse with the smallest reprojection error

    → this generally identifies correct R and T


49
New cards

What is Gao’s P3P algorithm?

Gao’s algorithm(2003) : provide a complete classification of the solutions to the P3P problem

It helps:

  • Solve the classical P3P equations

  • Classify the possible solutions

  • Recover camera rotation and translation

    → this is classical approach with OpenCV’s: ‘solvePnP_P3P’


50
New cards

How does the modern P3P approach differ from classical P3P?

Classical P3P:

  • Solves for the distances between camera and 3D points

  • Use those distances to recover the camera pose

Modern P3P:

  • Solves more directly for the cameras’ orientation and pose

  • Avoid relying primarily on intermediate distance recovery


→ The modern approach is generally faster, more accurate, and more numerically robust



51
New cards

What is AP3P and how does it work?

AP3P is a modern algebraic P3P algorithm associated eth Ke and Roumeliotis (2017) , following work by Kneip et al.(2011)


It works in 2 main steps:

  1. Algebraically eliminate camera position and point distances, leaving 3 equations involving orientation

  2. Eliminate 2 rotation unknowns, producing a quartic polynomial in the remaining unknown

→ This formulation is numerically better behaved, especially near singular configurations

OpenCV: ‘solvePnP_AP3P’


52
New cards

Why is AP3P is generally better than classical P3P?

AP3P improves:

  • Speed

  • Accuracy

  • Robustness near singular camera configurations

→ instead if first estimating camera-to-point distances, it works more directly with orientation constraints

→ this can reduce numerical difficulties in pose estimation


53
New cards

What is EPnP and why is it used?

EPnP = Efficient Perspective-n-Point

→ developed by Lepetit et al.(2009), it estimates camera poses from:

n» 4 known 3D-2D correspondences

  • it is designed to estimate R and T efficiently when the camera’s K is already known

  • OpenCV: ‘solvePnP_EPnP’


54
New cards

What is the key idea behind EPnP?

  • instead of solving directly for every 3D point, EPnP expresses all n world points as weighted combinations of only 4 virtual control points

  • The unknown become the coordinates of this 4 control points

  • This keeps the core problem fixed in size, regardless of the number of observed points


55
New cards

Why is EPnP computationally efficient?

  • EPnP reduces the problem to a fixed number of control-point unknowns and solve it using constant number of quartic polynomial equations

  • It’s competition complexity is: O(n)

    Where n is the number of point correspondences

  • Meaning: Computition grows approximately linearly with the number of points


56
New cards

What is the difference between P3P and EPnP?

  • P3P = minimal 3-point problem

  • EPnP = efficient multi-point solution


<ul><li><p><strong>P3P = minimal 3-point problem</strong></p></li><li><p><strong>EPnP = efficient multi-point solution </strong></p></li></ul><p></p>
57
New cards
<p><strong>What is monocular visual odometry?</strong></p>

What is monocular visual odometry?

Monocular visual odometry : Estimate moving cameras position and orientation overtime using a single camera

  • It used image observations and previously constructed 3D map to estimate camera motion

  • PnP is an important component because it localizes new frames using 3D-2D correspondences


58
New cards

How is PnP used in monocular visual odometry?

The process is:

1. Build an initial 3D point cloud from earlier keyframes using triangulation.

2. Detect and match features in a new frame.

3. Use PnP to estimate the new camera pose relative to the existing map.

4. Triangulate newly visible points to expand the map.

5. Repeat as the camera moves.

Advantage: Existing 3D points do not need to be triangulated again for every new frame.

59
New cards
<p><span><strong>What is SLAM, and how is it related to PnP?</strong></span></p>

What is SLAM, and how is it related to PnP?

SLAM = Simultaneous Localization and Mapping.

  • A robot or device:

    • Builds a 3D map of an unknown environment.

    • Localizes itself within that map.

    • Performs both tasks simultaneously.

  • Camera calibration and PnP provide important geometric tools for SLAM.

  • Applications: Autonomous driving, robot vacuum cleaners, and robotics.


<p><span><strong>SLAM = Simultaneous Localization and Mapping</strong>.</span></p><ul><li><p><span>A robot or device:</span></p><ul><li><p><span><strong>Bui</strong>lds a 3D map of an unknown environment.</span></p></li><li><p><span><strong>Loc</strong>alizes itself within that map.</span></p></li><li><p><span>Performs both tasks <strong>simultaneously</strong>.</span></p></li></ul></li><li><p><span>Camera calibration and PnP provide important geometric tools for SLAM.</span></p></li><li><p><span><strong>Applications:</strong> Autonomous driving, robot vacuum cleaners, and robotics.</span></p></li></ul><p></p>
60
New cards

Why are PnP algorithms sensitive to outliers?

  • Outliers are incorrect 3D-2D correspondences, such as wrongly matched image features

  • Even a small # of incorrect matches can significantly distort the estimated camera poses

  • this affect algorithms such as:

    • DLT

    • P3P

    • EPnP

  • So, pose estimation needs method to identify and reject incorrect matches


61
New cards

What is RANSAC and why is it combined with PnP?

RANSAC = Random Sample Consensus

→ it robustly estimates a model even when some correspondences are incorrect

Basic process:

  1. Randomly select a minimal set of correspondences

  2. Estimate a candidate camera pose using a PnP solver

  3. Measure how many correspondences agree with that pose

  4. Repeat to find a model supported by many inliers

  5. Use the inliers to compute the final pose


OpenCV: ‘solvePnPRansac’

  • PnP estimates pose; RANSAC rejects outliers


62
New cards

How do EPnP and DLT compare in accuracy under image noise?

  • The lecture’s experimental comparison shows that EPnP can be up to 10 times more accurate than DLT

  • As Gaussian image noise increases:

    • DLT generally produces larger rotation and translation errors

    • EPnP remains comparatively more accurate

→ EPnP exploits the known camera intrinsics and is designed specifically for pose estimation

<ul><li><p>The lecture’s experimental comparison shows that <strong>EPnP can be up to 10 times more accurate than DLT</strong></p></li><li><p>As Gaussian image noise increases:</p><ul><li><p><strong>DLT</strong> generally produces larger rotation and translation errors</p></li><li><p><strong>EPnP</strong> remains comparatively more accurate</p></li></ul></li></ul><p>→ EPnP exploits the known camera intrinsics and is designed specifically for pose estimation</p>
63
New cards

How does number of correspondences affect EPnP and DLT accuracy?

  • as the number of correspondence is increased, pose estimation generally becomes more accurate

  • However, the graphs showed that:

    • DLT can retain relatively large errors

    • EPnP generally achieve lower errors

    • EPnP with non-linear refinement can improve accuracy further

→ More points help, but the choice of algorithms also matter


<ul><li><p>as the number of correspondence is increased, pose estimation generally becomes <strong>more accurate </strong></p></li><li><p>However, the graphs showed that:</p><ul><li><p><strong>DLT</strong> can retain relatively large errors</p></li><li><p><strong>EPnP</strong> generally achieve lower errors</p></li><li><p><strong>EPnP with non-linear refinement</strong> can improve accuracy further </p></li></ul></li></ul><p>→ More points help, but the <strong>choice of algorithms also matter </strong></p><p></p>
64
New cards

How do EPnP and DLT compare in computation time?

  • EPnP is more computationally efficient than general-purpose DLT in the tested settings

  • EPnP has: O(n) complexity

  • This makes it useful for applications that repeatedly estimate camera poses from many correspondences such as visual odometry and SLAM


<ul><li><p><strong>EPnP is more computationally efficient</strong> than general-purpose DLT in the tested settings</p></li><li><p>EPnP has: <strong><em>O(n) complexity</em></strong></p></li><li><p>This makes it useful for applications that repeatedly estimate camera poses from many correspondences such as <strong>visual odometry and SLAM </strong></p></li></ul><p></p>
65
New cards

When we should use DLT,P3P, or EPnP?

DLT:

  • Useful for general camera matrix estimation

  • Can be used when K is unknown

  • Full 3-D DLT requires at least 6 suitable non-coplanar correspondences

P3P:

  • K is known

  • Use 3 non-collinear correspondences

  • May produce up to 4 candidate poses, resolved using an additional points

EPnP:

  • K is known

  • Use 4 or more correspondences

  • Efficient for larger sets of points

→ All methods can benefit from non-linear reprojection error refinement


66
New cards

How is camera calibration used in small multi-camera systems?

  • Small multi-camera systems can use several cameras, such as Kinect cameras, to capture the same scene from different viewpoints.

  • The lecture shows a small rig built at Meta for quickly capturing multi-view data without requiring a full studio setup.

  • Calibration is important because the system needs consistent camera parameters to relate observations across the different cameras.


<ul><li><p><span>Small multi-camera systems can use several cameras, such as <strong>Kinect cameras</strong>, to capture the same scene from different viewpoints.</span></p></li><li><p><span>The lecture shows a small rig built at <strong>Meta</strong> for quickly capturing multi-view data without requiring a full studio setup.</span></p></li><li><p><span><strong>Cal</strong>ibration is important because the system needs consistent camera parameters to relate observations across the different cameras.</span></p></li></ul><p></p>
67
New cards

Why must large multi-camera systems be recalibrated regularly?

Large capture rigs, such as Meta's Mugsy system, may contain more than 100 cameras.

Changes in:

  • Temperature

  • Humidity

  • Lens alignment

  • Sensor mounting

can slightly change the cameras' parameters.

→ Therefore, the lecture describes recalibrating the cameras for each capture session to maintain accurate multi-view reconstruction.

<p><span>Large capture rigs, such as Meta's <strong>Mugsy system</strong>, may contain <strong>more than 100 cameras</strong>.</span></p><p><span>Changes in:</span></p><ul><li><p><span><strong>Tem</strong>perature</span></p></li><li><p><span><strong>Hum</strong>idity</span></p></li><li><p><span><strong>Len</strong>s alignment</span></p></li><li><p><span><strong>Sen</strong>sor mounting</span></p></li></ul><p><span>can slightly change the cameras' parameters.</span></p><p><span>→ Therefore, the lecture describes <strong>recalibrating the cameras for each capture session</strong> to maintain accurate multi-view reconstruction.</span></p>
68
New cards

What is learning-based camera calibration, and how does it differ from classical calibration?

Classical calibration:

  • Uses a known physical target, such as a checkerboard.

  • Estimates camera parameters using geometric equations.

Learning-based calibration:

  • Trains neural networks to predict camera parameters directly from ordinary images.

  • Can work without a physical calibration target.


The lecture references a 2023–2025 survey of more than 200 papers, covering pinhole, distortion, cross-view, and cross-sensor calibration.

69
New cards

What are AnyCalib and DiffCalib?

AnyCalib (2025)

  • Performs model-agnostic single-view calibration.

  • Generalizes across different camera and lens types.


DiffCalib (2025)

  • Uses a diffusion-model approach.

  • Generates a dense per-pixel incidence map.

  • Uses this map to recover focal length and lens distortion.


→ Both aim to make calibration possible without a traditional physical target.

70
New cards

What is an incidence map, and why is it useful?

  • An incidence map describes the direction of incoming viewing rays associated with image pixels.

  • In DiffCalib, a dense per-pixel incidence map provides geometric information from which camera properties such as focal length and distortion can be estimated.

  • Key idea: Instead of directly predicting only a few camera parameters, the model predicts a richer per-pixel geometric representation.


71
New cards

Why is calibration "in the wild" important?

  • In-the-wild calibration means estimating camera parameters from ordinary photos or videos captured without a planned calibration setup.

For example:

  • An internet photograph

  • An existing video

  • An image taken without a checkerboard

→ This is important because many real-world images have unknown camera parameters, and setting up a calibration target is impossible after capture.

72
New cards

What is DUSt3R, and how does it change traditional camera calibration?

  • DUSt3R is a learned 3D reconstruction approach that takes two uncalibrated images and directly predicts a dense 3D pointmap.

  • A pointmap assigns a 3D point to every image pixel in a shared coordinate frame.

  • Unlike the classical pipeline, DUSt3R does not require known K, R, T before predicting the scene geometry.


73
New cards

How does DUSt3R combine deep learning with classical PnP?

DUSt3R follows a different workflow:

1. A neural network predicts dense 3D geometry from uncalibrated images.

2. The resulting pointmap provides geometric correspondences.

3. Classical PnP solvers are used to recover camera poses as a final alignment step.

Key idea: Deep learning handles difficult 3D inference, while classical geometry provides precise camera alignment.

74
New cards

What is 3D Gaussian Splatting, and what is FreeSplatter?

  1. 3D Gaussian Splatting (3DGS) represents a 3D scene using many 3D Gaussian primitives, allowing fast, high-quality reconstruction and rendering.

Classic 3DGS:

- Assumes known, calibrated camera poses.


  1. FreeSplatter (ICCV 2025):

  • Uses sparse uncalibrated images.

  • Predicts both 3D Gaussians and camera parameters.

  • Works in a single feed-forward pass, within seconds.

  • Requires no calibration target or per-scene optimization.


→ Related pose-free methods jointly optimize scene geometry and camera poses using rendering quality as a learning signal.

75
New cards

What is the main difference between classical and learned camera calibration approaches?

Classical approaches — Tsai, Zhang, DLT, PnP:

  • Use explicit geometric relationships.

  • Provide interpretable, verifiable estimates.

  • Are preferred when high precision is required, such as robotics and AR/VR.


Learned approaches — AnyCalib, DiffCalib, DUSt3R, FreeSplatter:

  • Learn camera or 3D information from ordinary images.

  • Work when physical calibration targets are unavailable.

  • Can reconstruct scenes from uncalibrated images.


Modern trend: Combine both approaches.

  1. Deep learning → estimates complex scene information.

  2. Classical geometry → refines and verifies precise camera parameters.