Fundamental and Essential Matrix

撰写于 2020-11-09 修改于 2021-07-07 标签 5 Minutes with Cyrill

Fundamental and Essential Matrix

What are fundamental matrix and essential matrix?

Fundamental matrix and essential matrix are two matrices which are frequently used in stereo geometry whenever you want to describe geometric relations between pairs of images either recorded from a stereo camera or from a monocular camera moving through the environment. And the fundamental matrix is used for uncalibrated cameras where the essential matrix is used for calibrated cameras. The matrix contains all the informations about the relative orientation that can be extracted from correspondences alone. So I don’t assume any knowledge about the scene for example what I picture or how large objects are. I only have corresponding points so I know given the point in image number one what is a corresponding point in image number two. Both matrices are so-called homogeneous matrix, they are 3 by 3 matrices and they have a rank deficiency that means they are only of rank 2 and these rank 2 is something that is used for formulating the so-called Coplanarity constraint, so the constraint that must hold for corresponding points. So if this is my F Coplanarity constraint expressed in this simple form. X prime is a point in image number one, X double prime is a point in image number two.

constraint

And we assume this is the pixel coordinate of the same point projected into both images then with this equation I can express the so-called Coplanarity constraint that must hold for all corresponding points and we cannot do the same for the essential matrix except that we have our points in our camera coordinate system not in the pixel coordinate system. That means we can formulate this Coplanarity constraint that must hold for all corresponding points and this is also the way how we can estimate the matrix _. Given corresponding in considering F and E is unknowns we can build a system of linear equations and come up with an homogeneous system that we then need to solve and that then will give us our fundamental matrix or essential matrix.

homogeneous

This can be donw using the so-called eight-point algorithm. So given eight corresponding points I can estimate F and E in a rather straight forward fashion. If I working with calibrated camera so I’m only interested in E, there is a even better or more advanced algorithm which is the five-point algorithm proposed by Nister which is today the gold standard and requires only five point for computing E. Once I have E, I can then decompose E and compute the rotation matrix which tells me how is camera two oriented with respect to camera one. And I get the baseline vector but only its direction nor the flanks. So I know where camera two is located with respect to camera one but I don’t know how far the camera is away. So this is basically the skill and ability I have.

So given a corresponding points, I can compute the matrix E and F. Given that I know the matrix I can also simplify the search for correspondences. So I have the essential matrix and I have a point in image number one, I can locate the point in image number two in the sense that I don’t need to search the whole image I know that this point will lie along one single line in the image that so-called ? line. So knowing the orientation parameters are knowing E and F substantially helps me to reduce my search for corresponding points in the other image. So corresponding points can be used to estimate the matrices but if I know the matrices I can also use them to simplify my search for corresponding points. Essential matrix is a five degrees of freedom so encodes rotation and translation parameters and fundamental matrix has seven degrees of freedom because it additionally contains some information about the calibration parameters which are encoded in this matrix. But for both of them holds they can’t express all the parameters all in the subset of parameters and exactly those parameters I can estimate from corresponding points along.

Site by Luoadore using Hexo & Random