Public Member Functions | Private Attributes
projection_lsqf Class Reference

#include <vgl_h_matrix_2d_optimize.h>

List of all members.

Public Member Functions

 projection_lsqf (vcl_vector< vgl_homg_point_2d< double > > const &from_points, vcl_vector< vgl_homg_point_2d< double > > const &to_points)
 ~projection_lsqf ()
void f (const vnl_vector< double > &hv, vnl_vector< double > &proj_err)
 compute the projection error given a set of h parameters.

Private Attributes

unsigned n_
vcl_vector< vgl_homg_point_2d
< double > > 
from_points_
vcl_vector< vgl_point_2d
< double > > 
to_points_

Detailed Description

Definition at line 25 of file vgl_h_matrix_2d_optimize.h.


Constructor & Destructor Documentation

projection_lsqf::projection_lsqf ( vcl_vector< vgl_homg_point_2d< double > > const &  from_points,
vcl_vector< vgl_homg_point_2d< double > > const &  to_points 
) [inline]

Definition at line 32 of file vgl_h_matrix_2d_optimize.h.

projection_lsqf::~projection_lsqf ( ) [inline]

Definition at line 45 of file vgl_h_matrix_2d_optimize.h.


Member Function Documentation

void projection_lsqf::f ( const vnl_vector< double > &  hv,
vnl_vector< double > &  proj_err 
) [inline]

compute the projection error given a set of h parameters.

The residuals required by f are the Euclidean x and y coordinate differences between the projected from points and the corresponding to points.

Definition at line 51 of file vgl_h_matrix_2d_optimize.h.


Member Data Documentation

vcl_vector<vgl_homg_point_2d<double> > projection_lsqf::from_points_ [private]

Definition at line 28 of file vgl_h_matrix_2d_optimize.h.

unsigned projection_lsqf::n_ [private]

Definition at line 27 of file vgl_h_matrix_2d_optimize.h.

vcl_vector<vgl_point_2d<double> > projection_lsqf::to_points_ [private]

Definition at line 29 of file vgl_h_matrix_2d_optimize.h.


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