Compute epipolar lines for stereo images
lines = epipolarLine(F,points)
lines = epipolarLine(F',points)
returns
an Mby3 matrix, lines
= epipolarLine(F
,points
)lines
. The
matrix represents the computed epipolar lines in the second image
corresponding to the points, points
, in the first
image. The input F
represents the fundamental
matrix that maps points in the first image to the epipolar lines in
the second image.
lines = epipolarLine(
returns
an Mby3 matrix F
',points
)lines
. The
matrix represents the computed epipolar lines of the first image corresponding
to the points, points
, in the second image.

A 3by3 fundamental matrix.
In computer vision, the fundamental matrix is a 3by3 matrix which relates corresponding points in stereo images. When two cameras view a 3D scene from two distinct positions, there are a number of geometric relations between the 3D points and their projections onto the 2D images that lead to constraints between the image points. Two images of the same scene are related by epipolar geometry.  

An Mby2 matrix, where each row contains the x and y coordinates of a point in the image. M represents the number of points.


An Mby3 matrix, where each row must be in the format, [A,B,C]. This corresponds to the definition of the line:

estimateFundamentalMatrix
 insertShape
 isEpipoleInImage
 line
 lineToBorderPoints
 size