#include <vpgl_backproject.h>
Public Member Functions | |
~vpgl_backproject () | |
Static Public Member Functions | |
static bool | bproj_plane (const vpgl_camera< double > *cam, vnl_double_2 const &image_point, vnl_double_4 const &plane, vnl_double_3 const &initial_guess, vnl_double_3 &world_point, double error_tol=0.05) |
Generic camera interfaces (pointer for abstract class). | |
static bool | bproj_plane (const vpgl_camera< double > *cam, vgl_point_2d< double > const &image_point, vgl_plane_3d< double > const &plane, vgl_point_3d< double > const &initial_guess, vgl_point_3d< double > &world_point, double error_tol=0.05) |
Backproject an image point onto a plane, start with initial_guess. | |
static bool | bproj_plane (vpgl_rational_camera< double > const &rcam, vnl_double_2 const &image_point, vnl_double_4 const &plane, vnl_double_3 const &initial_guess, vnl_double_3 &world_point, double error_tol=0.05) |
Backproject an image point onto a plane, start with initial_guess. | |
static bool | bproj_plane (vpgl_rational_camera< double > const &rcam, vgl_point_2d< double > const &image_point, vgl_plane_3d< double > const &plane, vgl_point_3d< double > const &initial_guess, vgl_point_3d< double > &world_point, double error_tol=0.05) |
Backproject an image point onto a plane, start with initial_guess. | |
static bool | bproj_point_vector (vpgl_proj_camera< double > const &cam, vgl_point_2d< double > const &point, vgl_vector_2d< double > const &vect, vgl_plane_3d< double > &plane) |
Backproject a point with associated direction vector in the image to a plane in 3-d, passing through the center of projection and containing the point and vector. | |
static bool | direction_to_camera (vpgl_local_rational_camera< double > const &cam, vgl_point_3d< double > const &point, vgl_vector_3d< double > &to_camera) |
Use backprojection to determine direction to camera from 3-d point. | |
Private Member Functions | |
vpgl_backproject () | |
constructor private - static methods only. |
Definition at line 18 of file vpgl_backproject.h.
vpgl_backproject::~vpgl_backproject | ( | ) |
vpgl_backproject::vpgl_backproject | ( | ) | [private] |
constructor private - static methods only.
bool vpgl_backproject::bproj_plane | ( | const vpgl_camera< double > * | cam, |
vnl_double_2 const & | image_point, | ||
vnl_double_4 const & | plane, | ||
vnl_double_3 const & | initial_guess, | ||
vnl_double_3 & | world_point, | ||
double | error_tol = 0.05 |
||
) | [static] |
Generic camera interfaces (pointer for abstract class).
Backproject an image point onto a plane, start with initial_guess.
An iterative solution using forward projection vnl interfaceBackproject an image point onto a plane, start with initial_guess.
Definition at line 13 of file vpgl_backproject.cxx.
bool vpgl_backproject::bproj_plane | ( | const vpgl_camera< double > * | cam, |
vgl_point_2d< double > const & | image_point, | ||
vgl_plane_3d< double > const & | plane, | ||
vgl_point_3d< double > const & | initial_guess, | ||
vgl_point_3d< double > & | world_point, | ||
double | error_tol = 0.05 |
||
) | [static] |
Backproject an image point onto a plane, start with initial_guess.
Definition at line 61 of file vpgl_backproject.cxx.
bool vpgl_backproject::bproj_plane | ( | vpgl_rational_camera< double > const & | rcam, |
vnl_double_2 const & | image_point, | ||
vnl_double_4 const & | plane, | ||
vnl_double_3 const & | initial_guess, | ||
vnl_double_3 & | world_point, | ||
double | error_tol = 0.05 |
||
) | [static] |
Backproject an image point onto a plane, start with initial_guess.
Backproject an image point onto a world plane.
Definition at line 82 of file vpgl_backproject.cxx.
bool vpgl_backproject::bproj_plane | ( | vpgl_rational_camera< double > const & | rcam, |
vgl_point_2d< double > const & | image_point, | ||
vgl_plane_3d< double > const & | plane, | ||
vgl_point_3d< double > const & | initial_guess, | ||
vgl_point_3d< double > & | world_point, | ||
double | error_tol = 0.05 |
||
) | [static] |
Backproject an image point onto a plane, start with initial_guess.
Backproject an image point onto a world plane.
Definition at line 94 of file vpgl_backproject.cxx.
bool vpgl_backproject::bproj_point_vector | ( | vpgl_proj_camera< double > const & | cam, |
vgl_point_2d< double > const & | point, | ||
vgl_vector_2d< double > const & | vect, | ||
vgl_plane_3d< double > & | plane | ||
) | [static] |
Backproject a point with associated direction vector in the image to a plane in 3-d, passing through the center of projection and containing the point and vector.
** Defined only for a projective camera **
Definition at line 109 of file vpgl_backproject.cxx.
bool vpgl_backproject::direction_to_camera | ( | vpgl_local_rational_camera< double > const & | cam, |
vgl_point_3d< double > const & | point, | ||
vgl_vector_3d< double > & | to_camera | ||
) | [static] |
Use backprojection to determine direction to camera from 3-d point.
Definition at line 128 of file vpgl_backproject.cxx.