Function opencv::sfm::triangulate_points

source ·
pub fn triangulate_points(
    points2d: &impl ToInputArray,
    projection_matrices: &impl ToInputArray,
    points3d: &mut impl ToOutputArray
) -> Result<()>
Expand description

Reconstructs bunch of points by triangulation.

§Parameters

  • points2d: Input vector of vectors of 2d points (the inner vector is per image). Has to be 2 X N.
  • projection_matrices: Input vector with 3x4 projections matrices of each image.
  • points3d: Output array with computed 3d points. Is 3 x N.

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