Public Member Functions | Private Attributes | List of all members
projection_lsqf Class Reference

#include <vgl_h_matrix_2d_optimize.h>

Inheritance diagram for projection_lsqf:
Inheritance graph
[legend]

Public Member Functions

 projection_lsqf (std::vector< vgl_homg_point_2d< double > > const &from_points, std::vector< vgl_homg_point_2d< double > > const &to_points)
 
 ~projection_lsqf () override=default
 
void f (const vnl_vector< double > &hv, vnl_vector< double > &proj_err) override
 compute the projection error given a set of h parameters. More...
 

Private Attributes

unsigned n_
 
std::vector< vgl_homg_point_2d< double > > from_points_
 
std::vector< vgl_point_2d< double > > to_points_
 

Detailed Description

Definition at line 28 of file vgl_h_matrix_2d_optimize.h.

Constructor & Destructor Documentation

◆ projection_lsqf()

projection_lsqf::projection_lsqf ( std::vector< vgl_homg_point_2d< double > > const &  from_points,
std::vector< vgl_homg_point_2d< double > > const &  to_points 
)
inline

Definition at line 35 of file vgl_h_matrix_2d_optimize.h.

◆ ~projection_lsqf()

projection_lsqf::~projection_lsqf ( )
overridedefault

Member Function Documentation

◆ f()

void projection_lsqf::f ( const vnl_vector< double > &  hv,
vnl_vector< double > &  proj_err 
)
inlineoverride

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 54 of file vgl_h_matrix_2d_optimize.h.

Member Data Documentation

◆ from_points_

std::vector<vgl_homg_point_2d<double> > projection_lsqf::from_points_
private

Definition at line 31 of file vgl_h_matrix_2d_optimize.h.

◆ n_

unsigned projection_lsqf::n_
private

Definition at line 30 of file vgl_h_matrix_2d_optimize.h.

◆ to_points_

std::vector<vgl_point_2d<double> > projection_lsqf::to_points_
private

Definition at line 32 of file vgl_h_matrix_2d_optimize.h.


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