Static Public Member Functions
vpgl_triangulate_points Class Reference

#include <vpgl_triangulate_points.h>

List of all members.

Static Public Member Functions

static double triangulate (const vcl_vector< vgl_point_2d< double > > &points, const vcl_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.

Detailed Description

Definition at line 18 of file vpgl_triangulate_points.h.


Member Function Documentation

double vpgl_triangulate_points::triangulate ( const vcl_vector< vgl_point_2d< double > > &  points,
const vcl_vector< vpgl_perspective_camera< double > > &  cameras,
vgl_point_3d< double > &  point_3d 
) [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 20 of file vpgl_triangulate_points.cxx.


The documentation for this class was generated from the following files: