Operators |
essential_to_fundamental_matrix — Compute the fundamental matrix from an essential matrix.
The fundamental matrix is the entity describing the epipolar constraint in image coordinates (C,R) and the essential matrix is its counterpart for 3D direction vectors (X,Y,1):
T T / C2 \ / C1 \ / X2 \ / X1 \ | R2 | * FMatrix * | R1 | = 0 and | Y2 | * EMatrix * | Y1 | = 0 . \ 1 / \ 1 / \ 1 / \ 1 /
Image coordinates result from 3D direction vectors by multiplication with the camera matrix CamMat:
/ C \ / X \ | R | = CamMat * | Y | = 0 . \ 1 / \ 1 /
Therefore, the fundamental matrix FMatrix is calculated from the essential matrix EMatrix and the camera matrices CamMat1, CamMat2 by the following formula:
-T -1 FMatrix = CamMat2 * EMatrix * CamMat1 .
The transformation of the essential matrix to the fundamental matrix goes along with the propagation of the covariance matrices CovEMat to CovFMat. If CovEMat is empty CovFMat will be empty too.
The conversion operator essential_to_fundamental_matrix is used especially for a subsequent visualization of the epipolar line structure via the fundamental matrix, which depicts the underlying stereo geometry.
Essential matrix.
9x9 covariance matrix of the essential matrix.
Default value: []
Camera matrix of the 1. camera.
Camera matrix of the 2. camera.
Computed fundamental matrix.
9x9 covariance matrix of the fundamental matrix.
rel_pose_to_fundamental_matrix
3D Metrology
Operators |