MRPT  1.9.9
ransac_applications.cpp File Reference
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 std::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, std::vector< size_t > &out_inlierIndices)
 
template<typename T >
bool mrpt::math::ransac3Dplane_degenerate (const CMatrixTemplateNumeric< T > &allData, const std::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 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:3872
GLenum GLint GLint y
Definition: glext.h:3538
GLenum GLint x
Definition: glext.h:3538

Definition at line 178 of file ransac_applications.cpp.

◆ EXPLICIT_INSTANT_ransac_detect_2D_lines

#define EXPLICIT_INSTANT_ransac_detect_2D_lines (   _TYPE_)
Value:
template void 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:3538
GLenum GLint x
Definition: glext.h:3538

Definition at line 344 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 186 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.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020