Projective Geometry
Last updated
Last updated
World Frame: a fixed coordinate system for representing objects (points, lines, surfaces, etc.) in the world.
Camera Frame: coordinate system that uses the camera center as its origin (and the optic axis as the Z-axis)
Image or retinal plane: plane on which the image is formed, note that the image plane is measured in camera frame coordinates (mm)
Image Frame: coordinate system that measures pixel locations in the image plane.
Intrinsic Parameters: Camera parameters that are internal and fixed to a particular camera/digitization setup. Allow a mapping between camera coordinates and pixel coordinates in the image frame`.
Extrinsic Parameters: Camera parameters that are external to the camera and may change with respect to the world frame. Define the location and orientation of the camera with respect to the world frame.
Each point (x,y)
in the image is actually a ray in 3D world, the ray can be reresented as (kx, ky,k)
and when k=1
it gives the point in the image.
Get it like this, all the point on the ray in the 3D world will be at the same point on image. Also, that ray will through the center of the camera.
Hence homogenous representation is basically way to denote the 2D point in image.
Lets consider three points , and z=[2,3,1]
in 3D world, these 3 points lie on the same ray passing through the origin. So, basically all these three point will be at map to same point in the image plane. And the point is the point which lie exactly at the image plane. Hence so given a point in the image place, it can map to any point and this is called projective space.
Homography is the condition when image of same plane is taken with two different position. There is a mapping between two points and in both images respectively which represent the same point in the 3D world. This mapping between coordinates of the image of same plane is called Homography.
The homography preserves the colliniearity of points. i.e. if three points are collinear in one image then they will be collinear even after the homography.
Since and will be same here, hence numper of unknown in are 8 and not 9.
Since 8 unknowns, hence we will need 4 corresponding points to find the
This is important as it can be used to find relation between 3D world and 2D image.
Depth From Stereo For these we need following information:-
Info about relative position and orientation of two cameras wrt each other.
Point correspondence in two images from camera.
Lectures 200-205 are important.
Lecture 219-227 are for extrinsic geometry of camera(Camera-world transform.)
Essential Matrix is a geometric constraint between world coordinate of point in image taken by different camera position. X`EX = 0. X` and X are vector of point in two camera coordinate system. The E matrix is composed of Rotation and Translation Matrix between two camera coordinate system.
Fundamental Matrix defines the relation of a point in two image coordinates. P`FP=0, Where P and P` are coordinates of a point in two images.Fundamental Matrix is composed of Extrinsic & Intrinsic Parameters. F matrix is always singular. Hence F matrix is sufficient to find corresponding point in two images taken from different camera position and from different camera intrinsics. Also Homographies are also used as relation between two planes of images. Therefore, fundamental matrix and homography matrix has some relation between them.
Here x,y,z are coordinate in 3D world and u,v are coordinate of those points in image.
Therefor all pairs of parallel lines in 3D world meet at a point in image.
Intrinsic Matrix:- (u,v) are pixel coordinate in image.