AliceVision
Photogrammetric Computer Vision Framework
Public Member Functions | List of all members
aliceVision::robustEstimation::UndefinedSolver< ModelT_ > Class Template Reference

An Undefined Solver. More...

#include <ISolver.hpp>

Inheritance diagram for aliceVision::robustEstimation::UndefinedSolver< ModelT_ >:
aliceVision::robustEstimation::ISolver< ModelT_ >

Public Member Functions

std::size_t getMinimumNbRequiredSamples () const override
 Return the minimum number of required samples. More...
 
std::size_t getMaximumNbModels () const override
 Return the maximum number of models. More...
 
void solve (const Mat &x1, const Mat &x2, std::vector< ModelT_ > &models) const override
 Solve the problem. More...
 
void solve (const Mat &x1, const Mat &x2, std::vector< ModelT_ > &models, const std::vector< double > &weights) const override
 Solve the problem. More...
 

Detailed Description

template<typename ModelT_>
class aliceVision::robustEstimation::UndefinedSolver< ModelT_ >

An Undefined Solver.

Member Function Documentation

◆ getMaximumNbModels()

template<typename ModelT_ >
std::size_t aliceVision::robustEstimation::UndefinedSolver< ModelT_ >::getMaximumNbModels ( ) const
inlineoverridevirtual

Return the maximum number of models.

Returns
maximum number of models

Implements aliceVision::robustEstimation::ISolver< ModelT_ >.

◆ getMinimumNbRequiredSamples()

template<typename ModelT_ >
std::size_t aliceVision::robustEstimation::UndefinedSolver< ModelT_ >::getMinimumNbRequiredSamples ( ) const
inlineoverridevirtual

Return the minimum number of required samples.

Returns
minimum number of required samples

Implements aliceVision::robustEstimation::ISolver< ModelT_ >.

◆ solve() [1/2]

template<typename ModelT_ >
void aliceVision::robustEstimation::UndefinedSolver< ModelT_ >::solve ( const Mat &  x1,
const Mat &  x2,
std::vector< ModelT_ > &  models 
) const
inlineoverridevirtual

Solve the problem.

Parameters
[in]x1A 2xN matrix of column vectors.
[in]x2A 2xN (relative pose) or 3xN (resection) matrix of column vectors.
[out]modelsA vector into which the computed models are stored.

Implements aliceVision::robustEstimation::ISolver< ModelT_ >.

◆ solve() [2/2]

template<typename ModelT_ >
void aliceVision::robustEstimation::UndefinedSolver< ModelT_ >::solve ( const Mat &  x1,
const Mat &  x2,
std::vector< ModelT_ > &  models,
const std::vector< double > &  weights 
) const
inlineoverridevirtual

Solve the problem.

Parameters
[in]x1A 2xN matrix of column vectors.
[in]x2A 2xN (relative pose) or 3xN (resection) matrix of column vectors.
[out]modelsA vector into which the computed models are stored.
[in]weights.

Implements aliceVision::robustEstimation::ISolver< ModelT_ >.


The documentation for this class was generated from the following file: