![]() |
AliceVision
Photogrammetric Computer Vision Framework
|
Generic solver interface. More...
#include <ISolver.hpp>
Public Member Functions | |
| virtual std::size_t | getMinimumNbRequiredSamples () const =0 |
| Return the minimum number of required samples. More... | |
| virtual std::size_t | getMaximumNbModels () const =0 |
| Return the maximum number of models. More... | |
| virtual void | solve (const Mat &x1, const Mat &x2, std::vector< ModelT_ > &models) const =0 |
| Solve the problem. More... | |
| virtual void | solve (const Mat &x1, const Mat &x2, std::vector< ModelT_ > &models, const std::vector< double > &weights) const =0 |
| Solve the problem. More... | |
Generic solver interface.
|
pure virtual |
Return the maximum number of models.
Implemented in aliceVision::robustEstimation::UndefinedSolver< ModelT_ >, aliceVision::robustEstimation::UndefinedSolver< robustEstimation::Mat34Model >, and aliceVision::robustEstimation::UndefinedSolver< robustEstimation::Mat3Model >.
|
pure virtual |
Return the minimum number of required samples.
Implemented in aliceVision::robustEstimation::UndefinedSolver< ModelT_ >, aliceVision::robustEstimation::UndefinedSolver< robustEstimation::Mat34Model >, and aliceVision::robustEstimation::UndefinedSolver< robustEstimation::Mat3Model >.
|
pure virtual |
Solve the problem.
| [in] | x1 | A 2xN matrix of column vectors. |
| [in] | x2 | A 2xN (relative pose) or 3xN (resection) matrix of column vectors. |
| [out] | models | A vector into which the computed models are stored. |
Implemented in aliceVision::robustEstimation::UndefinedSolver< robustEstimation::Mat3Model >, aliceVision::robustEstimation::UndefinedSolver< robustEstimation::Mat34Model >, and aliceVision::robustEstimation::UndefinedSolver< ModelT_ >.
|
pure virtual |
Solve the problem.
| [in] | x1 | A 2xN matrix of column vectors. |
| [in] | x2 | A 2xN (relative pose) or 3xN (resection) matrix of column vectors. |
| [out] | models | A vector into which the computed models are stored. |
| [in] | weights. |
Implemented in aliceVision::robustEstimation::UndefinedSolver< robustEstimation::Mat3Model >, aliceVision::robustEstimation::UndefinedSolver< robustEstimation::Mat34Model >, and aliceVision::robustEstimation::UndefinedSolver< ModelT_ >.
1.8.17