Cv2TriangulatePoints Method (InputArray, InputArray, InputArray, InputArray, OutputArray) 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 void TriangulatePoints(
	InputArray projMatr1,
	InputArray projMatr2,
	InputArray projPoints1,
	InputArray projPoints2,
	OutputArray points4D
)

Parameters

projMatr1
Type: OpenCvSharp.CPlusPlusInputArray
3x4 projection matrix of the first camera.
projMatr2
Type: OpenCvSharp.CPlusPlusInputArray
3x4 projection matrix of the second camera.
projPoints1
Type: OpenCvSharp.CPlusPlusInputArray
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: OpenCvSharp.CPlusPlusInputArray
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.
points4D
Type: OpenCvSharp.CPlusPlusOutputArray
4xN array of reconstructed points in homogeneous coordinates.
See Also

Reference