AliceVision
Photogrammetric Computer Vision Framework
Public Types | Public Member Functions | List of all members
aliceVision::robustEstimation::NormalizedPointFittingKernel< SolverT_, ErrorT_, UnnormalizerT_, ModelT_ > Class Template Reference
Inheritance diagram for aliceVision::robustEstimation::NormalizedPointFittingKernel< SolverT_, ErrorT_, UnnormalizerT_, ModelT_ >:
aliceVision::robustEstimation::PointFittingKernel< SolverT_, ErrorT_, Mat3Model >

Public Types

using KernelBase = PointFittingKernel< SolverT_, ErrorT_, ModelT_ >
 
- Public Types inherited from aliceVision::robustEstimation::PointFittingKernel< SolverT_, ErrorT_, Mat3Model >
using SolverT = SolverT_
 
using ErrorT = ErrorT_
 
using ModelT = Mat3Model
 

Public Member Functions

 NormalizedPointFittingKernel (const Mat &x1, const Mat &x2)
 
void fit (const std::vector< std::size_t > &samples, std::vector< ModelT_ > &models) const override
 Extract required sample and fit model(s) to the sample. More...
 
- Public Member Functions inherited from aliceVision::robustEstimation::PointFittingKernel< SolverT_, ErrorT_, Mat3Model >
 PointFittingKernel (const Mat &x1, const Mat &x2)
 
std::size_t getMinimumNbRequiredSamples () const
 Return the minimum number of required samples. More...
 
std::size_t getMaximumNbModels () const
 Return the maximum number of models. More...
 
virtual void fit (const std::vector< std::size_t > &samples, std::vector< ModelT > &models) const
 Extract required sample and fit model(s) to the sample. More...
 
virtual double error (std::size_t sample, const ModelT &model) const
 Return the error associated to the model and a sample point. More...
 
virtual void errors (const ModelT &model, std::vector< double > &errors) const
 Return the errors associated to the model and each sample point. More...
 
std::size_t nbSamples () const
 get the number of putative points More...
 

Additional Inherited Members

- Protected Attributes inherited from aliceVision::robustEstimation::PointFittingKernel< SolverT_, ErrorT_, Mat3Model >
const Mat & _x1
 left corresponding data
 
const Mat & _x2
 right corresponding data
 
const SolverT _kernelSolver
 two view solver
 
const ErrorT _errorEstimator
 solver error estimation
 

Member Function Documentation

◆ fit()

template<typename SolverT_ , typename ErrorT_ , typename UnnormalizerT_ , typename ModelT_ = Mat3Model>
void aliceVision::robustEstimation::NormalizedPointFittingKernel< SolverT_, ErrorT_, UnnormalizerT_, ModelT_ >::fit ( const std::vector< std::size_t > &  samples,
std::vector< ModelT_ > &  models 
) const
inlineoverride

Extract required sample and fit model(s) to the sample.

Parameters
[in]samples
[out]models

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