Main MRPT website > C++ reference for MRPT 1.5.9
Namespaces | Macros | Functions
ransac_applications.cpp File Reference
#include "base-precomp.h"
#include <mrpt/math/ransac_applications.h>
Include dependency graph for ransac_applications.cpp:

Go to the source code of this file.

Namespaces

 mrpt
 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
 mrpt::math
 This base provides a set of functions for maths stuff.
 

Macros

#define EXPLICIT_INST_ransac_detect_3D_planes(_TYPE_)
 
#define EXPLICIT_INSTANT_ransac_detect_2D_lines(_TYPE_)
 

Functions

template<typename T >
void mrpt::math::ransac3Dplane_fit (const CMatrixTemplateNumeric< T > &allData, const vector_size_t &useIndices, vector< CMatrixTemplateNumeric< T > > &fitModels)
 
template<typename T >
void mrpt::math::ransac3Dplane_distance (const CMatrixTemplateNumeric< T > &allData, const vector< CMatrixTemplateNumeric< T > > &testModels, const T distanceThreshold, unsigned int &out_bestModelIndex, vector_size_t &out_inlierIndices)
 
template<typename T >
bool mrpt::math::ransac3Dplane_degenerate (const CMatrixTemplateNumeric< T > &allData, const mrpt::vector_size_t &useIndices)
 Return "true" if the selected points are a degenerate (invalid) case. More...
 
 EXPLICIT_INST_ransac_detect_3D_planes (float) EXPLICIT_INST_ransac_detect_3D_planes(double) namespace mrpt
 

Macro Definition Documentation

◆ EXPLICIT_INST_ransac_detect_3D_planes

#define EXPLICIT_INST_ransac_detect_3D_planes (   _TYPE_)
Value:
template void BASE_IMPEXP mrpt::math::ransac_detect_3D_planes<_TYPE_>( \
const Eigen::Matrix<_TYPE_,Eigen::Dynamic,1> &x, \
const Eigen::Matrix<_TYPE_,Eigen::Dynamic,1> &y, \
const Eigen::Matrix<_TYPE_,Eigen::Dynamic,1> &z, \
vector<pair<size_t,TPlane> > &out_detected_planes, \
const double threshold, \
const size_t min_inliers_for_valid_plane);
GLdouble GLdouble z
Definition: glext.h:3734
GLenum GLint GLint y
Definition: glext.h:3516
GLenum GLint x
Definition: glext.h:3516

Definition at line 182 of file ransac_applications.cpp.

◆ EXPLICIT_INSTANT_ransac_detect_2D_lines

#define EXPLICIT_INSTANT_ransac_detect_2D_lines (   _TYPE_)
Value:
template void BASE_IMPEXP mrpt::math::ransac_detect_2D_lines<_TYPE_>( \
const Eigen::Matrix<_TYPE_,Eigen::Dynamic,1> &x, \
const Eigen::Matrix<_TYPE_,Eigen::Dynamic,1> &y, \
std::vector<std::pair<size_t,TLine2D> > &out_detected_lines, \
const double threshold, \
const size_t min_inliers_for_valid_line ); \
GLenum GLint GLint y
Definition: glext.h:3516
GLenum GLint x
Definition: glext.h:3516

Definition at line 355 of file ransac_applications.cpp.

Function Documentation

◆ EXPLICIT_INST_ransac_detect_3D_planes()

EXPLICIT_INST_ransac_detect_3D_planes ( float  )

Return "true" if the selected points are a degenerate (invalid) case.

Definition at line 191 of file ransac_applications.cpp.

References ASSERT_, ASSERTMSG_, mrpt::math::TLine2D::coefs, mrpt::format(), and MRPT_UNUSED_PARAM.




Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020