Main MRPT website > C++ reference for MRPT 1.9.9
Functions
ConsistencyTest.cpp File Reference
#include "pbmap-precomp.h"
#include <mrpt/math/CArrayNumeric.h>
#include <mrpt/math/CMatrixFixedNumeric.h>
#include <mrpt/math/ransac.h>
#include <mrpt/poses/CPose3D.h>
#include <mrpt/pbmap/ConsistencyTest.h>
#include <mrpt/pbmap/SubgraphMatcher.h>
#include <mrpt/pbmap/PbMapLocaliser.h>
Include dependency graph for ConsistencyTest.cpp:

Go to the source code of this file.

Functions

CMatrixDouble getAlignment (const CMatrixDouble &matched_planes)
 
void ransacPlaneAlignment_fit (const CMatrixDouble &planeCorresp, const std::vector< size_t > &useIndices, vector< CMatrixDouble > &fitModels)
 
void ransac3Dplane_distance (const CMatrixDouble &planeCorresp, const vector< CMatrixDouble > &testModels, const double distanceThreshold, unsigned int &out_bestModelIndex, std::vector< size_t > &out_inlierIndices)
 
bool ransac3Dplane_degenerate (const CMatrixDouble &planeCorresp, const std::vector< size_t > &useIndices)
 Return "true" if the selected points are a degenerate (invalid) case. More...
 

Function Documentation

◆ getAlignment()

CMatrixDouble getAlignment ( const CMatrixDouble matched_planes)

Definition at line 580 of file ConsistencyTest.cpp.

References det().

Referenced by ransacPlaneAlignment_fit().

◆ ransac3Dplane_degenerate()

bool ransac3Dplane_degenerate ( const CMatrixDouble planeCorresp,
const std::vector< size_t > &  useIndices 
)

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

Definition at line 738 of file ConsistencyTest.cpp.

References ASSERT_.

Referenced by mrpt::pbmap::ConsistencyTest::estimatePoseRANSAC().

◆ ransac3Dplane_distance()

void ransac3Dplane_distance ( const CMatrixDouble planeCorresp,
const vector< CMatrixDouble > &  testModels,
const double  distanceThreshold,
unsigned int &  out_bestModelIndex,
std::vector< size_t > &  out_inlierIndices 
)

Definition at line 697 of file ConsistencyTest.cpp.

References ASSERT_, and mrpt::math::norm().

Referenced by mrpt::pbmap::ConsistencyTest::estimatePoseRANSAC().

◆ ransacPlaneAlignment_fit()

void ransacPlaneAlignment_fit ( const CMatrixDouble planeCorresp,
const std::vector< size_t > &  useIndices,
vector< CMatrixDouble > &  fitModels 
)

Definition at line 668 of file ConsistencyTest.cpp.

References ASSERT_, and getAlignment().

Referenced by mrpt::pbmap::ConsistencyTest::estimatePoseRANSAC().




Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST