2 #ifndef vpgl_camera_compute_h_ 3 #define vpgl_camera_compute_h_ 17 # include <vcl_msvc_warnings.h> 100 #endif // vpgl_camera_compute_h_ A class for the perspective camera model.
A class for the affine camera model.
vpgl_affine_camera_compute()=delete
Various methods for computing a perspective camera.
static bool compute(const std::vector< vgl_homg_point_2d< double > > &image_pts, const std::vector< vgl_homg_point_3d< double > > &world_pts, vpgl_proj_camera< double > &camera)
Compute from two sets of corresponding points.
static bool compute_dlt(const std::vector< vgl_point_2d< double > > &image_pts, const std::vector< vgl_point_3d< double > > &world_pts, vpgl_perspective_camera< double > &camera, double &err)
Uses the direct linear transform algorithm described in "Multiple.
vpgl_proj_camera_compute()=delete
default constructor (is private).
Basic least squares solution for an affine camera given corresponding world and image points.
Basic least squares solution for a general projective camera given corresponding world and image poin...
vpgl_perspective_camera_compute()=delete
This class implements the perspective camera class as described in Hartley & Zisserman as a finite ca...
A camera model using the standard 3x4 matrix representation.
static bool compute(const std::vector< vgl_point_2d< double > > &image_pts, const std::vector< vgl_point_3d< double > > &world_pts, vpgl_affine_camera< double > &camera)
Compute from two sets of corresponding points.
static bool compute(const std::vector< vgl_point_2d< double > > &image_pts, const std::vector< vgl_point_3d< double > > &world_pts, const vpgl_calibration_matrix< double > &K, vpgl_perspective_camera< double > &camera)
Compute from two sets of corresponding points.