Cv2TriangulatePoints Method (Double, Double, IEnumerablePoint2d, IEnumerablePoint2d) OpenCvSharp Class Library
Reconstructs points by triangulation.

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static Vec4d[] TriangulatePoints(
	double[,] projMatr1,
	double[,] projMatr2,
	IEnumerable<Point2d> projPoints1,
	IEnumerable<Point2d> projPoints2
)

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: Vec4d
4xN array of reconstructed points in homogeneous coordinates.
See Also

Reference