#include <VigQuotientEstimator.h>
Inheritance diagram for vigra_ext::VigQuotientEstimator:

Public Types | |
| typedef std::vector< double > | Param |
Public Member Functions | |
| VigQuotientEstimator (double delta) | |
| virtual bool | estimate (const std::vector< const PointPair * > &data, Param &p) const |
| Compute the vignetting curve defined by 3 points. | |
| bool | leastSquaresEstimate (const std::vector< const PointPair * > &data, Param &p) const |
| Compute a least squares estimate. | |
| bool | agree (Param &p, const PointPair &data) const |
| Return true if the distance between the line defined by the parameters and the given point is smaller than 'delta' (see constructor). | |
Protected Attributes | |
| double | m_delta |
We assume the following function: I1/I2 = (1 + p_1*r_1^2 + p_2*r_1^4 + p_3*r_1^6) / (1 + a*r_2^2 + b*r_2^4 + c*r_2^6)
Author: Pablo d'Angelo
Definition at line 75 of file VigQuotientEstimator.h.
|
|
Definition at line 86 of file VigQuotientEstimator.h. |
|
|
Definition at line 90 of file VigQuotientEstimator.h. |
|
||||||||||||
|
Return true if the distance between the line defined by the parameters and the given point is smaller than 'delta' (see constructor).
Definition at line 278 of file VigQuotientEstimator.h. References vigra_ext::PointPairT< VALUE >::i1, vigra_ext::PointPairT< VALUE >::i2, vigra_ext::PointPair, vigra_ext::PointPairT< VALUE >::r1, and vigra_ext::PointPairT< VALUE >::r2. |
|
||||||||||||
|
Compute the vignetting curve defined by 3 points. This results in the following equations: z = I_1 / I_2 A*p = 1-z; with A = [ r_1^2-r_2^2 r_1^4-r_2^4 r_1^6-r_2^6 ] .. .. ..
Definition at line 109 of file VigQuotientEstimator.h. References vigra_ext::A(), and math_lu_solve(). |
|
||||||||||||
|
Compute a least squares estimate.
Definition at line 179 of file VigQuotientEstimator.h. References hugin_utils::LMS_Solver::addRow(), and hugin_utils::LMS_Solver::solve(). |
|
|
Definition at line 79 of file VigQuotientEstimator.h. |
1.3.9.1