Go to the documentation of this file.
29 template <
typename NUMTYPE =
double>
38 const std::vector<size_t>& useIndices,
46 const NUMTYPE distanceThreshold,
unsigned int& out_bestModelIndex,
47 std::vector<size_t>& out_inlierIndices)>;
53 const std::vector<size_t>& useIndices)>;
73 const double distanceThreshold,
74 const unsigned int minimumSizeSamplesToFit,
75 std::vector<size_t>& out_best_inliers,
77 const double prob_good_sample = 0.999,
78 const size_t maxIter = 2000)
const;
std::function< void(const CMatrixTemplateNumeric< NUMTYPE > &allData, const std::vector< size_t > &useIndices, std::vector< CMatrixTemplateNumeric< NUMTYPE > > &fitModels)> TRansacFitFunctor
The type of the function passed to mrpt::math::ransac - See the documentation for that method for mor...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A matrix of dynamic size.
GLsizei GLsizei GLenum GLenum const GLvoid * data
std::function< bool(const CMatrixTemplateNumeric< NUMTYPE > &allData, const std::vector< size_t > &useIndices)> TRansacDegenerateFunctor
The type of the function passed to mrpt::math::ransac - See the documentation for that method for mor...
bool execute(const CMatrixTemplateNumeric< NUMTYPE > &data, const TRansacFitFunctor &fit_func, const TRansacDistanceFunctor &dist_func, const TRansacDegenerateFunctor °en_func, const double distanceThreshold, const unsigned int minimumSizeSamplesToFit, std::vector< size_t > &out_best_inliers, CMatrixTemplateNumeric< NUMTYPE > &out_best_model, const double prob_good_sample=0.999, const size_t maxIter=2000) const
An implementation of the RANSAC algorithm for robust fitting of models to data.
Versatile class for consistent logging and management of output messages.
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
std::function< void(const CMatrixTemplateNumeric< NUMTYPE > &allData, const std::vector< CMatrixTemplateNumeric< NUMTYPE > > &testModels, const NUMTYPE distanceThreshold, unsigned int &out_bestModelIndex, std::vector< size_t > &out_inlierIndices)> TRansacDistanceFunctor
The type of the function passed to mrpt::math::ransac - See the documentation for that method for mor...
A generic RANSAC implementation with models as matrices.
COutputLogger()
Default class constructor.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |