29 template <
typename NUMTYPE =
double>
34 mrpt::utils::COutputLogger(
"RANSAC_Template")
39 typedef void (*TRansacFitFunctor)(
42 std::vector< CMatrixTemplateNumeric<NUMTYPE> > &fitModels );
45 typedef void (*TRansacDistanceFunctor)(
47 const std::vector< CMatrixTemplateNumeric<NUMTYPE> > & testModels,
48 const NUMTYPE distanceThreshold,
49 unsigned int & out_bestModelIndex,
53 typedef bool (*TRansacDegenerateFunctor)(
68 TRansacFitFunctor fit_func,
69 TRansacDistanceFunctor dist_func,
70 TRansacDegenerateFunctor degen_func,
71 const double distanceThreshold,
72 const unsigned int minimumSizeSamplesToFit,
75 const double prob_good_sample = 0.999,
76 const size_t maxIter = 2000
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A matrix of dynamic size.
RANSAC_Template< double > RANSAC
The default instance of RANSAC, for double type.
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
A generic RANSAC implementation with models as matrices.
GLsizei GLsizei GLenum GLenum const GLvoid * data
std::vector< size_t > vector_size_t