Sse2 14 Calibration Zhang
Sse2 14 Calibration Zhang
Camera Calibration:
Zhang’s Method
Cyrill Stachniss
pixel trans- world
coordinate formation coordinate
control point
observed coordinates
image point c, s, m, (given)
xH, yH 3 translations
3 rotations
3 4
Zhang’s Method
Compute the 5 intrinsic parameters
Assumption:
You know how DLT works!
control point
observed
image point c, s, m,
xH, yH 3 translations
3 rotations
5 6
Camera Calibration
Zhang’s Method Using a 2D Checkerboard
for Camera Calibration
§ Observed 2D pattern (checkerboard)
Using a Checkerboard
§ Known size and structure
9 10
Simplification Simplification
§ The Z coordinate of each point on the § The Z coordinate of each point on the
checkerboard is equal to zero checkerboard is equal to zero
11 12
Simplification Simplification
§ The Z coordinate of each point on the § The Z coordinate of each point on the
checkerboard is equal to zero checkerboard is equal to zero
§ Deleting the 3rd column of the
extrinsic parameter matrix leads to
15 16
Setting Up the Equations for Setting Up the Equations for
Determining the Parameter Determining the Parameter
§ For multiple observed points on the § For multiple observed points on the
checkerboard (in the same image), checkerboard (in the same image),
we obtain we obtain
§ with § with
19 20
DLT-Like Estimation DLT-Like Estimation
§ Solving the system of linear equations § Solving the system of linear equations
leads to an estimate of leads to an estimate of
§ How many points are needed to § We need to identify at least 4 points
estimate ? as has 8 DoF and each point consists
of 2 observations (x and y)
21 22
27 28
Exploiting Constraints for Exploiting Constraints
Determining the Parameter
29 30
31 32
Exploiting Constraints Exploiting Constraints
33 34
§ Define symmetric and positive definite § Define symmetric and positive definite
matrix matrix
§ From B, the calibration matrix can be
recovered through Cholesky decomp.
35
If we know B, then we can compute K 36
Exploiting Constraints Next Step: Compute B
§ Define a vector
of unknowns
§ Define symmetric and positive definite
matrix
§ If we know B, we can compute K
§ Inspect equations above:
§ B consists of the unknowns
§ h are known
§ Two equations that relate B and h
37 38
with
39 40
The Matrix V Solving the Linear System
§ For multiple images, we stack the § The system has a trivial
matrices to a 2n x 6 matrix solution which (invalid matrix )
§ Impose additional constraint
image 1
image n
Non-Linear Parameters?
51 52
Literature Slide Information
§ Zhang, A Flexible New Technique for § The slides have been created by Cyrill Stachniss as part of the
photogrammetry and robotics courses.
Camera Calibration, MSR-TR-98-71 § I tried to acknowledge all people from whom I used
(uses a slightly different notation) images or videos. In case I made a mistake or missed
someone, please let me know.
§ Förstner & Wrobel, Photogrammetric § The photogrammetry material heavily relies on the very well
written lecture notes by Wolfgang Förstner and the
Computer Vision, Chapter 11.2 Photogrammetric Computer Vision book by Förstner & Wrobel.
§ Parts of the robotics material stems from the great
Probabilistic Robotics book by Thrun, Burgard and Fox.
§ If you are a university lecturer, feel free to use the course
material. If you adapt the course material, please make sure
that you keep the acknowledgements to others and please
acknowledge me as well. To satisfy my own curiosity, please
send me email notice if you use my slides.