| Cv2TriangulatePoints Method (Double, Double, IEnumerablePoint2d, IEnumerablePoint2d) |
Reconstructs points by triangulation.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static Vec4d[] TriangulatePoints(
double[,] projMatr1,
double[,] projMatr2,
IEnumerable<Point2d> projPoints1,
IEnumerable<Point2d> projPoints2
)
Public Shared Function TriangulatePoints (
projMatr1 As Double(,),
projMatr2 As Double(,),
projPoints1 As IEnumerable(Of Point2d),
projPoints2 As IEnumerable(Of Point2d)
) As Vec4d()
public:
static array<Vec4d>^ TriangulatePoints(
array<double,2>^ projMatr1,
array<double,2>^ projMatr2,
IEnumerable<Point2d>^ projPoints1,
IEnumerable<Point2d>^ projPoints2
)
static member TriangulatePoints :
projMatr1 : float[,] *
projMatr2 : float[,] *
projPoints1 : IEnumerable<Point2d> *
projPoints2 : IEnumerable<Point2d> -> Vec4d[]
Parameters
- projMatr1
- Type: SystemDouble
3x4 projection matrix of the first camera. - projMatr2
- Type: SystemDouble
3x4 projection matrix of the second camera. - projPoints1
- Type: System.Collections.GenericIEnumerablePoint2d
2xN array of feature points in the first image. In case of c++ version
it can be also a vector of feature points or two-channel matrix of size 1xN or Nx1. - projPoints2
- Type: System.Collections.GenericIEnumerablePoint2d
2xN array of corresponding points in the second image. In case of c++ version
it can be also a vector of feature points or two-channel matrix of size 1xN or Nx1.
Return Value
Type:
Vec4d4xN array of reconstructed points in homogeneous coordinates.
See Also