Public Member Functions | Static Public Member Functions | List of all members
vpgl_affine_rectification Class Reference

#include <vpgl_affine_rectification.h>

Public Member Functions

 vpgl_affine_rectification ()=delete
 
 ~vpgl_affine_rectification ()=delete
 

Static Public Member Functions

static vpgl_affine_camera< double > * compute_affine_cam (const std::vector< vgl_point_2d< double > > &image_pts, const std::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)
 extract the fundamental matrix from a pair of affine cameras. More...
 
static bool compute_rectification (const vpgl_affine_fundamental_matrix< double > &FA, const std::vector< vnl_vector_fixed< double, 3 > > &img_p1, const std::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. More...
 

Detailed Description

Definition at line 14 of file vpgl_affine_rectification.h.

Constructor & Destructor Documentation

◆ vpgl_affine_rectification()

vpgl_affine_rectification::vpgl_affine_rectification ( )
delete

◆ ~vpgl_affine_rectification()

vpgl_affine_rectification::~vpgl_affine_rectification ( )
delete

Member Function Documentation

◆ compute_affine_cam()

vpgl_affine_camera< double > * vpgl_affine_rectification::compute_affine_cam ( const std::vector< vgl_point_2d< double > > &  image_pts,
const std::vector< vgl_point_3d< double > > &  world_pts 
)
static

Definition at line 17 of file vpgl_affine_rectification.cxx.

◆ compute_affine_f()

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

extract the fundamental matrix from a pair of affine cameras.

Extract the fundamental matrix from affine cameras.

Definition at line 34 of file vpgl_affine_rectification.cxx.

◆ compute_rectification()

bool vpgl_affine_rectification::compute_rectification ( const vpgl_affine_fundamental_matrix< double > &  FA,
const std::vector< vnl_vector_fixed< double, 3 > > &  img_p1,
const std::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 74 of file vpgl_affine_rectification.cxx.


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