MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Namespaces | Functions
triangulate.cc File Reference
#include <stdexcept>
#include "math/matrix_svd.h"
#include "sfm/triangulate.h"
Include dependency graph for triangulate.cc:

Go to the source code of this file.

Namespaces

namespace  sfm
 Structure-from-Motion library.
 

Functions

bool sfm::is_consistent_pose (Correspondence2D2D const &match, CameraPose const &pose1, CameraPose const &pose2)
 Given a two-view pose configuration and a correspondence, this function returns true if the triangulated point is in front of both cameras.
 
math::Vector< double, 3 > sfm::triangulate_match (Correspondence2D2D const &match, CameraPose const &pose1, CameraPose const &pose2)
 Given an image correspondence in two views and the corresponding poses, this function triangulates the 3D point coordinate using the DLT algorithm.
 
math::Vector< double, 3 > sfm::triangulate_track (std::vector< math::Vec2f > const &pos, std::vector< CameraPose const * > const &poses)
 Given any number of 2D image positions and the corresponding camera poses, this function triangulates the 3D point coordinate using the DLT algorithm.