#include <rgrl_est_proj_func.h>
Inheritance diagram for rgrl_est_proj_func< Tdim, Fdim >:

Definition at line 58 of file rgrl_est_proj_func.h.
Public Member Functions | |
| rgrl_est_proj_func (rgrl_set_of< rgrl_match_set_sptr > const &matches, bool with_grad=true) | |
| ctor. | |
| rgrl_est_proj_func (bool with_grad=true) | |
| ctor without matches. | |
| void | set_centres (vnl_vector_fixed< double, Fdim > const &fc, vnl_vector_fixed< double, Tdim > const &tc) |
| void | set_max_num_iter (int max) |
| set max number of iterations. | |
| int | max_num_iter () const |
| return max number of iterations. | |
| void | set_rel_thres (double thres) |
| set relative threshold for parameters change. | |
| double | rel_thres () const |
| relative threshold. | |
| void | set_zero_svd_thres (double thres) |
| set zero singular value threshold for SVD. | |
| double | zero_svd_thres () const |
| zero singular value threshold. | |
| bool | projective_estimate (vnl_matrix_fixed< double, Tdim+1, Fdim+1 > &proj, vnl_matrix< double > &full_covar, vnl_vector_fixed< double, Fdim > &from_centre, vnl_vector_fixed< double, Tdim > &to_centre) |
| estimate the projective transformation and the associated covariance. | |
| void | f (vnl_vector< double > const &x, vnl_vector< double > &fx) |
| obj func value. | |
| void | gradf (vnl_vector< double > const &x, vnl_matrix< double > &jacobian) |
| Jacobian. | |
| vnl_matrix_fixed< double, Tdim+1, Fdim+1 > | uncentre_proj (vnl_matrix_fixed< double, Tdim+1, Fdim+1 > const &proj) const |
| uncentre projection matrix. | |
| void | map_loc (vnl_vector_fixed< double, Tdim > &mapped, vnl_matrix_fixed< double, Tdim+1, Fdim+1 > const &proj, vnl_vector_fixed< double, Fdim > const &from) const |
| map a location. | |
Protected Member Functions | |
| void | reduced_proj_jacobian (vnl_matrix_fixed< double, Tdim,(Fdim+1)*(Tdim+1)-1 > &base_jac, vnl_matrix_fixed< double, Tdim+1, Fdim+1 > const &proj, vnl_vector_fixed< double, Fdim > const &from) const |
| compute jacobian. | |
| void | full_proj_jacobian (vnl_matrix_fixed< double, Tdim,(Fdim+1)*(Tdim+1)> &base_jac, vnl_matrix_fixed< double, Tdim+1, Fdim+1 > const &proj, vnl_vector_fixed< double, Fdim > const &from) const |
| compute jacobian. | |
| void | proj_jac_wrt_loc (vnl_matrix_fixed< double, Tdim, Fdim > &jac_loc, vnl_matrix_fixed< double, Tdim+1, Fdim+1 > const &proj, vnl_vector_fixed< double, Fdim > const &from) const |
| compute jacobian w.r.t. location. | |
| void | convert_parameters (vnl_vector< double > ¶ms, vnl_matrix_fixed< double, Tdim+1, Fdim+1 > proj_matrix, vnl_vector_fixed< double, Fdim > const &fc, vnl_vector_fixed< double, Tdim > const &tc) |
| convert parameters. | |
| void | restored_centered_proj (vnl_matrix_fixed< double, Tdim+1, Fdim+1 > &proj_matrix, vnl_vector< double > const ¶ms) const |
| convert parameters. | |
Protected Attributes | |
| rgrl_set_of< rgrl_match_set_sptr > const * | matches_ptr_ |
| vnl_vector_fixed< double, Fdim > | from_centre_ |
| vnl_vector_fixed< double, Tdim > | to_centre_ |
| unsigned int | index_row_ |
| unsigned int | index_col_ |
| int | max_num_iterations_ |
| specify the maximum number of iterations for this estimator. | |
| double | relative_threshold_ |
| The threshold for relative parameter change before termination. | |
| double | zero_svd_thres_ |
| zero singular value threshold. | |
Static Protected Attributes | |
| static const unsigned int | proj_size_ = (Tdim+1)*(Fdim+1) |
| rgrl_est_proj_func< Tdim, Fdim >::rgrl_est_proj_func | ( | rgrl_set_of< rgrl_match_set_sptr > const & | matches, | |
| bool | with_grad = true | |||
| ) |
| rgrl_est_proj_func< Tdim, Fdim >::rgrl_est_proj_func | ( | bool | with_grad = true |
) |
| void rgrl_est_proj_func< Tdim, Fdim >::set_centres | ( | vnl_vector_fixed< double, Fdim > const & | fc, | |
| vnl_vector_fixed< double, Tdim > const & | tc | |||
| ) | [inline] |
Definition at line 69 of file rgrl_est_proj_func.h.
| void rgrl_est_proj_func< Tdim, Fdim >::set_max_num_iter | ( | int | max | ) | [inline] |
| int rgrl_est_proj_func< Tdim, Fdim >::max_num_iter | ( | ) | const [inline] |
| void rgrl_est_proj_func< Tdim, Fdim >::set_rel_thres | ( | double | thres | ) | [inline] |
| double rgrl_est_proj_func< Tdim, Fdim >::rel_thres | ( | ) | const [inline] |
| void rgrl_est_proj_func< Tdim, Fdim >::set_zero_svd_thres | ( | double | thres | ) | [inline] |
| double rgrl_est_proj_func< Tdim, Fdim >::zero_svd_thres | ( | ) | const [inline] |
| bool rgrl_est_proj_func< Tdim, Fdim >::projective_estimate | ( | vnl_matrix_fixed< double, Tdim+1, Fdim+1 > & | proj, | |
| vnl_matrix< double > & | full_covar, | |||
| vnl_vector_fixed< double, Fdim > & | from_centre, | |||
| vnl_vector_fixed< double, Tdim > & | to_centre | |||
| ) |
estimate the projective transformation and the associated covariance.
Definition at line 351 of file rgrl_est_proj_func.txx.
| void rgrl_est_proj_func< Tdim, Fdim >::f | ( | vnl_vector< double > const & | x, | |
| vnl_vector< double > & | fx | |||
| ) |
obj func value.
Reimplemented in rgrl_est_proj_rad_func< Tdim, Fdim >, and rgrl_est_proj_rad_func< 2, 2 >.
Definition at line 260 of file rgrl_est_proj_func.txx.
| void rgrl_est_proj_func< Tdim, Fdim >::gradf | ( | vnl_vector< double > const & | x, | |
| vnl_matrix< double > & | jacobian | |||
| ) |
Jacobian.
Reimplemented in rgrl_est_proj_rad_func< Tdim, Fdim >, and rgrl_est_proj_rad_func< 2, 2 >.
Definition at line 303 of file rgrl_est_proj_func.txx.
| vnl_matrix_fixed< double, Tdim+1, Fdim+1 > rgrl_est_proj_func< Tdim, Fdim >::uncentre_proj | ( | vnl_matrix_fixed< double, Tdim+1, Fdim+1 > const & | proj | ) | const |
| void rgrl_est_proj_func< Tdim, Fdim >::map_loc | ( | vnl_vector_fixed< double, Tdim > & | mapped, | |
| vnl_matrix_fixed< double, Tdim+1, Fdim+1 > const & | proj, | |||
| vnl_vector_fixed< double, Fdim > const & | from | |||
| ) | const [inline] |
| void rgrl_est_proj_func< Tdim, Fdim >::reduced_proj_jacobian | ( | vnl_matrix_fixed< double, Tdim,(Fdim+1)*(Tdim+1)-1 > & | base_jac, | |
| vnl_matrix_fixed< double, Tdim+1, Fdim+1 > const & | proj, | |||
| vnl_vector_fixed< double, Fdim > const & | from | |||
| ) | const [protected] |
| void rgrl_est_proj_func< Tdim, Fdim >::full_proj_jacobian | ( | vnl_matrix_fixed< double, Tdim,(Fdim+1)*(Tdim+1)> & | base_jac, | |
| vnl_matrix_fixed< double, Tdim+1, Fdim+1 > const & | proj, | |||
| vnl_vector_fixed< double, Fdim > const & | from | |||
| ) | const [protected] |
| void rgrl_est_proj_func< Tdim, Fdim >::proj_jac_wrt_loc | ( | vnl_matrix_fixed< double, Tdim, Fdim > & | jac_loc, | |
| vnl_matrix_fixed< double, Tdim+1, Fdim+1 > const & | proj, | |||
| vnl_vector_fixed< double, Fdim > const & | from | |||
| ) | const [protected] |
| void rgrl_est_proj_func< Tdim, Fdim >::convert_parameters | ( | vnl_vector< double > & | params, | |
| vnl_matrix_fixed< double, Tdim+1, Fdim+1 > | proj_matrix, | |||
| vnl_vector_fixed< double, Fdim > const & | fc, | |||
| vnl_vector_fixed< double, Tdim > const & | tc | |||
| ) | [protected] |
| void rgrl_est_proj_func< Tdim, Fdim >::restored_centered_proj | ( | vnl_matrix_fixed< double, Tdim+1, Fdim+1 > & | proj_matrix, | |
| vnl_vector< double > const & | params | |||
| ) | const [protected] |
const unsigned int rgrl_est_proj_func< Tdim, Fdim >::proj_size_ = (Tdim+1)*(Fdim+1) [static, protected] |
Definition at line 157 of file rgrl_est_proj_func.h.
rgrl_set_of<rgrl_match_set_sptr> const* rgrl_est_proj_func< Tdim, Fdim >::matches_ptr_ [protected] |
Definition at line 159 of file rgrl_est_proj_func.h.
vnl_vector_fixed<double, Fdim> rgrl_est_proj_func< Tdim, Fdim >::from_centre_ [protected] |
Definition at line 160 of file rgrl_est_proj_func.h.
vnl_vector_fixed<double, Tdim> rgrl_est_proj_func< Tdim, Fdim >::to_centre_ [protected] |
Definition at line 161 of file rgrl_est_proj_func.h.
unsigned int rgrl_est_proj_func< Tdim, Fdim >::index_row_ [protected] |
Definition at line 163 of file rgrl_est_proj_func.h.
unsigned int rgrl_est_proj_func< Tdim, Fdim >::index_col_ [protected] |
Definition at line 164 of file rgrl_est_proj_func.h.
int rgrl_est_proj_func< Tdim, Fdim >::max_num_iterations_ [protected] |
specify the maximum number of iterations for this estimator.
Definition at line 166 of file rgrl_est_proj_func.h.
double rgrl_est_proj_func< Tdim, Fdim >::relative_threshold_ [protected] |
The threshold for relative parameter change before termination.
Definition at line 169 of file rgrl_est_proj_func.h.
double rgrl_est_proj_func< Tdim, Fdim >::zero_svd_thres_ [protected] |
1.5.1