I'm trying to compute Homography matrix H
given a set of correspondences and the Fundamental matrix F
.
From the principle of Epipolar geometry I know this can be done by cross product of epiline and F
from Epipole Geometry
[e_ij] x F_ij = H_ij
I'm using OpenCV
for finding Fundamental matrix F
from set of matches between two views using cv::findFundamentalMat()
.
My question is that how can I find e_ij
and how to use it in order to compute H
. In OpenCV
there is a function cv::computeCorrespondEpilines()
that finds epilines corespond to each given point.
It's worth mentioning that I'm not interested in computing H
directly from set of matches but only from computed Fundamental matrix.
Thanks