Public Member Functions | Static Public Member Functions | Private Member Functions
vpgl_affine_rectification Class Reference

#include <vpgl_affine_rectification.h>

List of all members.

Public Member Functions

 ~vpgl_affine_rectification ()

Static Public Member Functions

static vpgl_affine_camera
< double > * 
compute_affine_cam (const vcl_vector< vgl_point_2d< double > > &image_pts, const vcl_vector< vgl_point_3d< double > > &world_pts)
static bool compute_affine_f (const vpgl_affine_camera< double > *cam1, const vpgl_affine_camera< double > *cam2, vpgl_affine_fundamental_matrix< double > &FA)
 Backproject an image point onto a plane, start with initial_guess.
static bool compute_rectification (const vpgl_affine_fundamental_matrix< double > &FA, const vcl_vector< vnl_vector_fixed< double, 3 > > &img_p1, const vcl_vector< vnl_vector_fixed< double, 3 > > &img_p2, vnl_matrix_fixed< double, 3, 3 > &H1, vnl_matrix_fixed< double, 3, 3 > &H2)
 compute the rectification homographies using the affine fundamental matrix.

Private Member Functions

 vpgl_affine_rectification ()
 constructor private - static methods only.

Detailed Description

Definition at line 14 of file vpgl_affine_rectification.h.


Constructor & Destructor Documentation

vpgl_affine_rectification::~vpgl_affine_rectification ( )
vpgl_affine_rectification::vpgl_affine_rectification ( ) [private]

constructor private - static methods only.


Member Function Documentation

vpgl_affine_camera< double > * vpgl_affine_rectification::compute_affine_cam ( const vcl_vector< vgl_point_2d< double > > &  image_pts,
const vcl_vector< vgl_point_3d< double > > &  world_pts 
) [static]

Definition at line 14 of file vpgl_affine_rectification.cxx.

bool vpgl_affine_rectification::compute_affine_f ( const vpgl_affine_camera< double > *  cam1,
const vpgl_affine_camera< double > *  cam2,
vpgl_affine_fundamental_matrix< double > &  FA 
) [static]

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

Definition at line 31 of file vpgl_affine_rectification.cxx.

bool vpgl_affine_rectification::compute_rectification ( const vpgl_affine_fundamental_matrix< double > &  FA,
const vcl_vector< vnl_vector_fixed< double, 3 > > &  img_p1,
const vcl_vector< vnl_vector_fixed< double, 3 > > &  img_p2,
vnl_matrix_fixed< double, 3, 3 > &  H1,
vnl_matrix_fixed< double, 3, 3 > &  H2 
) [static]

compute the rectification homographies using the affine fundamental matrix.

an image correspondence needs to be passed to find homographies (if cameras are known, one can use a known point in 3d in the scene, project it using the cameras and pass the output image points to this routine)

image correspondences need to be passed to find homographies (if cameras are known, one can use known points in 3d in the observed scene, project them using the cameras and pass the image points to this routine)

Definition at line 72 of file vpgl_affine_rectification.cxx.


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