SlideShare a Scribd company logo
Camera calibration technique
wprowadzenie teoretyczne
Krzysztof Wegner
Chair of Multimedia Telecommunications and Microelectronics
Poznań University of Technology, Poland
1
Goal of the calibration
 Knowledge about
 Intrinsic camera parameters
 Focal length
 Optical center
 Extrinsic camera parameters -
Position of the camera in 3D world
 Orientation of the camera
 Translation
2
Goal of the calibration
 Knowledge about
 Intrinsic camera parameters
 Focal length
 Optical center
 Extrinsic camera parameters -
Position of the camera in 3D world
 Orientation of the camera
 Translation
 Common word coordinate system
3
Camera parameters
 Intrinsic camera parameters
 Focal length
 Optical center
 Extrinsic camera parameters -
Position of the camera in 3D world
 Orientation of the camera
 Translation
4
𝑨 =
𝑓𝑢 𝛾 𝑜 𝑢
0 𝑓𝑣 𝑜 𝑣
0 0 1
𝑹 = 𝒓 𝟏 𝒓 𝟐 𝒓 𝟑
𝑻 =
𝑡 𝑥
𝑡 𝑦
𝑡 𝑧
Camera model
 Projection of a 3D point 𝑴 = 𝑋 𝑌 𝑍 1 𝑇
 Onto a point 𝒎 = 𝑢 𝑣 1 𝑇
at image plane
 s is a scale – distance to the point 𝑴
5
𝑠 ∙
𝑢
𝑣
1
= 𝐴 ∙ 𝑅 −𝑅 ∙ 𝑇 ∙
𝑋
𝑌
𝑍
1
Zhang’s Algorithm
 Allows estimation of
 intrinsic parameters - 𝑨 matrix
 extrinsic parameters – rotation matrix 𝑹 and
translation vector 𝒕 = −𝑹 ∙ 𝒕
 Planar template
 𝑍 = 0
6
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑠 ∙
𝑢
𝑣
1
= 𝐴 ∙ 𝑟1 𝑟2 𝑟3 𝑡 ∙
𝑋
𝑌
𝑍
1
Zhang’s algorithm
 Planar template
 𝑍 = 0
7
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑯 = 𝑨 ∙ 𝒓 𝟏 𝒓2 𝒕
𝑠 ∙
𝑢
𝑣
1
= 𝑨 ∙ 𝒓 𝟏 𝒓 𝟐 𝒓 𝟑 𝒕 ∙
𝑋
𝑌
𝑍
1
= 𝑨 ∙ 𝒓 𝟏 𝒓 𝟐 𝒓 𝟑 𝒕 ∙
𝑋
𝑌
0
1
=
= 𝑨 ∙ 𝒓 𝟏 ∙ 𝑋 + 𝒓 𝟐 ∙ 𝑌 + 𝒓 𝟑 ∙ 0 + 𝒕 ∙ 1 = 𝑨 ∙ 𝒓 𝟏 ∙ 𝑋 + 𝒓 𝟐 ∙ 𝑌 + 𝒕 ∙ 1 =
= 𝑨 ∙ 𝒓 𝟏 𝒓2 𝒕 ∙
𝑋
𝑌
1
= 𝑯 ∙
𝑋
𝑌
1
Zhang’s algorithm
 Planar template
 𝑍 = 0
8
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑯 = 𝑨 ∙ 𝒓 𝟏 𝒓2 𝒕
𝑠 ∙
𝑢
𝑣
1
= 𝑨 ∙ 𝒓 𝟏 𝒓 𝟐 𝒓 𝟑 𝒕 ∙
𝑋
𝑌
𝑍
1
= 𝑨 ∙ 𝒓 𝟏 𝒓 𝟐 𝒓 𝟑 𝒕 ∙
𝑋
𝑌
0
1
=
= 𝑨 ∙ 𝒓 𝟏 ∙ 𝑋 + 𝒓 𝟐 ∙ 𝑌 + 𝒓 𝟑 ∙ 0 + 𝒕 ∙ 1 = 𝑨 ∙ 𝒓 𝟏 ∙ 𝑋 + 𝒓 𝟐 ∙ 𝑌 + 𝒕 ∙ 1 =
= 𝑨 ∙ 𝒓 𝟏 𝒓2 𝒕 ∙
𝑋
𝑌
1
= 𝑯 ∙
𝑋
𝑌
1
Estimating Homography H
 We know position of the pattern’s feature points 𝑋, 𝑌
 From registrated image we know 𝑢, 𝑣
 So
9
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑠 ∙
𝑢
𝑣
1
= 𝑯 ∙
𝑋
𝑌
1
𝑠 ∙
𝑢
𝑣
1
=
𝐻11 𝐻12 𝐻13
𝐻21 𝐻22 𝐻23
𝐻31 𝐻32 𝐻33
∙
𝑋
𝑌
1
𝑠 ∙ 𝑢 = 𝐻11 ∙ 𝑋 + 𝐻12 ∙ 𝑌 + 𝐻13
𝑠 ∙ 𝑣 = 𝐻21 ∙ 𝑋 + 𝐻22 ∙ 𝑌 + 𝐻23
𝑠 = 𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33
𝑢 =
𝐻11 ∙ 𝑋 + 𝐻12 ∙ 𝑌 + 𝐻13
𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33
𝑣 =
𝐻21 ∙ 𝑋 + 𝐻22 ∙ 𝑌 + 𝐻23
𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33
Estimating Homography H
 We know position of the pattern’s feature points 𝑋, 𝑌
 From registrated image we know 𝑢, 𝑣
10
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑢 =
𝐻11 ∙ 𝑋 + 𝐻12 ∙ 𝑌 + 𝐻13
𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33
𝑣 =
𝐻21 ∙ 𝑋 + 𝐻22 ∙ 𝑌 + 𝐻23
𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33
𝑢 ∙ 𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33 = 𝐻11 ∙ 𝑋 + 𝐻12 ∙ 𝑌 + 𝐻13
𝑣 ∙ 𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33 = 𝐻21 ∙ 𝑋 + 𝐻22 ∙ 𝑌 + 𝐻23
𝐻31 ∙ 𝑢 ∙ 𝑋 + 𝐻32 ∙ 𝑢 ∙ 𝑌 + 𝑢 ∙ 𝐻33 − 𝐻11 ∙ 𝑋 − 𝐻12 ∙ 𝑌 − 𝐻13 = 0
𝐻31 ∙ 𝑣 ∙ 𝑋 + 𝐻32 ∙ 𝑣 ∙ 𝑌 + 𝑣 ∙ 𝐻33 − 𝐻21 ∙ 𝑋 − 𝐻22 ∙ 𝑌 − 𝐻23 = 0
𝐻11 ∙ 𝑋 + 𝐻12 ∙ 𝑌 + 𝐻13 − 𝐻31 ∙ 𝑢 ∙ 𝑋 − 𝐻32 ∙ 𝑢 ∙ 𝑌 − 𝑢 ∙ 𝐻33 = 0
𝐻21∙ 𝑋 + 𝐻22 ∙ 𝑌 + 𝐻23 − 𝐻31 ∙ 𝑣 ∙ 𝑋 − 𝐻32 ∙ 𝑣 ∙ 𝑌 − 𝑣 ∙ 𝐻33 = 0
Estimating Homography H
 Let’s assign
 We have 2 equations and 9 variables so we need at least 5
points to solve uniquely for ℎ
11
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝐻11 ∙ 𝑋 + 𝐻12 ∙ 𝑌 + 𝐻13 − 𝐻31 ∙ 𝑢 ∙ 𝑋 − 𝐻32 ∙ 𝑢 ∙ 𝑌 − 𝑢 ∙ 𝐻33 = 0
𝐻21∙ 𝑋 + 𝐻22 ∙ 𝑌 + 𝐻23 − 𝐻31 ∙ 𝑣 ∙ 𝑋 − 𝐻32 ∙ 𝑣 ∙ 𝑌 − 𝑣 ∙ 𝐻33 = 0
𝒄 𝒖 ∙ 𝒉 = 𝟎
𝒄 𝒗 ∙ 𝒉 = 𝟎
𝒄 𝒖 = 𝑋 𝑌 1 0 0 0 −𝑢 ∙ 𝑋 −𝑢 ∙ 𝑌 −𝑢
𝒄 𝒖 = 0 0 0 𝑋 𝑌 1 −𝑣 ∙ 𝑋 −𝑣 ∙ 𝑌 −𝑣
Estimating Homography H
 Defined up to a scale factor 𝜆
 We know position of the pattern’s feature points 𝑋, 𝑌
 From registrated image we know 𝑢, 𝑣
 Multiplication of both side by 𝜆 don’t change known 𝑋, 𝑌, 𝑢, 𝑣
 So we don’t know whether we obtain 𝑯 or 𝑯
 So we don’t know scale of the scene
12
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑠 ∙
𝑢
𝑣
1
= 𝑯 ∙
𝑋
𝑌
1
𝜆 ∙ 𝑠 ∙
𝑢
𝑣
1
= 𝝀 ∙ 𝑯 ∙
𝑋
𝑌
1
𝜆 ∙ 𝑠 ∙
𝑢
𝑣
1
= 𝑯 ∙
𝑋
𝑌
1
Homography H
 Defined up to a scale factor 𝜆
 We know position of the pattern’s feature points 𝑋, 𝑌
 From registrated image we know 𝑢, 𝑣
13
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑠 ∙
𝑢
𝑣
1
= 𝑯 ∙
𝑋
𝑌
1
Homography H
 Defined up to a scale factor 𝜆
 We know position of the pattern’s feature points 𝑋, 𝑌
 From registrated image we know 𝑢, 𝑣
 Multiplication of both side by 𝜆 don’t change known 𝑋, 𝑌, 𝑢, 𝑣
14
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑠 ∙
𝑢
𝑣
1
= 𝑯 ∙
𝑋
𝑌
1
𝜆 ∙ 𝑠 ∙
𝑢
𝑣
1
= 𝝀 ∙ 𝑯 ∙
𝑋
𝑌
1
𝜆 ∙ 𝑠 ∙
𝑢
𝑣
1
= 𝑯 ∙
𝑋
𝑌
1
Homography H
 Defined up to a scale factor 𝜆
 Multiplication of both side by 𝜆 don’t change known 𝑋, 𝑌, 𝑢, 𝑣
 So we don’t know whether we obtain 𝑯 or 𝑯
 So we don’t know Z scale of the scene
15
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑠 ∙
𝑢
𝑣
1
= 𝑯 ∙
𝑋
𝑌
1
𝜆 ∙ 𝑠 ∙
𝑢
𝑣
1
= 𝝀 ∙ 𝑯 ∙
𝑋
𝑌
1
𝜆 ∙ 𝑠 ∙
𝑢
𝑣
1
= 𝑯 ∙
𝑋
𝑌
1
Constraints on the intrinsic
 Vectors 𝒓 𝟏, 𝒓 𝟐 are orthonormal so taking dot product gives
 and length of 𝒓 𝟏, 𝒓 𝟐 should be the same
 For
 we have
 and
16
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑯 = 𝒉 𝟏 𝒉 𝟐 𝒉 𝟑 = 𝜆 ∙ 𝑨 ∙ 𝒓 𝟏 𝒓2 𝒕
𝒓 𝟏
𝑻
∙ 𝒓 𝟐 = 𝟎
𝒓 𝟏
𝟐
= 𝒓 𝟐
𝟐
⟹ 𝒓 𝟏
𝑻
∙ 𝒓 𝟏 = 𝒓 𝟐
𝑻
∙ 𝒓 𝟐
𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 𝒉 𝟐 𝒉 𝟑 = 𝒓 𝟏 𝒓2 𝒕
𝒓 𝟏 = 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟏
𝒓2 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐
𝒕 = 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟑
Constraints on the intrinsic
 Puting all together
17
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝒓 𝟏
𝑻
∙ 𝒓 𝟐 = 𝟎
𝒓 𝟏
𝑻 ∙ 𝒓 𝟏 = 𝒓 𝟐
𝑻 ∙ 𝒓 𝟐
𝒓 𝟏 = 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟏
𝒓2 = 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟐
𝒕 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟑
𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏
𝑻
∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 = 𝟎
𝒉 𝟏
𝑻
∙ 𝑨−𝑻 ∙ 𝜆−1∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 = 𝟎
𝒉 𝟏
𝑻
∙ 𝑨−𝑻
∙ 𝑨−𝟏
∙ 𝒉 𝟐 = 𝟎
𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟏
𝑻
∙ 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟏 = 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟐
𝑻
∙ 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟐
𝒉 𝟏
𝑻
∙ 𝑨−𝑻
∙ 𝜆−1
∙ 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟏 = 𝒉 𝟐
𝑻
∙ 𝑨−𝑻
∙ 𝜆−1
∙ 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟐
𝒉 𝟏
𝑻
∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 = 𝒉 𝟐
𝑻
∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐
Constraints on the intrinsic
 Puting all together
18
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝒓 𝟏
𝑻
∙ 𝒓 𝟐 = 𝟎
𝒓 𝟏
𝑻 ∙ 𝒓 𝟏 = 𝒓 𝟐
𝑻 ∙ 𝒓 𝟐
𝒓 𝟏 = 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟏
𝒓2 = 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟐
𝒕 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟑
𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏
𝑻
∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 = 𝟎
𝒉 𝟏
𝑻
∙ 𝑨−𝑻 ∙ 𝜆−1∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 = 𝟎
𝒉 𝟏
𝑻
∙ 𝑨−𝑻
∙ 𝑨−𝟏
∙ 𝒉 𝟐 = 𝟎
𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟏
𝑻
∙ 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟏 = 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟐
𝑻
∙ 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟐
𝒉 𝟏
𝑻
∙ 𝑨−𝑻
∙ 𝜆−1
∙ 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟏 = 𝒉 𝟐
𝑻
∙ 𝑨−𝑻
∙ 𝜆−1
∙ 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟐
𝒉 𝟏
𝑻
∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 = 𝒉 𝟐
𝑻
∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐
Closed form solution
 Try to solve
 Intrinsic matrix
 Let’s assign
19
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑨 =
𝑓𝑢 𝛾 𝑜 𝑢
0 𝑓𝑣 𝑜 𝑣
0 0 1
𝒉 𝟏
𝑻
∙ 𝑨−𝑻
∙ 𝑨−𝟏
∙ 𝒉 𝟐 = 𝟎
𝒉 𝟏
𝑻
∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 = 𝒉 𝟐
𝑻
∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐
𝑩 = 𝑨−𝑻 ∙ 𝑨−𝟏
𝑩 =
1
𝑓𝑢
2
−𝛾
𝑓𝑢
2
𝑓𝑣
𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
𝑓𝑢
2
𝑓𝑣
−𝛾
𝑓𝑢
2
𝑓𝑣
1
𝑓𝑣
2 +
𝛾2
𝑓𝑢
2
𝑓𝑣
2
−𝑜 𝑣
𝑓𝑣
2 −
𝛾 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
𝑓𝑢
2
𝑓𝑣
2
𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
𝑓𝑢
2
𝑓𝑣
−𝑜 𝑣
𝑓𝑣
2 −
𝛾 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
𝑓𝑢
2
𝑓𝑣
2 1 +
𝑜 𝑣
2
𝑓𝑣
2 +
𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
2
𝑓𝑢
2
𝑓𝑣
2
=
𝐵11 𝐵12 𝐵13
𝐵12 𝐵22 𝐵23
𝐵13 𝐵23 𝐵33
Closed form solution
 Let’s assign
 𝑩 is symetrical
 Let’s assign
20
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑩 = 𝑨−𝑻 ∙ 𝑨−𝟏
𝑩 =
1
𝑓𝑢
2
−𝛾
𝑓𝑢
2
𝑓𝑣
𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
𝑓𝑢
2
𝑓𝑣
−𝛾
𝑓𝑢
2
𝑓𝑣
1
𝑓𝑣
2 +
𝛾2
𝑓𝑢
2
𝑓𝑣
2
−𝑜 𝑣
𝑓𝑣
2 −
𝛾 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
𝑓𝑢
2
𝑓𝑣
2
𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
𝑓𝑢
2
𝑓𝑣
−𝑜 𝑣
𝑓𝑣
2 −
𝛾 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
𝑓𝑢
2
𝑓𝑣
2 1 +
𝑜 𝑣
2
𝑓𝑣
2 +
𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
2
𝑓𝑢
2
𝑓𝑣
2
=
𝐵11 𝐵12 𝐵13
𝐵12 𝐵22 𝐵23
𝐵13 𝐵23 𝐵33
𝒃 = 𝐵11 𝐵12 𝐵13 𝐵22 𝐵23 𝐵33
Closed form solution
 We try to solve
 Let’s see pattern in the equations
21
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝒉 𝟏
𝑻
∙ 𝑨−𝑻
∙ 𝑨−𝟏
∙ 𝒉 𝟐 = 𝟎
𝒉 𝟏
𝑻
∙ 𝑨−𝑻
∙ 𝑨−𝟏
∙ 𝒉 𝟏 = 𝒉 𝟐
𝑻
∙ 𝑨−𝑻
∙ 𝑨−𝟏
∙ 𝒉 𝟐
𝑩 = 𝑨−𝑻 ∙ 𝑨−𝟏
𝒉 𝟏
𝑻
∙ 𝑩 ∙ 𝒉 𝟐 = 𝟎
𝒉 𝟏
𝑻
∙ 𝑩 ∙ 𝒉 𝟏 = 𝒉 𝟐
𝑻
∙ 𝑩 ∙ 𝒉 𝟐
𝒉𝒊
𝑻
∙ 𝑩 ∙ 𝒉𝒋 = 𝒗𝒊𝒋
𝑻
∙ 𝒃
𝒉𝒊
𝑻
∙ 𝑩 ∙ 𝒉𝒋 = 𝒉𝒊
𝑻
∙
𝐵11 𝐵12 𝐵13
𝐵12 𝐵22 𝐵23
𝐵13 𝐵23 𝐵33
∙ 𝒉𝒋=𝒉𝒊
𝑻
∙
𝐵11 ∙ ℎ𝑗1 + 𝐵12 ∙ ℎ𝑗2 + 𝐵13 ∙ ℎ𝑗3
𝐵12 ∙ ℎ𝑗1 + 𝐵22 ∙ ℎ𝑗2 + 𝐵23 ∙ ℎ𝑗3
𝐵13 ∙ ℎ𝑗1 + 𝐵23 ∙ ℎ𝑗2 + 𝐵33 ∙ ℎ𝑗3
=
= 𝐵11 ∙ ℎ𝑖1 ∙ ℎ𝑗1 + 𝐵12 ∙ ℎ𝑖1 ∙ ℎ𝑗2 + 𝐵13 ∙ ℎ𝑖1 ∙ ℎ𝑗3 +
= 𝒗𝒊𝒋
𝑻
∙ 𝒃
+𝐵12 ∙ ℎ𝑖2 ∙ ℎ𝑗1 + 𝐵22 ∙ ℎ𝑖2 ∙ ℎ𝑗2 + 𝐵23 ∙ ℎ𝑖2 ∙ ℎ𝑗3 +
+𝐵13 ∙ ℎ𝑖3 ∙ ℎ𝑗1 + 𝐵23 ∙ ℎ𝑖3 ∙ ℎ𝑗2 + 𝐵33 ∙ ℎ𝑖3 ∙ ℎ𝑗3
𝒗𝒊𝒋
𝑻
= ℎ𝑖1 ∙ ℎ𝑗1 ℎ𝑖1 ∙ ℎ𝑗2 + ℎ𝑖2 ∙ ℎ𝑗1 ℎ𝑖1 ∙ ℎ𝑗3 + ℎ𝑖3 ∙ ℎ𝑗1 ℎ𝑖2 ∙ ℎ𝑗2 ℎ𝑖2 ∙ ℎ𝑗3 + ℎ𝑖3 ∙ ℎ𝑗2 ℎ𝑖3 ∙ ℎ𝑗3
Closed form solution
 We try to solve
 so
22
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝒉 𝟏
𝑻
∙ 𝑩 ∙ 𝒉 𝟐 = 𝟎
𝒉 𝟏
𝑻
∙ 𝑩 ∙ 𝒉 𝟏 − 𝒉 𝟐
𝑻
∙ 𝑩 ∙ 𝒉 𝟐 = 𝟎
𝒉𝒊
𝑻
∙ 𝑩 ∙ 𝒉𝒋 = 𝒗𝒊𝒋
𝑻
∙ 𝒃
𝒗 𝟏𝟐
𝑻
∙ 𝒃 = 𝟎
𝒗 𝟏𝟏
𝑻
∙ 𝒃 − 𝒗 𝟐𝟐
𝑻
∙ 𝒃 = 𝟎
𝒗 𝟏𝟐
𝑻
∙ 𝒃 = 𝟎
𝒗 𝟏𝟏
𝑻
− 𝒗 𝟐𝟐
𝑻
∙ 𝒃 = 𝟎
𝒗 𝟏𝟐
𝑻
𝒗 𝟏𝟏 − 𝒗 𝟐𝟐
𝑻
∙ 𝒃 = 𝟎
Solving for b
 Two equation are defined but 𝒃 have 6 unknowns.
 So at least 3 images are required to uniquly solve for 𝒃
 Because all images are captured with the same camera we
can stack equation for 𝒃 together
23
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝒗 𝟏𝟐
𝑻
𝒗 𝟏𝟏 − 𝒗 𝟐𝟐
𝑻
∙ 𝒃 = 𝟎
𝒗 𝟏𝟐
′𝑻
𝒗′ 𝟏𝟏 − 𝒗′ 𝟐𝟐
𝑻
∙ 𝒃 = 𝟎
𝒗′′ 𝟏𝟐
𝑻
𝒗′′ 𝟏𝟏 − 𝒗′′ 𝟐𝟐
𝑻
∙ 𝒃 = 𝟎
𝒗 𝟏𝟐
𝑻
𝒗 𝟏𝟏 − 𝒗 𝟐𝟐
𝑻
∙ 𝒃 = 𝟎 𝒗 𝟏𝟐
𝑻
𝒗 𝟏𝟏 − 𝒗 𝟐𝟐
𝑻
𝒗 𝟏𝟐
′𝑻
𝒗′ 𝟏𝟏 − 𝒗′ 𝟐𝟐
𝑻
𝒗′′ 𝟏𝟐
𝑻
𝒗′′ 𝟏𝟏 − 𝒗′′ 𝟐𝟐
𝑻
∙ 𝒃 = 𝟎 𝑽 =
𝒗 𝟏𝟐
𝑻
𝒗 𝟏𝟏 − 𝒗 𝟐𝟐
𝑻
𝒗 𝟏𝟐
′𝑻
𝒗′ 𝟏𝟏 − 𝒗′ 𝟐𝟐
𝑻
𝒗′′ 𝟏𝟐
𝑻
𝒗′′ 𝟏𝟏 − 𝒗′′ 𝟐𝟐
𝑻
Solving for b
 There is trivia solution 𝒃 = 𝟎
 But we look for non trivial solution so 𝒃 ≠ 𝟎
 Such solution is given by eigenvector of asociated with
the smallest eigenvalue (right singulart vector of 𝑽)
24
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑽 ∙ 𝒃 = 𝟎
𝑽 𝑻 ∙ 𝑽
Retriving intrinsic parameters
 Once we have
 We can calculate intrinsic parameters from
25
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝑩 =
1
𝑓𝑢
2
−𝛾
𝑓𝑢
2
𝑓𝑣
𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
𝑓𝑢
2
𝑓𝑣
−𝛾
𝑓𝑢
2
𝑓𝑣
1
𝑓𝑣
2 +
𝛾2
𝑓𝑢
2
𝑓𝑣
2
−𝑜 𝑣
𝑓𝑣
2 −
𝛾 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
𝑓𝑢
2
𝑓𝑣
2
𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
𝑓𝑢
2
𝑓𝑣
−𝑜 𝑣
𝑓𝑣
2 −
𝛾 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
𝑓𝑢
2
𝑓𝑣
2 1 +
𝑜 𝑣
2
𝑓𝑣
2 +
𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢
2
𝑓𝑢
2
𝑓𝑣
2
=
𝐵11 𝐵12 𝐵13
𝐵12 𝐵22 𝐵23
𝐵13 𝐵23 𝐵33
𝒃 = 𝐵11 𝐵12 𝐵13 𝐵22 𝐵23 𝐵33
𝑜 𝑣 =
𝐵12 ∙ 𝐵13 − 𝐵11 ∙ 𝐵23
𝐵11 ∙ 𝐵22 − 𝐵12
2 𝑓𝑢 =
𝜆
𝐵11
𝜆 = 𝐵33 −
𝐵13
2
+ 𝑜 𝑣 𝐵12 ∙ 𝐵13 − 𝐵11 ∙ 𝐵23
𝐵11
𝑓𝑣 =
𝜆 ∙ 𝐵11
𝐵11 ∙ 𝐵22 − 𝐵12
2
𝛾 =
−𝐵12 ∙ 𝑓𝑢
2 ∙ 𝑓𝑣
𝜆
𝑜 𝑢 =
𝛾 ∙ 𝑜 𝑣
𝑓𝑣
− 𝐵13
𝑓𝑢
2
𝜆
Retriving position
 We know constraints
 To complete rotation matrix we calculater third column
 Finally we ortonormalize rotation matrix
26
Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and
Machine Intelligence, 22(11):1330–1334, 2000
𝒓 𝟏 = 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟏
𝒓2 = 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟐
𝒕 = 𝜆−1
∙ 𝑨−𝟏
∙ 𝒉 𝟑
𝒓 𝟑 = 𝒓 𝟏 × 𝒓 𝟐
𝒓 𝟏 = 𝒓 𝟐 = 𝒓 𝟑 = 𝟏
Summary
 Camera parameters requires at least 5 point
pattern
 Intrinsic camera parameters estimation
requires at least 3 images at different
orientation
 All parameters are defined up to a unknown
scale
M37232, October 2015, Geneve 27

More Related Content

What's hot

Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
A B Shinde
 
Introduction to image contrast and enhancement method
Introduction to image contrast and enhancement methodIntroduction to image contrast and enhancement method
Introduction to image contrast and enhancement method
Abhishekvb
 
Lecture 08 tilted photograph
Lecture 08  tilted photographLecture 08  tilted photograph
Lecture 08 tilted photograph
Sarhat Adam
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
juhi mishra
 
3D Perception for Autonomous Driving - Datasets and Algorithms -
3D Perception for Autonomous Driving - Datasets and Algorithms -3D Perception for Autonomous Driving - Datasets and Algorithms -
3D Perception for Autonomous Driving - Datasets and Algorithms -
Kazuyuki Miyazawa
 
3D Laser Mapping: What can you use 3d laser scanning for?
3D Laser Mapping: What can you use 3d laser scanning for?3D Laser Mapping: What can you use 3d laser scanning for?
3D Laser Mapping: What can you use 3d laser scanning for?
3D Laser Mapping
 
Chap6 image restoration
Chap6 image restorationChap6 image restoration
Chap6 image restoration
ShardaSalunkhe1
 
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
Shahbaz Alam
 
Semantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
Semantic Segmentation - Fully Convolutional Networks for Semantic SegmentationSemantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
Semantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
岳華 杜
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniquesSaideep
 
Computer Vision - Stereo Vision
Computer Vision - Stereo VisionComputer Vision - Stereo Vision
Computer Vision - Stereo Vision
Wael Badawy
 
Depth estimation using deep learning
Depth estimation using deep learningDepth estimation using deep learning
Depth estimation using deep learning
University of Oklahoma
 
Digital Image Processing - Image Enhancement
Digital Image Processing  - Image EnhancementDigital Image Processing  - Image Enhancement
Digital Image Processing - Image Enhancement
Mathankumar S
 
Object Detection Methods using Deep Learning
Object Detection Methods using Deep LearningObject Detection Methods using Deep Learning
Object Detection Methods using Deep Learning
Sungjoon Choi
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
vsaranya169
 
Image segmentation in Digital Image Processing
Image segmentation in Digital Image ProcessingImage segmentation in Digital Image Processing
Image segmentation in Digital Image Processing
DHIVYADEVAKI
 
Master Thesis of Computer Engineering SuperResoluton Giuseppe Caliendo
Master Thesis of Computer Engineering SuperResoluton Giuseppe CaliendoMaster Thesis of Computer Engineering SuperResoluton Giuseppe Caliendo
Master Thesis of Computer Engineering SuperResoluton Giuseppe Caliendo
GiuseppeCaliendo2
 
camera calibration
 camera calibration camera calibration
camera calibration
Sandeep Sasidharan
 
Line Detection
Line DetectionLine Detection
Line Detection
Upekha Vandebona
 
Image processing1 introduction
Image processing1 introductionImage processing1 introduction
Image processing1 introduction
Preeti Gupta
 

What's hot (20)

Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Introduction to image contrast and enhancement method
Introduction to image contrast and enhancement methodIntroduction to image contrast and enhancement method
Introduction to image contrast and enhancement method
 
Lecture 08 tilted photograph
Lecture 08  tilted photographLecture 08  tilted photograph
Lecture 08 tilted photograph
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
3D Perception for Autonomous Driving - Datasets and Algorithms -
3D Perception for Autonomous Driving - Datasets and Algorithms -3D Perception for Autonomous Driving - Datasets and Algorithms -
3D Perception for Autonomous Driving - Datasets and Algorithms -
 
3D Laser Mapping: What can you use 3d laser scanning for?
3D Laser Mapping: What can you use 3d laser scanning for?3D Laser Mapping: What can you use 3d laser scanning for?
3D Laser Mapping: What can you use 3d laser scanning for?
 
Chap6 image restoration
Chap6 image restorationChap6 image restoration
Chap6 image restoration
 
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
 
Semantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
Semantic Segmentation - Fully Convolutional Networks for Semantic SegmentationSemantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
Semantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Computer Vision - Stereo Vision
Computer Vision - Stereo VisionComputer Vision - Stereo Vision
Computer Vision - Stereo Vision
 
Depth estimation using deep learning
Depth estimation using deep learningDepth estimation using deep learning
Depth estimation using deep learning
 
Digital Image Processing - Image Enhancement
Digital Image Processing  - Image EnhancementDigital Image Processing  - Image Enhancement
Digital Image Processing - Image Enhancement
 
Object Detection Methods using Deep Learning
Object Detection Methods using Deep LearningObject Detection Methods using Deep Learning
Object Detection Methods using Deep Learning
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Image segmentation in Digital Image Processing
Image segmentation in Digital Image ProcessingImage segmentation in Digital Image Processing
Image segmentation in Digital Image Processing
 
Master Thesis of Computer Engineering SuperResoluton Giuseppe Caliendo
Master Thesis of Computer Engineering SuperResoluton Giuseppe CaliendoMaster Thesis of Computer Engineering SuperResoluton Giuseppe Caliendo
Master Thesis of Computer Engineering SuperResoluton Giuseppe Caliendo
 
camera calibration
 camera calibration camera calibration
camera calibration
 
Line Detection
Line DetectionLine Detection
Line Detection
 
Image processing1 introduction
Image processing1 introductionImage processing1 introduction
Image processing1 introduction
 

Viewers also liked

Techniki kalibracji systemów wielowidokowych wprowadzenie teoretyczne
Techniki kalibracji systemów wielowidokowych wprowadzenie teoretyczneTechniki kalibracji systemów wielowidokowych wprowadzenie teoretyczne
Techniki kalibracji systemów wielowidokowych wprowadzenie teoretyczne
Krzysztof Wegner
 
3D-HEVC Test Model
3D-HEVC Test Model 3D-HEVC Test Model
3D-HEVC Test Model
Krzysztof Wegner
 
Geometria Eppipolarna
Geometria EppipolarnaGeometria Eppipolarna
Geometria Eppipolarna
Krzysztof Wegner
 
Light filed
Light filedLight filed
Light filed
Krzysztof Wegner
 
Synteza Widoków w systemach Telewizji 3D
Synteza Widoków w systemach Telewizji 3DSynteza Widoków w systemach Telewizji 3D
Synteza Widoków w systemach Telewizji 3D
Krzysztof Wegner
 
Okienka Systemu Windows
Okienka Systemu WindowsOkienka Systemu Windows
Okienka Systemu Windows
Krzysztof Wegner
 
Szybka estymacja map głębi na procesorach graficznych
Szybka estymacja map głębi na procesorach graficznychSzybka estymacja map głębi na procesorach graficznych
Szybka estymacja map głębi na procesorach graficznych
Krzysztof Wegner
 
Synteza widoków wirtualnych w systemach telewizji swobodnego punktu widzenia
Synteza widoków wirtualnych w systemach telewizji swobodnego punktu widzeniaSynteza widoków wirtualnych w systemach telewizji swobodnego punktu widzenia
Synteza widoków wirtualnych w systemach telewizji swobodnego punktu widzenia
Krzysztof Wegner
 
Optimization algorithms for solving computer vision problems
Optimization algorithms for solving computer vision problemsOptimization algorithms for solving computer vision problems
Optimization algorithms for solving computer vision problems
Krzysztof Wegner
 
3D-HEVC Test Model
3D-HEVC Test Model 3D-HEVC Test Model
3D-HEVC Test Model
Krzysztof Wegner
 
Pierwsza Aplikacja Windows
Pierwsza Aplikacja WindowsPierwsza Aplikacja Windows
Pierwsza Aplikacja Windows
Krzysztof Wegner
 
DETEKCJA ZNAKOWANEGO OBIEKTU W SEKWENCJI WIZYJNEJ
DETEKCJA ZNAKOWANEGO OBIEKTU  W SEKWENCJI WIZYJNEJ DETEKCJA ZNAKOWANEGO OBIEKTU  W SEKWENCJI WIZYJNEJ
DETEKCJA ZNAKOWANEGO OBIEKTU W SEKWENCJI WIZYJNEJ
Krzysztof Wegner
 
SYSTEM REJESTRACJI WIELOWIDOKOWYCH SEKWENCJI WIZYJNYCH ZE SWOBODNYM USTAWIENI...
SYSTEM REJESTRACJI WIELOWIDOKOWYCH SEKWENCJI WIZYJNYCH ZE SWOBODNYM USTAWIENI...SYSTEM REJESTRACJI WIELOWIDOKOWYCH SEKWENCJI WIZYJNYCH ZE SWOBODNYM USTAWIENI...
SYSTEM REJESTRACJI WIELOWIDOKOWYCH SEKWENCJI WIZYJNYCH ZE SWOBODNYM USTAWIENI...
Krzysztof Wegner
 
Repozytoria GIT
Repozytoria GITRepozytoria GIT
Repozytoria GIT
Krzysztof Wegner
 
Micronutrient deficiencies LB
Micronutrient deficiencies LBMicronutrient deficiencies LB
Micronutrient deficiencies LB
Leul Biruk
 
Telewizja trójwymiarowa - wyzwania
Telewizja trójwymiarowa - wyzwaniaTelewizja trójwymiarowa - wyzwania
Telewizja trójwymiarowa - wyzwania
Krzysztof Wegner
 
Developing 3D Viewing Model from 2D Stereo Pair with its Occlusion Ratio
Developing 3D Viewing Model from 2D Stereo Pair with its Occlusion RatioDeveloping 3D Viewing Model from 2D Stereo Pair with its Occlusion Ratio
Developing 3D Viewing Model from 2D Stereo Pair with its Occlusion Ratio
CSCJournals
 
4° trimestre 2016
4° trimestre 20164° trimestre 2016
4° trimestre 2016
Joao Fernandes
 

Viewers also liked (20)

Techniki kalibracji systemów wielowidokowych wprowadzenie teoretyczne
Techniki kalibracji systemów wielowidokowych wprowadzenie teoretyczneTechniki kalibracji systemów wielowidokowych wprowadzenie teoretyczne
Techniki kalibracji systemów wielowidokowych wprowadzenie teoretyczne
 
3D-HEVC Test Model
3D-HEVC Test Model 3D-HEVC Test Model
3D-HEVC Test Model
 
Geometria Eppipolarna
Geometria EppipolarnaGeometria Eppipolarna
Geometria Eppipolarna
 
Light filed
Light filedLight filed
Light filed
 
Synteza Widoków w systemach Telewizji 3D
Synteza Widoków w systemach Telewizji 3DSynteza Widoków w systemach Telewizji 3D
Synteza Widoków w systemach Telewizji 3D
 
Disoccluded Region Coding
Disoccluded Region CodingDisoccluded Region Coding
Disoccluded Region Coding
 
Okienka Systemu Windows
Okienka Systemu WindowsOkienka Systemu Windows
Okienka Systemu Windows
 
Szybka estymacja map głębi na procesorach graficznych
Szybka estymacja map głębi na procesorach graficznychSzybka estymacja map głębi na procesorach graficznych
Szybka estymacja map głębi na procesorach graficznych
 
Synteza widoków wirtualnych w systemach telewizji swobodnego punktu widzenia
Synteza widoków wirtualnych w systemach telewizji swobodnego punktu widzeniaSynteza widoków wirtualnych w systemach telewizji swobodnego punktu widzenia
Synteza widoków wirtualnych w systemach telewizji swobodnego punktu widzenia
 
Optimization algorithms for solving computer vision problems
Optimization algorithms for solving computer vision problemsOptimization algorithms for solving computer vision problems
Optimization algorithms for solving computer vision problems
 
3D-HEVC Test Model
3D-HEVC Test Model 3D-HEVC Test Model
3D-HEVC Test Model
 
Pierwsza Aplikacja Windows
Pierwsza Aplikacja WindowsPierwsza Aplikacja Windows
Pierwsza Aplikacja Windows
 
DETEKCJA ZNAKOWANEGO OBIEKTU W SEKWENCJI WIZYJNEJ
DETEKCJA ZNAKOWANEGO OBIEKTU  W SEKWENCJI WIZYJNEJ DETEKCJA ZNAKOWANEGO OBIEKTU  W SEKWENCJI WIZYJNEJ
DETEKCJA ZNAKOWANEGO OBIEKTU W SEKWENCJI WIZYJNEJ
 
SYSTEM REJESTRACJI WIELOWIDOKOWYCH SEKWENCJI WIZYJNYCH ZE SWOBODNYM USTAWIENI...
SYSTEM REJESTRACJI WIELOWIDOKOWYCH SEKWENCJI WIZYJNYCH ZE SWOBODNYM USTAWIENI...SYSTEM REJESTRACJI WIELOWIDOKOWYCH SEKWENCJI WIZYJNYCH ZE SWOBODNYM USTAWIENI...
SYSTEM REJESTRACJI WIELOWIDOKOWYCH SEKWENCJI WIZYJNYCH ZE SWOBODNYM USTAWIENI...
 
Repozytoria GIT
Repozytoria GITRepozytoria GIT
Repozytoria GIT
 
Micronutrient deficiencies LB
Micronutrient deficiencies LBMicronutrient deficiencies LB
Micronutrient deficiencies LB
 
Telewizja trójwymiarowa - wyzwania
Telewizja trójwymiarowa - wyzwaniaTelewizja trójwymiarowa - wyzwania
Telewizja trójwymiarowa - wyzwania
 
Developing 3D Viewing Model from 2D Stereo Pair with its Occlusion Ratio
Developing 3D Viewing Model from 2D Stereo Pair with its Occlusion RatioDeveloping 3D Viewing Model from 2D Stereo Pair with its Occlusion Ratio
Developing 3D Viewing Model from 2D Stereo Pair with its Occlusion Ratio
 
3D Video: From Stereo to Multi-View
3D Video: From Stereo to Multi-View3D Video: From Stereo to Multi-View
3D Video: From Stereo to Multi-View
 
4° trimestre 2016
4° trimestre 20164° trimestre 2016
4° trimestre 2016
 

Similar to Camera calibration technique

Indoor Heading Estimation
 Indoor Heading Estimation Indoor Heading Estimation
Indoor Heading Estimation
Alwin Poulose
 
Intoduction to Neural Network
Intoduction to Neural NetworkIntoduction to Neural Network
Intoduction to Neural Network
Dr. Sanjay Shitole
 
Reconstructing and Watermarking Stereo Vision Systems-PhD Presentation
Reconstructing and Watermarking Stereo Vision Systems-PhD Presentation Reconstructing and Watermarking Stereo Vision Systems-PhD Presentation
Reconstructing and Watermarking Stereo Vision Systems-PhD Presentation
Osama Hosam
 
Camera Calibration for Video Surveillance
Camera Calibration for Video SurveillanceCamera Calibration for Video Surveillance
Camera Calibration for Video Surveillance
Shengzhe Li
 
Image Based Visual Servoing for Omnidirectional Wheeled Mobile Robots in Volt...
Image Based Visual Servoing for Omnidirectional Wheeled Mobile Robots in Volt...Image Based Visual Servoing for Omnidirectional Wheeled Mobile Robots in Volt...
Image Based Visual Servoing for Omnidirectional Wheeled Mobile Robots in Volt...
International Multispeciality Journal of Health
 
Gan seminar
Gan seminarGan seminar
Gan seminar
San Kim
 
Fuzzy entropy based optimal
Fuzzy entropy based optimalFuzzy entropy based optimal
Fuzzy entropy based optimal
ijsc
 
ICIP2014 Presentation
ICIP2014 PresentationICIP2014 Presentation
ICIP2014 Presentation
Takayoshi Yamashita
 
Simultaneous State and Actuator Fault Estimation With Fuzzy Descriptor PMID a...
Simultaneous State and Actuator Fault Estimation With Fuzzy Descriptor PMID a...Simultaneous State and Actuator Fault Estimation With Fuzzy Descriptor PMID a...
Simultaneous State and Actuator Fault Estimation With Fuzzy Descriptor PMID a...
Waqas Tariq
 
PR 113: The Perception Distortion Tradeoff
PR 113: The Perception Distortion TradeoffPR 113: The Perception Distortion Tradeoff
PR 113: The Perception Distortion Tradeoff
Taeoh Kim
 
NeurIPS22.pptx
NeurIPS22.pptxNeurIPS22.pptx
NeurIPS22.pptx
Julián Tachella
 
Lecture 5 backpropagation
Lecture 5 backpropagationLecture 5 backpropagation
Lecture 5 backpropagation
ParveenMalik18
 
The information and mutual information ration for counting image features and...
The information and mutual information ration for counting image features and...The information and mutual information ration for counting image features and...
The information and mutual information ration for counting image features and...
alikhajegili
 
Flow Trajectory Approach for Human Action Recognition
Flow Trajectory Approach for Human Action RecognitionFlow Trajectory Approach for Human Action Recognition
Flow Trajectory Approach for Human Action Recognition
IRJET Journal
 
Design of predictive controller for smooth set point tracking for fast dynami...
Design of predictive controller for smooth set point tracking for fast dynami...Design of predictive controller for smooth set point tracking for fast dynami...
Design of predictive controller for smooth set point tracking for fast dynami...
eSAT Journals
 
Vibration isolation progect lego(r)
Vibration isolation progect lego(r)Vibration isolation progect lego(r)
Vibration isolation progect lego(r)
Open Adaptronik
 
Multi-focus Application Presentation in ICSSE2017
Multi-focus Application Presentation in ICSSE2017Multi-focus Application Presentation in ICSSE2017
Multi-focus Application Presentation in ICSSE2017
Trong-An Bui
 
Trajectory Based Unusual Human Movement Identification for ATM System
	 Trajectory Based Unusual Human Movement Identification for ATM System	 Trajectory Based Unusual Human Movement Identification for ATM System
Trajectory Based Unusual Human Movement Identification for ATM System
IRJET Journal
 
Evaluation of conditional images synthesis: generating a photorealistic image...
Evaluation of conditional images synthesis: generating a photorealistic image...Evaluation of conditional images synthesis: generating a photorealistic image...
Evaluation of conditional images synthesis: generating a photorealistic image...
SamanthaGallone
 

Similar to Camera calibration technique (20)

Indoor Heading Estimation
 Indoor Heading Estimation Indoor Heading Estimation
Indoor Heading Estimation
 
Intoduction to Neural Network
Intoduction to Neural NetworkIntoduction to Neural Network
Intoduction to Neural Network
 
Reconstructing and Watermarking Stereo Vision Systems-PhD Presentation
Reconstructing and Watermarking Stereo Vision Systems-PhD Presentation Reconstructing and Watermarking Stereo Vision Systems-PhD Presentation
Reconstructing and Watermarking Stereo Vision Systems-PhD Presentation
 
Camera Calibration for Video Surveillance
Camera Calibration for Video SurveillanceCamera Calibration for Video Surveillance
Camera Calibration for Video Surveillance
 
Image Based Visual Servoing for Omnidirectional Wheeled Mobile Robots in Volt...
Image Based Visual Servoing for Omnidirectional Wheeled Mobile Robots in Volt...Image Based Visual Servoing for Omnidirectional Wheeled Mobile Robots in Volt...
Image Based Visual Servoing for Omnidirectional Wheeled Mobile Robots in Volt...
 
Gan seminar
Gan seminarGan seminar
Gan seminar
 
Fuzzy entropy based optimal
Fuzzy entropy based optimalFuzzy entropy based optimal
Fuzzy entropy based optimal
 
ICIP2014 Presentation
ICIP2014 PresentationICIP2014 Presentation
ICIP2014 Presentation
 
Simultaneous State and Actuator Fault Estimation With Fuzzy Descriptor PMID a...
Simultaneous State and Actuator Fault Estimation With Fuzzy Descriptor PMID a...Simultaneous State and Actuator Fault Estimation With Fuzzy Descriptor PMID a...
Simultaneous State and Actuator Fault Estimation With Fuzzy Descriptor PMID a...
 
PR 113: The Perception Distortion Tradeoff
PR 113: The Perception Distortion TradeoffPR 113: The Perception Distortion Tradeoff
PR 113: The Perception Distortion Tradeoff
 
NeurIPS22.pptx
NeurIPS22.pptxNeurIPS22.pptx
NeurIPS22.pptx
 
Lecture 5 backpropagation
Lecture 5 backpropagationLecture 5 backpropagation
Lecture 5 backpropagation
 
The information and mutual information ration for counting image features and...
The information and mutual information ration for counting image features and...The information and mutual information ration for counting image features and...
The information and mutual information ration for counting image features and...
 
Flow Trajectory Approach for Human Action Recognition
Flow Trajectory Approach for Human Action RecognitionFlow Trajectory Approach for Human Action Recognition
Flow Trajectory Approach for Human Action Recognition
 
Design of predictive controller for smooth set point tracking for fast dynami...
Design of predictive controller for smooth set point tracking for fast dynami...Design of predictive controller for smooth set point tracking for fast dynami...
Design of predictive controller for smooth set point tracking for fast dynami...
 
Vibration isolation progect lego(r)
Vibration isolation progect lego(r)Vibration isolation progect lego(r)
Vibration isolation progect lego(r)
 
Icra 17
Icra 17Icra 17
Icra 17
 
Multi-focus Application Presentation in ICSSE2017
Multi-focus Application Presentation in ICSSE2017Multi-focus Application Presentation in ICSSE2017
Multi-focus Application Presentation in ICSSE2017
 
Trajectory Based Unusual Human Movement Identification for ATM System
	 Trajectory Based Unusual Human Movement Identification for ATM System	 Trajectory Based Unusual Human Movement Identification for ATM System
Trajectory Based Unusual Human Movement Identification for ATM System
 
Evaluation of conditional images synthesis: generating a photorealistic image...
Evaluation of conditional images synthesis: generating a photorealistic image...Evaluation of conditional images synthesis: generating a photorealistic image...
Evaluation of conditional images synthesis: generating a photorealistic image...
 

More from Krzysztof Wegner

Wprowadzenie teoretyczne do przestrzeni pola światła
Wprowadzenie teoretyczne do przestrzeni pola światłaWprowadzenie teoretyczne do przestrzeni pola światła
Wprowadzenie teoretyczne do przestrzeni pola światła
Krzysztof Wegner
 
Techniki rejestracji i przetwarzania pola światła
Techniki rejestracji i przetwarzania pola światłaTechniki rejestracji i przetwarzania pola światła
Techniki rejestracji i przetwarzania pola światła
Krzysztof Wegner
 
MUCHA StartCupDay
MUCHA StartCupDayMUCHA StartCupDay
MUCHA StartCupDay
Krzysztof Wegner
 
3DoF+ Framework Overview
3DoF+ Framework Overview3DoF+ Framework Overview
3DoF+ Framework Overview
Krzysztof Wegner
 
New omnidirectional test sequences
New omnidirectional test sequencesNew omnidirectional test sequences
New omnidirectional test sequences
Krzysztof Wegner
 
Omni LightFiled System
Omni LightFiled SystemOmni LightFiled System
Omni LightFiled System
Krzysztof Wegner
 
Omni LightFiled Experimental System
Omni LightFiled Experimental SystemOmni LightFiled Experimental System
Omni LightFiled Experimental System
Krzysztof Wegner
 
MTP_2023_Mucha.pptx
MTP_2023_Mucha.pptxMTP_2023_Mucha.pptx
MTP_2023_Mucha.pptx
Krzysztof Wegner
 
Overview of the evaluation framework for 3DoF+
Overview of the evaluation framework for 3DoF+Overview of the evaluation framework for 3DoF+
Overview of the evaluation framework for 3DoF+
Krzysztof Wegner
 
Architektura kodera HEVC-3D Kodowanie wielowidokowych sekwencji wizyjnych z ...
Architektura kodera HEVC-3D Kodowanie wielowidokowych sekwencji wizyjnych z ...Architektura kodera HEVC-3D Kodowanie wielowidokowych sekwencji wizyjnych z ...
Architektura kodera HEVC-3D Kodowanie wielowidokowych sekwencji wizyjnych z ...
Krzysztof Wegner
 
Wyznaczenie map głębi z jednoczesną estymacją przysłonięć
Wyznaczenie map głębi z jednoczesną estymacją przysłonięćWyznaczenie map głębi z jednoczesną estymacją przysłonięć
Wyznaczenie map głębi z jednoczesną estymacją przysłonięć
Krzysztof Wegner
 
Implementacja algorytmów na procesory kart graficznych
Implementacja algorytmów na procesory kart graficznychImplementacja algorytmów na procesory kart graficznych
Implementacja algorytmów na procesory kart graficznych
Krzysztof Wegner
 
Nowoczesne techniki wyznaczania map głębi
Nowoczesne techniki wyznaczania map głębiNowoczesne techniki wyznaczania map głębi
Nowoczesne techniki wyznaczania map głębi
Krzysztof Wegner
 
Poznan Multiview video acquisition system
Poznan Multiview video acquisition systemPoznan Multiview video acquisition system
Poznan Multiview video acquisition system
Krzysztof Wegner
 
Zadanie Domowe z Teorii Sygnałów
Zadanie Domowe z Teorii SygnałówZadanie Domowe z Teorii Sygnałów
Zadanie Domowe z Teorii Sygnałów
Krzysztof Wegner
 

More from Krzysztof Wegner (15)

Wprowadzenie teoretyczne do przestrzeni pola światła
Wprowadzenie teoretyczne do przestrzeni pola światłaWprowadzenie teoretyczne do przestrzeni pola światła
Wprowadzenie teoretyczne do przestrzeni pola światła
 
Techniki rejestracji i przetwarzania pola światła
Techniki rejestracji i przetwarzania pola światłaTechniki rejestracji i przetwarzania pola światła
Techniki rejestracji i przetwarzania pola światła
 
MUCHA StartCupDay
MUCHA StartCupDayMUCHA StartCupDay
MUCHA StartCupDay
 
3DoF+ Framework Overview
3DoF+ Framework Overview3DoF+ Framework Overview
3DoF+ Framework Overview
 
New omnidirectional test sequences
New omnidirectional test sequencesNew omnidirectional test sequences
New omnidirectional test sequences
 
Omni LightFiled System
Omni LightFiled SystemOmni LightFiled System
Omni LightFiled System
 
Omni LightFiled Experimental System
Omni LightFiled Experimental SystemOmni LightFiled Experimental System
Omni LightFiled Experimental System
 
MTP_2023_Mucha.pptx
MTP_2023_Mucha.pptxMTP_2023_Mucha.pptx
MTP_2023_Mucha.pptx
 
Overview of the evaluation framework for 3DoF+
Overview of the evaluation framework for 3DoF+Overview of the evaluation framework for 3DoF+
Overview of the evaluation framework for 3DoF+
 
Architektura kodera HEVC-3D Kodowanie wielowidokowych sekwencji wizyjnych z ...
Architektura kodera HEVC-3D Kodowanie wielowidokowych sekwencji wizyjnych z ...Architektura kodera HEVC-3D Kodowanie wielowidokowych sekwencji wizyjnych z ...
Architektura kodera HEVC-3D Kodowanie wielowidokowych sekwencji wizyjnych z ...
 
Wyznaczenie map głębi z jednoczesną estymacją przysłonięć
Wyznaczenie map głębi z jednoczesną estymacją przysłonięćWyznaczenie map głębi z jednoczesną estymacją przysłonięć
Wyznaczenie map głębi z jednoczesną estymacją przysłonięć
 
Implementacja algorytmów na procesory kart graficznych
Implementacja algorytmów na procesory kart graficznychImplementacja algorytmów na procesory kart graficznych
Implementacja algorytmów na procesory kart graficznych
 
Nowoczesne techniki wyznaczania map głębi
Nowoczesne techniki wyznaczania map głębiNowoczesne techniki wyznaczania map głębi
Nowoczesne techniki wyznaczania map głębi
 
Poznan Multiview video acquisition system
Poznan Multiview video acquisition systemPoznan Multiview video acquisition system
Poznan Multiview video acquisition system
 
Zadanie Domowe z Teorii Sygnałów
Zadanie Domowe z Teorii SygnałówZadanie Domowe z Teorii Sygnałów
Zadanie Domowe z Teorii Sygnałów
 

Recently uploaded

Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 

Recently uploaded (20)

Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 

Camera calibration technique

  • 1. Camera calibration technique wprowadzenie teoretyczne Krzysztof Wegner Chair of Multimedia Telecommunications and Microelectronics Poznań University of Technology, Poland 1
  • 2. Goal of the calibration  Knowledge about  Intrinsic camera parameters  Focal length  Optical center  Extrinsic camera parameters - Position of the camera in 3D world  Orientation of the camera  Translation 2
  • 3. Goal of the calibration  Knowledge about  Intrinsic camera parameters  Focal length  Optical center  Extrinsic camera parameters - Position of the camera in 3D world  Orientation of the camera  Translation  Common word coordinate system 3
  • 4. Camera parameters  Intrinsic camera parameters  Focal length  Optical center  Extrinsic camera parameters - Position of the camera in 3D world  Orientation of the camera  Translation 4 𝑨 = 𝑓𝑢 𝛾 𝑜 𝑢 0 𝑓𝑣 𝑜 𝑣 0 0 1 𝑹 = 𝒓 𝟏 𝒓 𝟐 𝒓 𝟑 𝑻 = 𝑡 𝑥 𝑡 𝑦 𝑡 𝑧
  • 5. Camera model  Projection of a 3D point 𝑴 = 𝑋 𝑌 𝑍 1 𝑇  Onto a point 𝒎 = 𝑢 𝑣 1 𝑇 at image plane  s is a scale – distance to the point 𝑴 5 𝑠 ∙ 𝑢 𝑣 1 = 𝐴 ∙ 𝑅 −𝑅 ∙ 𝑇 ∙ 𝑋 𝑌 𝑍 1
  • 6. Zhang’s Algorithm  Allows estimation of  intrinsic parameters - 𝑨 matrix  extrinsic parameters – rotation matrix 𝑹 and translation vector 𝒕 = −𝑹 ∙ 𝒕  Planar template  𝑍 = 0 6 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑠 ∙ 𝑢 𝑣 1 = 𝐴 ∙ 𝑟1 𝑟2 𝑟3 𝑡 ∙ 𝑋 𝑌 𝑍 1
  • 7. Zhang’s algorithm  Planar template  𝑍 = 0 7 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑯 = 𝑨 ∙ 𝒓 𝟏 𝒓2 𝒕 𝑠 ∙ 𝑢 𝑣 1 = 𝑨 ∙ 𝒓 𝟏 𝒓 𝟐 𝒓 𝟑 𝒕 ∙ 𝑋 𝑌 𝑍 1 = 𝑨 ∙ 𝒓 𝟏 𝒓 𝟐 𝒓 𝟑 𝒕 ∙ 𝑋 𝑌 0 1 = = 𝑨 ∙ 𝒓 𝟏 ∙ 𝑋 + 𝒓 𝟐 ∙ 𝑌 + 𝒓 𝟑 ∙ 0 + 𝒕 ∙ 1 = 𝑨 ∙ 𝒓 𝟏 ∙ 𝑋 + 𝒓 𝟐 ∙ 𝑌 + 𝒕 ∙ 1 = = 𝑨 ∙ 𝒓 𝟏 𝒓2 𝒕 ∙ 𝑋 𝑌 1 = 𝑯 ∙ 𝑋 𝑌 1
  • 8. Zhang’s algorithm  Planar template  𝑍 = 0 8 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑯 = 𝑨 ∙ 𝒓 𝟏 𝒓2 𝒕 𝑠 ∙ 𝑢 𝑣 1 = 𝑨 ∙ 𝒓 𝟏 𝒓 𝟐 𝒓 𝟑 𝒕 ∙ 𝑋 𝑌 𝑍 1 = 𝑨 ∙ 𝒓 𝟏 𝒓 𝟐 𝒓 𝟑 𝒕 ∙ 𝑋 𝑌 0 1 = = 𝑨 ∙ 𝒓 𝟏 ∙ 𝑋 + 𝒓 𝟐 ∙ 𝑌 + 𝒓 𝟑 ∙ 0 + 𝒕 ∙ 1 = 𝑨 ∙ 𝒓 𝟏 ∙ 𝑋 + 𝒓 𝟐 ∙ 𝑌 + 𝒕 ∙ 1 = = 𝑨 ∙ 𝒓 𝟏 𝒓2 𝒕 ∙ 𝑋 𝑌 1 = 𝑯 ∙ 𝑋 𝑌 1
  • 9. Estimating Homography H  We know position of the pattern’s feature points 𝑋, 𝑌  From registrated image we know 𝑢, 𝑣  So 9 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑠 ∙ 𝑢 𝑣 1 = 𝑯 ∙ 𝑋 𝑌 1 𝑠 ∙ 𝑢 𝑣 1 = 𝐻11 𝐻12 𝐻13 𝐻21 𝐻22 𝐻23 𝐻31 𝐻32 𝐻33 ∙ 𝑋 𝑌 1 𝑠 ∙ 𝑢 = 𝐻11 ∙ 𝑋 + 𝐻12 ∙ 𝑌 + 𝐻13 𝑠 ∙ 𝑣 = 𝐻21 ∙ 𝑋 + 𝐻22 ∙ 𝑌 + 𝐻23 𝑠 = 𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33 𝑢 = 𝐻11 ∙ 𝑋 + 𝐻12 ∙ 𝑌 + 𝐻13 𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33 𝑣 = 𝐻21 ∙ 𝑋 + 𝐻22 ∙ 𝑌 + 𝐻23 𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33
  • 10. Estimating Homography H  We know position of the pattern’s feature points 𝑋, 𝑌  From registrated image we know 𝑢, 𝑣 10 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑢 = 𝐻11 ∙ 𝑋 + 𝐻12 ∙ 𝑌 + 𝐻13 𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33 𝑣 = 𝐻21 ∙ 𝑋 + 𝐻22 ∙ 𝑌 + 𝐻23 𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33 𝑢 ∙ 𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33 = 𝐻11 ∙ 𝑋 + 𝐻12 ∙ 𝑌 + 𝐻13 𝑣 ∙ 𝐻31 ∙ 𝑋 + 𝐻32 ∙ 𝑌 + 𝐻33 = 𝐻21 ∙ 𝑋 + 𝐻22 ∙ 𝑌 + 𝐻23 𝐻31 ∙ 𝑢 ∙ 𝑋 + 𝐻32 ∙ 𝑢 ∙ 𝑌 + 𝑢 ∙ 𝐻33 − 𝐻11 ∙ 𝑋 − 𝐻12 ∙ 𝑌 − 𝐻13 = 0 𝐻31 ∙ 𝑣 ∙ 𝑋 + 𝐻32 ∙ 𝑣 ∙ 𝑌 + 𝑣 ∙ 𝐻33 − 𝐻21 ∙ 𝑋 − 𝐻22 ∙ 𝑌 − 𝐻23 = 0 𝐻11 ∙ 𝑋 + 𝐻12 ∙ 𝑌 + 𝐻13 − 𝐻31 ∙ 𝑢 ∙ 𝑋 − 𝐻32 ∙ 𝑢 ∙ 𝑌 − 𝑢 ∙ 𝐻33 = 0 𝐻21∙ 𝑋 + 𝐻22 ∙ 𝑌 + 𝐻23 − 𝐻31 ∙ 𝑣 ∙ 𝑋 − 𝐻32 ∙ 𝑣 ∙ 𝑌 − 𝑣 ∙ 𝐻33 = 0
  • 11. Estimating Homography H  Let’s assign  We have 2 equations and 9 variables so we need at least 5 points to solve uniquely for ℎ 11 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝐻11 ∙ 𝑋 + 𝐻12 ∙ 𝑌 + 𝐻13 − 𝐻31 ∙ 𝑢 ∙ 𝑋 − 𝐻32 ∙ 𝑢 ∙ 𝑌 − 𝑢 ∙ 𝐻33 = 0 𝐻21∙ 𝑋 + 𝐻22 ∙ 𝑌 + 𝐻23 − 𝐻31 ∙ 𝑣 ∙ 𝑋 − 𝐻32 ∙ 𝑣 ∙ 𝑌 − 𝑣 ∙ 𝐻33 = 0 𝒄 𝒖 ∙ 𝒉 = 𝟎 𝒄 𝒗 ∙ 𝒉 = 𝟎 𝒄 𝒖 = 𝑋 𝑌 1 0 0 0 −𝑢 ∙ 𝑋 −𝑢 ∙ 𝑌 −𝑢 𝒄 𝒖 = 0 0 0 𝑋 𝑌 1 −𝑣 ∙ 𝑋 −𝑣 ∙ 𝑌 −𝑣
  • 12. Estimating Homography H  Defined up to a scale factor 𝜆  We know position of the pattern’s feature points 𝑋, 𝑌  From registrated image we know 𝑢, 𝑣  Multiplication of both side by 𝜆 don’t change known 𝑋, 𝑌, 𝑢, 𝑣  So we don’t know whether we obtain 𝑯 or 𝑯  So we don’t know scale of the scene 12 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑠 ∙ 𝑢 𝑣 1 = 𝑯 ∙ 𝑋 𝑌 1 𝜆 ∙ 𝑠 ∙ 𝑢 𝑣 1 = 𝝀 ∙ 𝑯 ∙ 𝑋 𝑌 1 𝜆 ∙ 𝑠 ∙ 𝑢 𝑣 1 = 𝑯 ∙ 𝑋 𝑌 1
  • 13. Homography H  Defined up to a scale factor 𝜆  We know position of the pattern’s feature points 𝑋, 𝑌  From registrated image we know 𝑢, 𝑣 13 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑠 ∙ 𝑢 𝑣 1 = 𝑯 ∙ 𝑋 𝑌 1
  • 14. Homography H  Defined up to a scale factor 𝜆  We know position of the pattern’s feature points 𝑋, 𝑌  From registrated image we know 𝑢, 𝑣  Multiplication of both side by 𝜆 don’t change known 𝑋, 𝑌, 𝑢, 𝑣 14 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑠 ∙ 𝑢 𝑣 1 = 𝑯 ∙ 𝑋 𝑌 1 𝜆 ∙ 𝑠 ∙ 𝑢 𝑣 1 = 𝝀 ∙ 𝑯 ∙ 𝑋 𝑌 1 𝜆 ∙ 𝑠 ∙ 𝑢 𝑣 1 = 𝑯 ∙ 𝑋 𝑌 1
  • 15. Homography H  Defined up to a scale factor 𝜆  Multiplication of both side by 𝜆 don’t change known 𝑋, 𝑌, 𝑢, 𝑣  So we don’t know whether we obtain 𝑯 or 𝑯  So we don’t know Z scale of the scene 15 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑠 ∙ 𝑢 𝑣 1 = 𝑯 ∙ 𝑋 𝑌 1 𝜆 ∙ 𝑠 ∙ 𝑢 𝑣 1 = 𝝀 ∙ 𝑯 ∙ 𝑋 𝑌 1 𝜆 ∙ 𝑠 ∙ 𝑢 𝑣 1 = 𝑯 ∙ 𝑋 𝑌 1
  • 16. Constraints on the intrinsic  Vectors 𝒓 𝟏, 𝒓 𝟐 are orthonormal so taking dot product gives  and length of 𝒓 𝟏, 𝒓 𝟐 should be the same  For  we have  and 16 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑯 = 𝒉 𝟏 𝒉 𝟐 𝒉 𝟑 = 𝜆 ∙ 𝑨 ∙ 𝒓 𝟏 𝒓2 𝒕 𝒓 𝟏 𝑻 ∙ 𝒓 𝟐 = 𝟎 𝒓 𝟏 𝟐 = 𝒓 𝟐 𝟐 ⟹ 𝒓 𝟏 𝑻 ∙ 𝒓 𝟏 = 𝒓 𝟐 𝑻 ∙ 𝒓 𝟐 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 𝒉 𝟐 𝒉 𝟑 = 𝒓 𝟏 𝒓2 𝒕 𝒓 𝟏 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 𝒓2 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 𝒕 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟑
  • 17. Constraints on the intrinsic  Puting all together 17 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝒓 𝟏 𝑻 ∙ 𝒓 𝟐 = 𝟎 𝒓 𝟏 𝑻 ∙ 𝒓 𝟏 = 𝒓 𝟐 𝑻 ∙ 𝒓 𝟐 𝒓 𝟏 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 𝒓2 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 𝒕 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟑 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 𝑻 ∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 = 𝟎 𝒉 𝟏 𝑻 ∙ 𝑨−𝑻 ∙ 𝜆−1∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 = 𝟎 𝒉 𝟏 𝑻 ∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 = 𝟎 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 𝑻 ∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 𝑻 ∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 𝒉 𝟏 𝑻 ∙ 𝑨−𝑻 ∙ 𝜆−1 ∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 = 𝒉 𝟐 𝑻 ∙ 𝑨−𝑻 ∙ 𝜆−1 ∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 𝒉 𝟏 𝑻 ∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 = 𝒉 𝟐 𝑻 ∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐
  • 18. Constraints on the intrinsic  Puting all together 18 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝒓 𝟏 𝑻 ∙ 𝒓 𝟐 = 𝟎 𝒓 𝟏 𝑻 ∙ 𝒓 𝟏 = 𝒓 𝟐 𝑻 ∙ 𝒓 𝟐 𝒓 𝟏 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 𝒓2 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 𝒕 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟑 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 𝑻 ∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 = 𝟎 𝒉 𝟏 𝑻 ∙ 𝑨−𝑻 ∙ 𝜆−1∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 = 𝟎 𝒉 𝟏 𝑻 ∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 = 𝟎 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 𝑻 ∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 𝑻 ∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 𝒉 𝟏 𝑻 ∙ 𝑨−𝑻 ∙ 𝜆−1 ∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 = 𝒉 𝟐 𝑻 ∙ 𝑨−𝑻 ∙ 𝜆−1 ∙ 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 𝒉 𝟏 𝑻 ∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 = 𝒉 𝟐 𝑻 ∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐
  • 19. Closed form solution  Try to solve  Intrinsic matrix  Let’s assign 19 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑨 = 𝑓𝑢 𝛾 𝑜 𝑢 0 𝑓𝑣 𝑜 𝑣 0 0 1 𝒉 𝟏 𝑻 ∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 = 𝟎 𝒉 𝟏 𝑻 ∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 = 𝒉 𝟐 𝑻 ∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 𝑩 = 𝑨−𝑻 ∙ 𝑨−𝟏 𝑩 = 1 𝑓𝑢 2 −𝛾 𝑓𝑢 2 𝑓𝑣 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 𝑓𝑢 2 𝑓𝑣 −𝛾 𝑓𝑢 2 𝑓𝑣 1 𝑓𝑣 2 + 𝛾2 𝑓𝑢 2 𝑓𝑣 2 −𝑜 𝑣 𝑓𝑣 2 − 𝛾 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 𝑓𝑢 2 𝑓𝑣 2 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 𝑓𝑢 2 𝑓𝑣 −𝑜 𝑣 𝑓𝑣 2 − 𝛾 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 𝑓𝑢 2 𝑓𝑣 2 1 + 𝑜 𝑣 2 𝑓𝑣 2 + 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 2 𝑓𝑢 2 𝑓𝑣 2 = 𝐵11 𝐵12 𝐵13 𝐵12 𝐵22 𝐵23 𝐵13 𝐵23 𝐵33
  • 20. Closed form solution  Let’s assign  𝑩 is symetrical  Let’s assign 20 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑩 = 𝑨−𝑻 ∙ 𝑨−𝟏 𝑩 = 1 𝑓𝑢 2 −𝛾 𝑓𝑢 2 𝑓𝑣 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 𝑓𝑢 2 𝑓𝑣 −𝛾 𝑓𝑢 2 𝑓𝑣 1 𝑓𝑣 2 + 𝛾2 𝑓𝑢 2 𝑓𝑣 2 −𝑜 𝑣 𝑓𝑣 2 − 𝛾 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 𝑓𝑢 2 𝑓𝑣 2 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 𝑓𝑢 2 𝑓𝑣 −𝑜 𝑣 𝑓𝑣 2 − 𝛾 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 𝑓𝑢 2 𝑓𝑣 2 1 + 𝑜 𝑣 2 𝑓𝑣 2 + 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 2 𝑓𝑢 2 𝑓𝑣 2 = 𝐵11 𝐵12 𝐵13 𝐵12 𝐵22 𝐵23 𝐵13 𝐵23 𝐵33 𝒃 = 𝐵11 𝐵12 𝐵13 𝐵22 𝐵23 𝐵33
  • 21. Closed form solution  We try to solve  Let’s see pattern in the equations 21 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝒉 𝟏 𝑻 ∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 = 𝟎 𝒉 𝟏 𝑻 ∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 = 𝒉 𝟐 𝑻 ∙ 𝑨−𝑻 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 𝑩 = 𝑨−𝑻 ∙ 𝑨−𝟏 𝒉 𝟏 𝑻 ∙ 𝑩 ∙ 𝒉 𝟐 = 𝟎 𝒉 𝟏 𝑻 ∙ 𝑩 ∙ 𝒉 𝟏 = 𝒉 𝟐 𝑻 ∙ 𝑩 ∙ 𝒉 𝟐 𝒉𝒊 𝑻 ∙ 𝑩 ∙ 𝒉𝒋 = 𝒗𝒊𝒋 𝑻 ∙ 𝒃 𝒉𝒊 𝑻 ∙ 𝑩 ∙ 𝒉𝒋 = 𝒉𝒊 𝑻 ∙ 𝐵11 𝐵12 𝐵13 𝐵12 𝐵22 𝐵23 𝐵13 𝐵23 𝐵33 ∙ 𝒉𝒋=𝒉𝒊 𝑻 ∙ 𝐵11 ∙ ℎ𝑗1 + 𝐵12 ∙ ℎ𝑗2 + 𝐵13 ∙ ℎ𝑗3 𝐵12 ∙ ℎ𝑗1 + 𝐵22 ∙ ℎ𝑗2 + 𝐵23 ∙ ℎ𝑗3 𝐵13 ∙ ℎ𝑗1 + 𝐵23 ∙ ℎ𝑗2 + 𝐵33 ∙ ℎ𝑗3 = = 𝐵11 ∙ ℎ𝑖1 ∙ ℎ𝑗1 + 𝐵12 ∙ ℎ𝑖1 ∙ ℎ𝑗2 + 𝐵13 ∙ ℎ𝑖1 ∙ ℎ𝑗3 + = 𝒗𝒊𝒋 𝑻 ∙ 𝒃 +𝐵12 ∙ ℎ𝑖2 ∙ ℎ𝑗1 + 𝐵22 ∙ ℎ𝑖2 ∙ ℎ𝑗2 + 𝐵23 ∙ ℎ𝑖2 ∙ ℎ𝑗3 + +𝐵13 ∙ ℎ𝑖3 ∙ ℎ𝑗1 + 𝐵23 ∙ ℎ𝑖3 ∙ ℎ𝑗2 + 𝐵33 ∙ ℎ𝑖3 ∙ ℎ𝑗3 𝒗𝒊𝒋 𝑻 = ℎ𝑖1 ∙ ℎ𝑗1 ℎ𝑖1 ∙ ℎ𝑗2 + ℎ𝑖2 ∙ ℎ𝑗1 ℎ𝑖1 ∙ ℎ𝑗3 + ℎ𝑖3 ∙ ℎ𝑗1 ℎ𝑖2 ∙ ℎ𝑗2 ℎ𝑖2 ∙ ℎ𝑗3 + ℎ𝑖3 ∙ ℎ𝑗2 ℎ𝑖3 ∙ ℎ𝑗3
  • 22. Closed form solution  We try to solve  so 22 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝒉 𝟏 𝑻 ∙ 𝑩 ∙ 𝒉 𝟐 = 𝟎 𝒉 𝟏 𝑻 ∙ 𝑩 ∙ 𝒉 𝟏 − 𝒉 𝟐 𝑻 ∙ 𝑩 ∙ 𝒉 𝟐 = 𝟎 𝒉𝒊 𝑻 ∙ 𝑩 ∙ 𝒉𝒋 = 𝒗𝒊𝒋 𝑻 ∙ 𝒃 𝒗 𝟏𝟐 𝑻 ∙ 𝒃 = 𝟎 𝒗 𝟏𝟏 𝑻 ∙ 𝒃 − 𝒗 𝟐𝟐 𝑻 ∙ 𝒃 = 𝟎 𝒗 𝟏𝟐 𝑻 ∙ 𝒃 = 𝟎 𝒗 𝟏𝟏 𝑻 − 𝒗 𝟐𝟐 𝑻 ∙ 𝒃 = 𝟎 𝒗 𝟏𝟐 𝑻 𝒗 𝟏𝟏 − 𝒗 𝟐𝟐 𝑻 ∙ 𝒃 = 𝟎
  • 23. Solving for b  Two equation are defined but 𝒃 have 6 unknowns.  So at least 3 images are required to uniquly solve for 𝒃  Because all images are captured with the same camera we can stack equation for 𝒃 together 23 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝒗 𝟏𝟐 𝑻 𝒗 𝟏𝟏 − 𝒗 𝟐𝟐 𝑻 ∙ 𝒃 = 𝟎 𝒗 𝟏𝟐 ′𝑻 𝒗′ 𝟏𝟏 − 𝒗′ 𝟐𝟐 𝑻 ∙ 𝒃 = 𝟎 𝒗′′ 𝟏𝟐 𝑻 𝒗′′ 𝟏𝟏 − 𝒗′′ 𝟐𝟐 𝑻 ∙ 𝒃 = 𝟎 𝒗 𝟏𝟐 𝑻 𝒗 𝟏𝟏 − 𝒗 𝟐𝟐 𝑻 ∙ 𝒃 = 𝟎 𝒗 𝟏𝟐 𝑻 𝒗 𝟏𝟏 − 𝒗 𝟐𝟐 𝑻 𝒗 𝟏𝟐 ′𝑻 𝒗′ 𝟏𝟏 − 𝒗′ 𝟐𝟐 𝑻 𝒗′′ 𝟏𝟐 𝑻 𝒗′′ 𝟏𝟏 − 𝒗′′ 𝟐𝟐 𝑻 ∙ 𝒃 = 𝟎 𝑽 = 𝒗 𝟏𝟐 𝑻 𝒗 𝟏𝟏 − 𝒗 𝟐𝟐 𝑻 𝒗 𝟏𝟐 ′𝑻 𝒗′ 𝟏𝟏 − 𝒗′ 𝟐𝟐 𝑻 𝒗′′ 𝟏𝟐 𝑻 𝒗′′ 𝟏𝟏 − 𝒗′′ 𝟐𝟐 𝑻
  • 24. Solving for b  There is trivia solution 𝒃 = 𝟎  But we look for non trivial solution so 𝒃 ≠ 𝟎  Such solution is given by eigenvector of asociated with the smallest eigenvalue (right singulart vector of 𝑽) 24 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑽 ∙ 𝒃 = 𝟎 𝑽 𝑻 ∙ 𝑽
  • 25. Retriving intrinsic parameters  Once we have  We can calculate intrinsic parameters from 25 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝑩 = 1 𝑓𝑢 2 −𝛾 𝑓𝑢 2 𝑓𝑣 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 𝑓𝑢 2 𝑓𝑣 −𝛾 𝑓𝑢 2 𝑓𝑣 1 𝑓𝑣 2 + 𝛾2 𝑓𝑢 2 𝑓𝑣 2 −𝑜 𝑣 𝑓𝑣 2 − 𝛾 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 𝑓𝑢 2 𝑓𝑣 2 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 𝑓𝑢 2 𝑓𝑣 −𝑜 𝑣 𝑓𝑣 2 − 𝛾 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 𝑓𝑢 2 𝑓𝑣 2 1 + 𝑜 𝑣 2 𝑓𝑣 2 + 𝑜 𝑣 𝛾 − 𝑓𝑣 𝑜 𝑢 2 𝑓𝑢 2 𝑓𝑣 2 = 𝐵11 𝐵12 𝐵13 𝐵12 𝐵22 𝐵23 𝐵13 𝐵23 𝐵33 𝒃 = 𝐵11 𝐵12 𝐵13 𝐵22 𝐵23 𝐵33 𝑜 𝑣 = 𝐵12 ∙ 𝐵13 − 𝐵11 ∙ 𝐵23 𝐵11 ∙ 𝐵22 − 𝐵12 2 𝑓𝑢 = 𝜆 𝐵11 𝜆 = 𝐵33 − 𝐵13 2 + 𝑜 𝑣 𝐵12 ∙ 𝐵13 − 𝐵11 ∙ 𝐵23 𝐵11 𝑓𝑣 = 𝜆 ∙ 𝐵11 𝐵11 ∙ 𝐵22 − 𝐵12 2 𝛾 = −𝐵12 ∙ 𝑓𝑢 2 ∙ 𝑓𝑣 𝜆 𝑜 𝑢 = 𝛾 ∙ 𝑜 𝑣 𝑓𝑣 − 𝐵13 𝑓𝑢 2 𝜆
  • 26. Retriving position  We know constraints  To complete rotation matrix we calculater third column  Finally we ortonormalize rotation matrix 26 Z. Zhang, “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000 𝒓 𝟏 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟏 𝒓2 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟐 𝒕 = 𝜆−1 ∙ 𝑨−𝟏 ∙ 𝒉 𝟑 𝒓 𝟑 = 𝒓 𝟏 × 𝒓 𝟐 𝒓 𝟏 = 𝒓 𝟐 = 𝒓 𝟑 = 𝟏
  • 27. Summary  Camera parameters requires at least 5 point pattern  Intrinsic camera parameters estimation requires at least 3 images at different orientation  All parameters are defined up to a unknown scale M37232, October 2015, Geneve 27