| Cv2ComputeCorrespondEpilines Method (IEnumerablePoint2d, Int32, Double) |
For points in an image of a stereo pair, computes the corresponding epilines in the other image.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static Point3f[] ComputeCorrespondEpilines(
IEnumerable<Point2d> points,
int whichImage,
double[,] F
)
Public Shared Function ComputeCorrespondEpilines (
points As IEnumerable(Of Point2d),
whichImage As Integer,
F As Double(,)
) As Point3f()
public:
static array<Point3f>^ ComputeCorrespondEpilines(
IEnumerable<Point2d>^ points,
int whichImage,
array<double,2>^ F
)
static member ComputeCorrespondEpilines :
points : IEnumerable<Point2d> *
whichImage : int *
F : float[,] -> Point3f[]
Parameters
- points
- Type: System.Collections.GenericIEnumerablePoint2d
Input points. N \times 1 or 1 x N matrix of type CV_32FC2 or CV_64FC2. - whichImage
- Type: SystemInt32
Index of the image (1 or 2) that contains the points . - F
- Type: SystemDouble
Fundamental matrix that can be estimated using findFundamentalMat() or stereoRectify() .
Return Value
Type:
Point3fOutput 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