Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
vpgl_backproject Class Reference

#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, double relative_diameter=1.0)
 Generic camera interfaces (pointer for abstract class). More...
 
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, double relative_diameter=1.0)
 Backproject an image point onto a plane, start with initial_guess. More...
 
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, double relative_diameter=1.0)
 Backproject an image point onto a plane, start with initial_guess. More...
 
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, double relative_diameter=1.0)
 Backproject an image point onto a plane, start with initial_guess. More...
 
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. More...
 
static bool direction_to_camera (vpgl_local_rational_camera< double > const &cam, vgl_point_3d< double > const &point, vgl_vector_3d< double > &to_camera, double error_tol=0.05, double relative_diameter=1.0)
 Use backprojection to determine direction to camera from 3-d point. More...
 

Private Member Functions

 vpgl_backproject ()
 constructor private - static methods only. More...
 

Detailed Description

Definition at line 23 of file vpgl_backproject.h.

Constructor & Destructor Documentation

◆ ~vpgl_backproject()

vpgl_backproject::~vpgl_backproject ( )

◆ vpgl_backproject()

vpgl_backproject::vpgl_backproject ( )
private

constructor private - static methods only.

Member Function Documentation

◆ bproj_plane() [1/4]

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,
double  relative_diameter = 1.0 
)
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 14 of file vpgl_backproject.cxx.

◆ bproj_plane() [2/4]

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,
double  relative_diameter = 1.0 
)
static

Backproject an image point onto a plane, start with initial_guess.

Definition at line 64 of file vpgl_backproject.cxx.

◆ bproj_plane() [3/4]

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,
double  relative_diameter = 1.0 
)
static

Backproject an image point onto a plane, start with initial_guess.

Backproject an image point onto a world plane.

Definition at line 86 of file vpgl_backproject.cxx.

◆ bproj_plane() [4/4]

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,
double  relative_diameter = 1.0 
)
static

Backproject an image point onto a plane, start with initial_guess.

Backproject an image point onto a world plane.

Definition at line 99 of file vpgl_backproject.cxx.

◆ bproj_point_vector()

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 115 of file vpgl_backproject.cxx.

◆ direction_to_camera()

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,
double  error_tol = 0.05,
double  relative_diameter = 1.0 
)
static

Use backprojection to determine direction to camera from 3-d point.

Definition at line 134 of file vpgl_backproject.cxx.


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