Main MRPT website > C++ reference for MRPT 1.5.6
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

#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);
GLint GLint GLint GLint GLint GLint y
Definition: glew.h:1166
GLint GLint GLint GLint GLint x
Definition: glew.h:1166
GLdouble GLdouble z
Definition: glew.h:1464

Definition at line 182 of file ransac_applications.cpp.

#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 ); \
GLint GLint GLint GLint GLint GLint y
Definition: glew.h:1166
GLint GLint GLint GLint GLint x
Definition: glew.h:1166

Definition at line 355 of file ransac_applications.cpp.

Function Documentation

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.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018