Basic least squares solution for a general projective camera given corresponding world and image points. More...
#include <vpgl_camera_convert.h>
Static Public Member Functions | |
| static bool | convert (vpgl_rational_camera< double > const &rat_cam, vgl_point_3d< double > const &world_center, vpgl_proj_camera< double > &camera) |
| Find a projective camera that best approximates the rational camera at the world center (lon (deg), lat (deg), elev (meters) ). | |
| static vgl_h_matrix_3d< double > | norm_trans (vpgl_rational_camera< double > const &rat_cam) |
| An auxiliary matrix that transforms (normalizes) world points prior to projection by a projective camera. (lon, lat, elevation)->[-1, 1]. | |
Private Member Functions | |
| vpgl_proj_camera_convert () | |
| default constructor (is private). | |
Basic least squares solution for a general projective camera given corresponding world and image points.
Definition at line 26 of file vpgl_camera_convert.h.
| vpgl_proj_camera_convert::vpgl_proj_camera_convert | ( | ) | [private] |
default constructor (is private).
| bool vpgl_proj_camera_convert::convert | ( | vpgl_rational_camera< double > const & | rat_cam, |
| vgl_point_3d< double > const & | world_center, | ||
| vpgl_proj_camera< double > & | camera | ||
| ) | [static] |
Find a projective camera that best approximates the rational camera at the world center (lon (deg), lat (deg), elev (meters) ).
Definition at line 129 of file vpgl_camera_convert.cxx.
| vgl_h_matrix_3d< double > vpgl_proj_camera_convert::norm_trans | ( | vpgl_rational_camera< double > const & | rat_cam | ) | [static] |
An auxiliary matrix that transforms (normalizes) world points prior to projection by a projective camera. (lon, lat, elevation)->[-1, 1].
obtain a scaling transformation to normalize world geographic coordinates.
The resulting values will be on the range [-1, 1] The transform is valid anywhere the rational camera is valid
Definition at line 334 of file vpgl_camera_convert.cxx.
1.7.5.1