#include <vpgl_construct_cameras.h>
Public Member Functions | |
| vpgl_construct_cameras () | |
| constructor. | |
| vpgl_construct_cameras (vcl_vector< vgl_point_2d< double > > p0, vcl_vector< vgl_point_2d< double > > p1, const vpgl_calibration_matrix< double > *K=NULL) | |
| constructor initializing the set of points. | |
| ~vpgl_construct_cameras () | |
| bool | construct () |
| function to construct cameras. | |
| const vpgl_perspective_camera < double > & | get_camera1 () |
| returns the projection matrix for the cameras. | |
| const vpgl_perspective_camera < double > & | get_camera2 () |
| void | get_world_points (vcl_vector< vgl_point_3d< double > > &world_points) |
| gets the world points. | |
Private Member Functions | |
| vgl_point_3d< double > | triangulate_3d_point (const vgl_point_2d< double > &x1, const vnl_double_3x4 &P1, const vgl_point_2d< double > &x2, const vnl_double_3x4 &P2) |
Private Attributes | |
| vcl_vector< vgl_point_2d < double > > | points0_ |
| set of points. | |
| vcl_vector< vgl_point_2d < double > > | points1_ |
| vnl_double_3x3 | K_ |
| vnl_double_3x3 | E_ |
| vpgl_perspective_camera< double > | P1_ |
| vpgl_perspective_camera< double > | P2_ |
Definition at line 27 of file vpgl_construct_cameras.h.
| vpgl_construct_cameras::vpgl_construct_cameras | ( | ) |
constructor.
Definition at line 18 of file vpgl_construct_cameras.cxx.
| vpgl_construct_cameras::vpgl_construct_cameras | ( | vcl_vector< vgl_point_2d< double > > | p0, |
| vcl_vector< vgl_point_2d< double > > | p1, | ||
| const vpgl_calibration_matrix< double > * | K = NULL |
||
| ) |
constructor initializing the set of points.
constructor with initialization of corresponding points.
Definition at line 23 of file vpgl_construct_cameras.cxx.
| vpgl_construct_cameras::~vpgl_construct_cameras | ( | ) |
Definition at line 43 of file vpgl_construct_cameras.cxx.
| bool vpgl_construct_cameras::construct | ( | ) |
function to construct cameras.
To construct the cameras according to the correspondence given.
computing the essential matrix.
Definition at line 52 of file vpgl_construct_cameras.cxx.
| const vpgl_perspective_camera<double>& vpgl_construct_cameras::get_camera1 | ( | ) | [inline] |
returns the projection matrix for the cameras.
Definition at line 47 of file vpgl_construct_cameras.h.
| const vpgl_perspective_camera<double>& vpgl_construct_cameras::get_camera2 | ( | ) | [inline] |
Definition at line 48 of file vpgl_construct_cameras.h.
| void vpgl_construct_cameras::get_world_points | ( | vcl_vector< vgl_point_3d< double > > & | world_points | ) |
gets the world points.
Definition at line 153 of file vpgl_construct_cameras.cxx.
| vgl_point_3d< double > vpgl_construct_cameras::triangulate_3d_point | ( | const vgl_point_2d< double > & | x1, |
| const vnl_double_3x4 & | P1, | ||
| const vgl_point_2d< double > & | x2, | ||
| const vnl_double_3x4 & | P2 | ||
| ) | [private] |
Definition at line 165 of file vpgl_construct_cameras.cxx.
vnl_double_3x3 vpgl_construct_cameras::E_ [private] |
Definition at line 67 of file vpgl_construct_cameras.h.
vnl_double_3x3 vpgl_construct_cameras::K_ [private] |
Definition at line 66 of file vpgl_construct_cameras.h.
vpgl_perspective_camera<double> vpgl_construct_cameras::P1_ [private] |
Definition at line 68 of file vpgl_construct_cameras.h.
vpgl_perspective_camera<double> vpgl_construct_cameras::P2_ [private] |
Definition at line 68 of file vpgl_construct_cameras.h.
vcl_vector<vgl_point_2d<double> > vpgl_construct_cameras::points0_ [private] |
set of points.
Definition at line 63 of file vpgl_construct_cameras.h.
vcl_vector<vgl_point_2d<double> > vpgl_construct_cameras::points1_ [private] |
Definition at line 64 of file vpgl_construct_cameras.h.
1.7.5.1