Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
vigra_ext::VigQuotientEstimator Class Reference
This class estimates the parameters of the vignetting curve. More...
#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 |
Detailed Description
This class estimates the parameters of the vignetting curve.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
Member Typedef Documentation
|
|
|
Constructor & Destructor Documentation
|
|
|
Member Function Documentation
|
||||||||||||
|
Return true if the distance between the line defined by the parameters and the given point is smaller than 'delta' (see constructor).
|
|
||||||||||||
|
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 ] .. .. ..
|
|
||||||||||||
|
Compute a least squares estimate.
|
Member Data Documentation
|
|
|
The documentation for this class was generated from the following file:
- hugin_base/vigra_ext/VigQuotientEstimator.h
1.3.9.1