Table of Contents

Method ComputeCorrespondEpilines

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

ComputeCorrespondEpilines(InputArray, int, InputArray, OutputArray)

For points in an image of a stereo pair, computes the corresponding epilines in the other image.

public static void ComputeCorrespondEpilines(InputArray points, int whichImage, InputArray F, OutputArray lines)

Parameters

points InputArray

Input points. N \times 1 or 1 x N matrix of type CV_32FC2 or CV_64FC2.

whichImage int

Index of the image (1 or 2) that contains the points .

F InputArray

Fundamental matrix that can be estimated using findFundamentalMat() or stereoRectify() .

lines OutputArray

Output vector of the epipolar lines corresponding to the points in the other image. Each line ax + by + c=0 is encoded by 3 numbers (a, b, c) .

ComputeCorrespondEpilines(IEnumerable<Point2d>, int, double[,])

For points in an image of a stereo pair, computes the corresponding epilines in the other image.

[SuppressMessage("Maintainability", "CA1508: Avoid dead conditional code")]
public static Point3f[] ComputeCorrespondEpilines(IEnumerable<Point2d> points, int whichImage, double[,] F)

Parameters

points IEnumerable<Point2d>

Input points. N \times 1 or 1 x N matrix of type CV_32FC2 or CV_64FC2.

whichImage int

Index of the image (1 or 2) that contains the points .

F double[,]

Fundamental matrix that can be estimated using findFundamentalMat() or stereoRectify() .

Returns

Point3f[]

Output vector of the epipolar lines corresponding to the points in the other image. Each line ax + by + c=0 is encoded by 3 numbers (a, b, c) .

ComputeCorrespondEpilines(IEnumerable<Point3d>, int, double[,])

For points in an image of a stereo pair, computes the corresponding epilines in the other image.

[SuppressMessage("Maintainability", "CA1508: Avoid dead conditional code")]
public static Point3f[] ComputeCorrespondEpilines(IEnumerable<Point3d> points, int whichImage, double[,] F)

Parameters

points IEnumerable<Point3d>

Input points. N \times 1 or 1 x N matrix of type CV_32FC2 or CV_64FC2.

whichImage int

Index of the image (1 or 2) that contains the points .

F double[,]

Fundamental matrix that can be estimated using findFundamentalMat() or stereoRectify() .

Returns

Point3f[]

Output vector of the epipolar lines corresponding to the points in the other image. Each line ax + by + c=0 is encoded by 3 numbers (a, b, c) .