MRPT  1.9.9
Namespaces | Macros | Functions
ransac_applications.cpp File Reference
#include "math-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 CMatrixDynamic< T > &allData, const std::vector< size_t > &useIndices, vector< CMatrixDynamic< T >> &fitModels)
 
template<typename T >
void mrpt::math::ransac3Dplane_distance (const CMatrixDynamic< T > &allData, const vector< CMatrixDynamic< T >> &testModels, const T distanceThreshold, unsigned int &out_bestModelIndex, std::vector< size_t > &out_inlierIndices)
 
template<typename T >
bool mrpt::math::ransac3Dplane_degenerate ([[maybe_unused]] const CMatrixDynamic< T > &allData, [[maybe_unused]] 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)
 
template<typename T >
void mrpt::math::ransac2Dline_fit (const CMatrixDynamic< T > &allData, const std::vector< size_t > &useIndices, vector< CMatrixDynamic< T >> &fitModels)
 
template<typename T >
void mrpt::math::ransac2Dline_distance (const CMatrixDynamic< T > &allData, const vector< CMatrixDynamic< T >> &testModels, const T distanceThreshold, unsigned int &out_bestModelIndex, std::vector< size_t > &out_inlierIndices)
 
template<typename T >
bool mrpt::math::ransac2Dline_degenerate ([[maybe_unused]] const CMatrixDynamic< T > &allData, [[maybe_unused]] const std::vector< size_t > &useIndices)
 Return "true" if the selected points are a degenerate (invalid) case. More...
 
 EXPLICIT_INSTANT_ransac_detect_2D_lines (float)
 
 EXPLICIT_INSTANT_ransac_detect_2D_lines (double)
 

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_>( \
vector<pair<size_t, TPlane>>& out_detected_planes, \
const double threshold, const size_t min_inliers_for_valid_plane)
Template for column vectors of dynamic size, compatible with Eigen.

Definition at line 170 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_>( \
std::vector<std::pair<size_t, TLine2D>>& out_detected_lines, \
const double threshold, const size_t min_inliers_for_valid_line)
Template for column vectors of dynamic size, compatible with Eigen.

Definition at line 324 of file ransac_applications.cpp.

Function Documentation

◆ EXPLICIT_INST_ransac_detect_3D_planes() [1/2]

EXPLICIT_INST_ransac_detect_3D_planes ( float  )

◆ EXPLICIT_INST_ransac_detect_3D_planes() [2/2]

EXPLICIT_INST_ransac_detect_3D_planes ( double  )

◆ EXPLICIT_INSTANT_ransac_detect_2D_lines() [1/2]

EXPLICIT_INSTANT_ransac_detect_2D_lines ( float  )

◆ EXPLICIT_INSTANT_ransac_detect_2D_lines() [2/2]

EXPLICIT_INSTANT_ransac_detect_2D_lines ( double  )



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020