For points in an image of a stereo pair, computes the corresponding epilines in the other image.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Point3f[] ComputeCorrespondEpilines( IEnumerable<Point2d> points, int whichImage, double[,] F )
Parameters
- points
- Type: System.Collections.Generic.IEnumerable<Point2d>
Input points. N \times 1 or 1 x N matrix of type CV_32FC2 or CV_64FC2. - whichImage
- Type: System.Int32
Index of the image (1 or 2) that contains the points . - F
- Type:System.Double[,]
Fundamental matrix that can be estimated using findFundamentalMat() or stereoRectify() .
Return Value
Type: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) .
See Also