Lab 2
Class Logistics & HW1 Review
Class and Lab timings
Office Hours and Campuswire
Grading
Homework
Project and Class Participation
Homework 1 & Intrinsic/Extrinsic Parameters
Slides courtesy: Irmak Guzey
Homework 1
Extrinsic and Intrinsic parameters
Image credits: https://towardsdatascience.com/what-are-intrinsic-and-extrinsic-camera-parameters-in-computer-vision-7071b72fb8ec
�
Finding the projection matrix
Here, m (3x4) is the projection matrix of the system
From Eq 1.20, we can have the image positions (xi, yi) of n fiducial points P i(i = 1, . . . , n)
with known homogeneous coordinate vectors Pi as,
Finding the projection matrix
Here, m (3x4) is the projection matrix of the system
Finding the projection matrix
Here, m (3x4) is the projection matrix of the system
We need to solve this equation where P and m can be represented as:
How?
Singular Value Decomposition for Linear Equations
Image taken from https://en.wikipedia.org/wiki/Singular_value_decomposition
https://numpy.org/doc/stable/reference/generated/numpy.linalg.svd.html
When we have a transformation (or any matrix), SVD is used to decompose this transformation matrix into 3 different parts.
Details are not in the scope of this course.
Extracting Parameters from Projection Matrix
Theta: Angle between the physical and normalized image place.
When there is a skew.
Wanted: Since we know the projection matrix, if we can write the projection matrix with the values of intrinsic and extrinsic matrix, we can extract these matrices.
Extracting Intrinsic Parameters from Projection Matrix
Extracting Intrinsic Parameters from Projection Matrix
If the principal center of the retina is not in the origin of the camera
Extracting Intrinsic Parameters from Projection Matrix
If the principal center of the retina is not in the origin of the camera
If the angle between physical and normalized image planes is not 90 degrees.
Extracting Intrinsic Parameters from Projection Matrix
K: Intrinsic Matrix With 5 parameters:
Extracting Extrinsic Parameters from Projection Matrix
Then Projection Matrix can be written as a function of its 5 intrinsic parameters (mentioned prev), 3 rows of the rotation matrix and 3 rows of the translation matrix.
Extracting Extrinsic Parameters from Projection Matrix
Then Projection Matrix can be written as a function of its 5 intrinsic parameters (mentioned prev),
3 rows of the rotation matrix and 3 values of the translation matrix. Where rs and ts represent the rows of these matrices.
Reading