#include <vgl_conic_2d_regression.h>
Definition at line 70 of file vgl_conic_2d_regression.h.
Public Member Functions | |
| vgl_conic_2d_regression () | |
| Constructors. | |
| ~vgl_conic_2d_regression () | |
| unsigned | get_n_pts () const |
| Number of regression points. | |
| void | clear_points () |
| clear the regression data. | |
| void | add_point (vgl_point_2d< T > const &p) |
| void | remove_point (vgl_point_2d< T > const &p) |
| T | get_rms_error_est (vgl_point_2d< T > const &p) const |
| get the estimated Euclidean error with respect to the fitted conic segment in the original frame. | |
| T | get_rms_sampson_error () const |
| get the current Euclidean fitting error in the original frame. | |
| T | get_rms_algebraic_error () const |
| get the current algebraic fitting error in the normalized frame. | |
| bool | fit () |
| the fitting method. | |
| vgl_conic< T > | conic () const |
| void | print_pointset (vcl_ostream &str=vcl_cout) |
Protected Member Functions | |
| void | init () |
| void | compute_partial_sums () |
| void | fill_scatter_matrix () |
| void | set_sampson_error (T a, T b, T c, T d, T e, T f) |
Protected Attributes | |
| vcl_vector< vgl_point_2d< T > > | points_ |
| The current set of points. | |
| unsigned | npts_ |
| Size of point set. | |
| vgl_norm_trans_2d< T > | trans_ |
| The normalizing transformation. | |
| vcl_vector< T > | partial_sums_ |
| The partial scatter term sums, updated with each add_point. | |
| vnl_matrix_fixed< T, 3, 3 > | S11_ |
| The fitting matrices. | |
| vnl_matrix_fixed< T, 3, 3 > | S12_ |
| vnl_matrix_fixed< T, 3, 3 > | S22_ |
| vnl_matrix_fixed< T, 3, 3 > | Dinv_ |
| vgl_conic< T > | conic_ |
| The fitted conic in the un-normalized frame. | |
| T | cost_ |
| The algebraic fitting cost in the normalized frame. | |
| T | sampson_error_ |
| The Sampson approximation to Euclidean distance in the normalized frame. | |
| vcl_vector< vgl_homg_point_2d< T > > | hnorm_points_ |
| Normalized points. | |
|
|||||||||
|
Constructors.
Definition at line 31 of file vgl_conic_2d_regression.txx. |
|
|||||||||
|
Definition at line 78 of file vgl_conic_2d_regression.h. |
|
||||||||||
|
Definition at line 81 of file vgl_conic_2d_regression.txx. |
|
|||||||||
|
clear the regression data.
Definition at line 39 of file vgl_conic_2d_regression.txx. |
|
|||||||||
|
Definition at line 107 of file vgl_conic_2d_regression.txx. |
|
|||||||||
|
Definition at line 107 of file vgl_conic_2d_regression.h. |
|
|||||||||
|
Definition at line 148 of file vgl_conic_2d_regression.txx. |
|
|||||||||
|
the fitting method.
Definition at line 183 of file vgl_conic_2d_regression.txx. |
|
|||||||||
|
Number of regression points.
Definition at line 84 of file vgl_conic_2d_regression.h. |
|
|||||||||
|
get the current algebraic fitting error in the normalized frame.
Definition at line 101 of file vgl_conic_2d_regression.txx. |
|
||||||||||
|
get the estimated Euclidean error with respect to the fitted conic segment in the original frame.
Definition at line 47 of file vgl_conic_2d_regression.txx. |
|
|||||||||
|
get the current Euclidean fitting error in the original frame.
Definition at line 97 of file vgl_conic_2d_regression.h. |
|
|||||||||
|
Definition at line 17 of file vgl_conic_2d_regression.txx. |
|
||||||||||
|
Definition at line 230 of file vgl_conic_2d_regression.txx. |
|
||||||||||
|
Definition at line 88 of file vgl_conic_2d_regression.txx. |
|
||||||||||||||||||||||||||||||||
|
Definition at line 57 of file vgl_conic_2d_regression.txx. |
|
|||||
|
The fitted conic in the un-normalized frame.
Definition at line 137 of file vgl_conic_2d_regression.h. |
|
|||||
|
The algebraic fitting cost in the normalized frame.
Definition at line 140 of file vgl_conic_2d_regression.h. |
|
|||||
|
Definition at line 134 of file vgl_conic_2d_regression.h. |
|
|||||
|
Normalized points.
Definition at line 146 of file vgl_conic_2d_regression.h. |
|
|||||
|
Size of point set.
Definition at line 124 of file vgl_conic_2d_regression.h. |
|
|||||
|
The partial scatter term sums, updated with each add_point.
Definition at line 130 of file vgl_conic_2d_regression.h. |
|
|||||
|
The current set of points.
Definition at line 121 of file vgl_conic_2d_regression.h. |
|
|||||
|
The fitting matrices.
Definition at line 133 of file vgl_conic_2d_regression.h. |
|
|||||
|
Definition at line 133 of file vgl_conic_2d_regression.h. |
|
|||||
|
Definition at line 133 of file vgl_conic_2d_regression.h. |
|
|||||
|
The Sampson approximation to Euclidean distance in the normalized frame.
Definition at line 143 of file vgl_conic_2d_regression.h. |
|
|||||
|
The normalizing transformation.
Definition at line 127 of file vgl_conic_2d_regression.h. |
1.4.4