#include <vpgl_triangulate_points.h>
Static Public Member Functions | |
| static double | triangulate (const std::vector< vgl_point_2d< double > > &points, const std::vector< vpgl_perspective_camera< double > > &cameras, vgl_point_3d< double > &point_3d) |
| Calculates the best 3D point corresponding to a set of 2D camera points. More... | |
Definition at line 21 of file vpgl_triangulate_points.h.
|
static |
Calculates the best 3D point corresponding to a set of 2D camera points.
Takes in a list of points and cameras, and finds the least-squared solution to the intersection of the rays generated by the points. Assumes that point i is viewed by camera i. The result is placed into point_3d. Returns the sum of squared errors.
Definition at line 23 of file vpgl_triangulate_points.cxx.
1.8.15