OpenCV  4.1.0
Open Source Computer Vision
Functions

Functions

void cv::sfm::triangulatePoints (InputArrayOfArrays points2d, InputArrayOfArrays projection_matrices, OutputArray points3d)
 Reconstructs bunch of points by triangulation.
 

Detailed Description

Function Documentation

void cv::sfm::triangulatePoints ( InputArrayOfArrays  points2d,
InputArrayOfArrays  projection_matrices,
OutputArray  points3d 
)

Reconstructs bunch of points by triangulation.

Parameters
points2dInput vector of vectors of 2d points (the inner vector is per image). Has to be 2 X N.
projection_matricesInput vector with 3x4 projections matrices of each image.
points3dOutput array with computed 3d points. Is 3 x N.

Triangulates the 3d position of 2d correspondences between several images. Reference: Internally it uses DLT methodHartleyZ00 12.2 pag.312