Professional Documents
Culture Documents
Jayanta Mukhopadhyay
Dept. of Computer Science and Engg.
Image formation in optical
camera
O
p
Pinhole camera
Z Principal axis
Y
World coordinate
Focal
P (X,Y,Z)
length f o
p(x,y) Image coordinate
C
Image plane
Camera Center
Principal plane X
(XY-plane)
Pinhole camera
Y (0,Y,Z) Z
P (X,Y,Z)
(X,0,Z)
f o
p(x,y)
C
X
Pinhole Camera:
Mapping from P →P
3 2
O Principal
point
X
Projection Matrix under the
offset
Y
P
Z p
𝑋
C 𝒙=𝐾 𝐼 0] 𝑅 −𝑅 𝐶ሚ 𝑌
R,t 0 1 𝑍
Xc 1
O X
CCD Camera model
No. of pixels
per unit length
General Projective Camera
3
3
11 d.o.f
5
Extrinsic parameters: R, t
Intrinsic parameters: K
K -1
For n correspondences
Principal point
Y
P
Z p
C
R,t Principal plane
O X Xc
Properties of projective
camera matrix P=[M | p4]
Properties of projective
camera matrix P=[M | p4]
Projective camera on points
Principal Axis
Unit vector
Computing camera center for
P=[M | p4]
Camera parameters from P
Exercise -1
Consider the following projection matrix.
=40
(l,m,n)
Q. 2(b)
◼ Compute the principal plane of the imaging
system.
Image point of a point in a principal plane: (x,y,0)
r3TX=0 The last row of P.
(1,-5, 8, 1)
Non-affine: Otherwise
Affine projection
For n points
Projective Camera on plane
Z
q Q
Y
C X Z=0
Perspective projection of
scene plane is a
projective
transformation.
Projective camera on a line
X
L
l
x
C
Fixed camera center and
moving image plane
X
x2
x1
C
Simple zooming (k=f2/f1, R=I)
Z
x’
f1
f2
Simple Zooming
The effect of
zooming by a
factor k is to
multiply the
calibration
matrix K on
the right by
diag(k,k,1).
Rotation about an axis passing
through the camera center
(assuming at origin)
From Hartley and Zisserman, “Multiple view geometry in computer vision”, Cambridge Univ. Press (2000)
Application-I: Generation of
synthetic view
Fronto-parallel view
1. Compute H.
2. Warp the source image with H.
Planar panoramic mosaicing
Ref. plane
H1 H2
Vanishing point
v
C
x4
Image line x1
L
X1 X2 X3 X4
Vanishing point of a line L is the intersecting point in
the image plane parallel to L and passing through the
camera center C.
Vanishing points
||l to L
R
v
L
r
Q
C q
L
Exercise-3
Suppose a camera has the following projection
matrix P.