#include <vgl_h_matrix_2d_optimize_lmq.h>

Public Member Functions | |
| vgl_h_matrix_2d_optimize_lmq (vgl_h_matrix_2d< double > const &initial_h) | |
| Constructor from initial homography to be optimized. More... | |
| int | minimum_number_of_correspondences () const override |
| void | set_verbose (bool v) |
| set this to true for verbose run-time information. More... | |
| void | set_trace (bool trace) |
| Termination tolerance on the gradient of the projection error. More... | |
| void | set_htol (const double htol) |
| Termination tolerance on change in the solution. More... | |
| void | set_ftol (const double ftol) |
| Termination tolerance on the sum of squared projection errors. More... | |
| void | set_gtol (const double gtol) |
| Termination tolerance on the gradient of the projection error. More... | |
| bool | optimize (std::vector< vgl_homg_point_2d< double > > const &points1, std::vector< vgl_homg_point_2d< double > > const &points2, vgl_h_matrix_2d< double > &H) |
| optimize homography from matched points. More... | |
| bool | optimize (std::vector< vgl_homg_line_2d< double > > const &lines1, std::vector< vgl_homg_line_2d< double > > const &lines2, vgl_h_matrix_2d< double > &H) |
| optimize homography from matched lines. More... | |
| bool | optimize (std::vector< vgl_homg_point_2d< double > > const &points1, std::vector< vgl_homg_point_2d< double > > const &points2, std::vector< vgl_homg_line_2d< double > > const &lines1, std::vector< vgl_homg_line_2d< double > > const &lines2, vgl_h_matrix_2d< double > &H) |
| optimize homography from matched points and lines. More... | |
| vgl_h_matrix_2d< double > | optimize (std::vector< vgl_homg_point_2d< double > > const &p1, std::vector< vgl_homg_point_2d< double > > const &p2) |
| optimize homography from matched points - return h_matrix. More... | |
| vgl_h_matrix_2d< double > | optimize (std::vector< vgl_homg_line_2d< double > > const &l1, std::vector< vgl_homg_line_2d< double > > const &l2) |
| optimize homography from matched lines - return h_matrix. More... | |
| vgl_h_matrix_2d< double > | optimize (std::vector< vgl_homg_point_2d< double > > const &p1, std::vector< vgl_homg_point_2d< double > > const &p2, std::vector< vgl_homg_line_2d< double > > const &l1, std::vector< vgl_homg_line_2d< double > > const &l2) |
| optimize homography from matched points and lines - return h_matrix. More... | |
Protected Member Functions | |
| bool | optimize_h (std::vector< vgl_homg_point_2d< double > > const &points1, std::vector< vgl_homg_point_2d< double > > const &points2, vgl_h_matrix_2d< double > const &h_initial, vgl_h_matrix_2d< double > &h_optimized) |
| the main routine for carrying out the optimization. (used by the others). More... | |
| bool | optimize_p (std::vector< vgl_homg_point_2d< double > > const &points1, std::vector< vgl_homg_point_2d< double > > const &points2, vgl_h_matrix_2d< double > &H) override |
| compute from matched points. More... | |
| bool | optimize_l (std::vector< vgl_homg_line_2d< double > > const &lines1, std::vector< vgl_homg_line_2d< double > > const &lines2, vgl_h_matrix_2d< double > &H) override |
| compute from matched lines. More... | |
| bool | optimize_pl (std::vector< vgl_homg_point_2d< double > > const &points1, std::vector< vgl_homg_point_2d< double > > const &points2, std::vector< vgl_homg_line_2d< double > > const &lines1, std::vector< vgl_homg_line_2d< double > > const &lines2, vgl_h_matrix_2d< double > &H) override |
| compute from matched points and lines. More... | |
Protected Attributes | |
| bool | verbose_ |
| bool | trace_ |
| double | ftol_ |
| double | gtol_ |
| double | htol_ |
| int | max_iter_ |
| vgl_h_matrix_2d< double > | initial_h_ |
Definition at line 19 of file vgl_h_matrix_2d_optimize_lmq.h.
| vgl_h_matrix_2d_optimize_lmq::vgl_h_matrix_2d_optimize_lmq | ( | vgl_h_matrix_2d< double > const & | initial_h | ) |
Constructor from initial homography to be optimized.
Construct a vgl_h_matrix_2d_optimize_lmq object.
Definition at line 18 of file vgl_h_matrix_2d_optimize_lmq.cxx.
|
inlineoverridevirtual |
Implements vgl_h_matrix_2d_optimize.
Definition at line 25 of file vgl_h_matrix_2d_optimize_lmq.h.
|
inlineinherited |
optimize homography from matched points.
Definition at line 109 of file vgl_h_matrix_2d_optimize.h.
|
inlineinherited |
optimize homography from matched lines.
Definition at line 117 of file vgl_h_matrix_2d_optimize.h.
|
inlineinherited |
optimize homography from matched points and lines.
Definition at line 125 of file vgl_h_matrix_2d_optimize.h.
|
inlineinherited |
optimize homography from matched points - return h_matrix.
Definition at line 136 of file vgl_h_matrix_2d_optimize.h.
|
inlineinherited |
optimize homography from matched lines - return h_matrix.
Definition at line 142 of file vgl_h_matrix_2d_optimize.h.
|
inlineinherited |
optimize homography from matched points and lines - return h_matrix.
Definition at line 148 of file vgl_h_matrix_2d_optimize.h.
|
protected |
the main routine for carrying out the optimization. (used by the others).
optimize the normalized projection problem.
Definition at line 25 of file vgl_h_matrix_2d_optimize_lmq.cxx.
|
overrideprotectedvirtual |
compute from matched lines.
Implements vgl_h_matrix_2d_optimize.
Definition at line 107 of file vgl_h_matrix_2d_optimize_lmq.cxx.
|
overrideprotectedvirtual |
compute from matched points.
Implements vgl_h_matrix_2d_optimize.
Definition at line 57 of file vgl_h_matrix_2d_optimize_lmq.cxx.
|
overrideprotectedvirtual |
compute from matched points and lines.
Implements vgl_h_matrix_2d_optimize.
Definition at line 177 of file vgl_h_matrix_2d_optimize_lmq.cxx.
|
inlineinherited |
Termination tolerance on the sum of squared projection errors.
The optimization is done in a normalized coordinate frame with unity point domain radius.
Definition at line 95 of file vgl_h_matrix_2d_optimize.h.
|
inlineinherited |
Termination tolerance on the gradient of the projection error.
Definition at line 98 of file vgl_h_matrix_2d_optimize.h.
|
inlineinherited |
Termination tolerance on change in the solution.
Definition at line 90 of file vgl_h_matrix_2d_optimize.h.
|
inlineinherited |
Termination tolerance on the gradient of the projection error.
Definition at line 87 of file vgl_h_matrix_2d_optimize.h.
|
inlineinherited |
set this to true for verbose run-time information.
Definition at line 84 of file vgl_h_matrix_2d_optimize.h.
|
protectedinherited |
Definition at line 157 of file vgl_h_matrix_2d_optimize.h.
|
protectedinherited |
Definition at line 158 of file vgl_h_matrix_2d_optimize.h.
|
protectedinherited |
Definition at line 159 of file vgl_h_matrix_2d_optimize.h.
|
protectedinherited |
Definition at line 161 of file vgl_h_matrix_2d_optimize.h.
|
protectedinherited |
Definition at line 160 of file vgl_h_matrix_2d_optimize.h.
|
protectedinherited |
Definition at line 156 of file vgl_h_matrix_2d_optimize.h.
|
protectedinherited |
Definition at line 155 of file vgl_h_matrix_2d_optimize.h.
1.8.15