0% found this document useful (0 votes)
38 views5 pages

Computer Vision: Camera Geometry Quiz

The document outlines a certification course on Computer Vision, specifically focusing on Single View Camera Geometry, with a total of 10 multiple-choice questions. Each question includes a projection matrix and requires calculations related to camera geometry, such as finding camera centers, image coordinates, and principal axes. Correct answers and detailed solutions are provided for each question.

Uploaded by

Shweta Upadhyaya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views5 pages

Computer Vision: Camera Geometry Quiz

The document outlines a certification course on Computer Vision, specifically focusing on Single View Camera Geometry, with a total of 10 multiple-choice questions. Each question includes a projection matrix and requires calculations related to camera geometry, such as finding camera centers, image coordinates, and principal axes. Correct answers and detailed solutions are provided for each question.

Uploaded by

Shweta Upadhyaya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Nptel Online Certification Course: Computer Vision

Week 3: Single View Camera Geometry


Type of questions: MCQ/MSQ
Number of questions: 10 Total marks: 10 X 2 = 20

QUESTION 1:
 
8 5 4 0
A projective camera P = 1 3 5 0 images a 3D line L as l = (1, 2, 3). Compute the plane
 
2 1 1 0
 
formed by projected line l and camera center.

a) (16, 14, 17, 0)

b) (8, 12, 12.5, 0)

c) (16, 24, 25, 0)

d) (1, 2, 2, 1)

Correct Answer: a
Detailed Solution: Plane formed by the camera center C and l is given as PT l.

QUESTION 2:
 
 3 0 1 0
Consider a projection matrix P = −1 1 3 0, evaluate the camera centre in
 
2 0 −1 1
 
homogeneous coordinates.

a) (−1/3, 0, 1/3, 1)

b) (2/3, 0, −1/3, 1)

c) (−1/5, −2, 3/5, 1)

d) (0.5, 0, 0.5, 1)

Correct Answer: c
Detailed Solution: Considering the left 3x3 sub matrix of P as M and last column of P as
p4 , camera center is given by C = (−M −1 p4 , 1)

1
QUESTION 3: Type: MCQ
Find out the direction
 of principal axis of the camera with projection matrix P =
 3 8 −1 7
−2 5 6 0
 
3 0 0 1
a) (3, 0, 0)

b) (9, −2, 1)

c) (2, 0, 1)

d) (7, 0, 1)

Correct Answer: a
Detailed Solution: The direction of principal axis is given by m3 (first three values of third
row)

QUESTION 4: Type: MCQ


A pinhole camera has thefollowing projection
 matrix:
80 0 32 0
A projective camera P =  0 80 24 0. A 3D world point X = (2, 1, 5) meters. What are
 
0 0 1 0
 
the image coordinates (x,y) of X?

a) (48, 32)

b) (64, 40)

c) (32, 24)

d) (40, 72)

Correct Answer: b
Detailed Solution:
Using the pinhole camera model:
X 2
x= f + p x = 80 · + 32 = 32 + 32 = 64
Z 5
Y 1
y = f + py = 80 · + 24 = 16 + 24 = 40
Z 5

2
QUESTION 5: Type:MCQ
 
7 4 3 0
Consider that the camera projection matrix P = 2 3 4 0, two image points x1 = (2, 5), x2
 
1 5 6 0
 
= (7, 9) and the camera center O. Find the unit normal to plane Ox1 x2 .
a) (−0.70, 0.70, 0.16)
b) (0.26, 0.65, 0.71)
c) (0.20, 0.50, 0.84)
d) (0.38, 0.86, 0.126)
Correct Answer: b
Detailed Solution: Normal to the plane Ox1 x2 is given as PT (x1 × x2 ). Unit vector is
obtained by dividing the vector with its magnitude.

QUESTION 6: Type: MCQ


Consider a camera centric world coordinate system with the image plane parallel to principal
plane and its x and y coordinate axes are parallel to those of world coordinate system
respectively. If the principal point is located at (3, 5) in the coordinate system of the image
plane, what would be the projection matrix of a pin hole camera with focal length f = 9?
 
9 0 3 0
a) 0 3 5 0
 
0 0 1 0
 
 
9 0 3 0
b) 0 9 5 0
 
0 0 1 0
 
 
3 0 3 0
c) 0 3 5 0
 
0 0 0 0
 
 
3 0 2 3
d) 0 3 5 0
 
0 0 1 0
 

Correct Answer: b
Detailed Solution: For a pin hole camera with focal length f and offset p x and py , projection
 
 f 0 p x 0
matrix is given by  0 f py 0
 
0 0 1 0
 

3
QUESTION 7:
Given the homography
 matrix:
1 3 5
H = 4 3 7
 
5 −4 2
 
Choose the correct option from the given ones. (MSQ)

a) H is singular.

b) H is invertible.

c) H maps a point in P2 to R3 .

d) H maps a point in P2 to P2 .

Answer: b) and d)
Solution:

QUESTION 8:
 
1 0 3 0
Given a projection matrix P = 2 1 5 0, compute the vanishing point of a line in image
 
3 0 −1 1
 
coordinates with direction ratio 4 : 3 : 2.

a) (1, 1.5)

b) (1, 2.1)

c) (1.5, 1.2)

d) (1.33, 3.33)

Correct Answer: b
Detailed Solution: Vanishing point of the line with direction ratio a : b : c = P(a, b, c, 0)T .

4
QUESTION 9:
Find  out the principal
 point in 2D real space and principal axis vector of the camera matrix P
−3 −6 −8 0
=  2 5 7 0
 
1 2 0 1
 

a) (−3, 2.4), k(1, 2, 0), where k is an integer

b) (0, 2), k(−2, 0, 3), where k is an integer

c) (2, 2), k(−2, 0, 1), where k is an integer

d) (0, 0), k(−2, 0, 2), where k is an integer

Correct Answer: a
Detailed Solution: Principal point of the camera is given by Mm3 , where M and m3T are
left hand 3x3 and third row of M. The principal axis vector is given by km3 where k is an
integer.

QUESTION 10:
Which of the following conditions are true for a homography caused by pure rotation of a
camera around its center?

a) The homography can be expressed as H = KRK −1 .

b) The Vanishing line is the intersection of the image plane with a plane through the camera
center and parallel to the scene plane.

c) The vanishing line depends on the position of the camera but not its orientation

d) The camera undergoes translation but not rotation.

Correct Answer: a, b

Common questions

Powered by AI

The vanishing point of a line with direction ratios (a, b, c) is computed using the projection matrix P and the formula P(a, b, c, 0)^T. This allows us to find the coordinates of the vanishing point in the image plane .

For a pinhole camera, the projection matrix is defined using the focal length f and the principal point (px, py): \( P = \begin{bmatrix} f & 0 & px & 0 \\ 0 & f & py & 0 \\ 0 & 0 & 1 & 0 \end{bmatrix} \).

In the pinhole camera model, the image coordinates (x, y) of a 3D point X = (X, Y, Z) are calculated using the formula: x = f X / Z + px and y = f Y / Z + py, where f is the focal length of the camera, and (px, py) is the principal point offset in the image plane .

The principal axis direction of a projective camera is determined from the third column of the first three rows of the camera's projection matrix. This column, often referred to as m3, defines the direction vector of the principal axis .

The principal point in 2D real space is determined by the multiplication of the matrix M with m3, where M is the left-hand 3x3 matrix from the projection matrix, and m3 is the third row of M. The principal axis vector is derived by scaling m3 with an integer k, providing a direction vector in the 3D space .

To determine the plane formed by the camera center and a projected line in a projective camera model, we use the formula PTl, where P is the projection matrix of the camera and l is the line in image coordinates. This calculation gives the coefficients of the plane in homogeneous coordinates .

When a point from the projective plane P2 is mapped by a homography matrix H to R3, it undergoes affine transformation which retains the dimensional context but allows scaling and translation. In the context of P2 to P2, the point undergoes projective transformation, maintaining collinearity and cross-ratio .

The unit normal to a plane formed by the camera center and two image points is calculated using the cross product of the points, followed by multiplication with the transpose of the projection matrix, PT. The resulting normal vector is then normalized to obtain the unit normal .

To find the camera center in homogeneous coordinates from a given projection matrix P, consider the left 3x3 submatrix as M, and the last column of P as p4. The camera center is given by C = (−M−1p4, 1), which involves inverting the matrix M and multiplying by the negative of p4 .

A homography matrix representing pure camera rotation around its center is expressible as H = KRK^−1, where K is the camera calibration matrix and R is the rotation matrix. This form highlights that the homography captures rotation without translation or deformation. The vanishing line is the intersection of the image plane with a plane through the camera center parallel to the scene plane, indicating that spatial relationships dependent on the camera’s own perspective are preserved .

You might also like