12 #ifndef MRPT_SCANMATCHING_SUPRESS_BACKCOMPAT_WARNING 14 MRPT_WARNING(
"Deprecated header: Use <mrpt/tfest.h> or individual headers instead")
26 namespace scanmatching
31 const std::vector<double> &inPoints,
32 std::vector<double> &outQuat,
33 bool forceScaleToUnity =
false);
38 const std::vector<double> &inPoints,
40 bool forceScaleToUnity =
false);
48 const bool forceScaleToUnity =
false);
56 const bool forceScaleToUnity =
false);
65 const unsigned int ransac_minSetSize = 5,
66 const unsigned int ransac_nmaxSimulations = 50,
67 const double ransac_maxSetSizePct = 0.7,
68 const bool forceScaleToUnity =
false);
89 unsigned int ransac_minSetSize = 3,
90 unsigned int ransac_maxSetSize = 20,
92 unsigned int ransac_nSimulations = 0,
94 bool ransac_fuseByCorrsMatch =
true,
95 float ransac_fuseMaxDiffXY = 0.01f,
97 bool ransac_algorithmForLandmarks =
true,
98 double probability_find_good_model = 0.999,
99 unsigned int ransac_min_nSimulations = 1500,
100 const bool verbose =
false,
101 double max_rmse_to_end = 0
MRPT_WARNING("This is an old header, please replace with <mrpt/math.h>")
bool TFEST_IMPEXP leastSquareErrorRigidTransformation(mrpt::utils::TMatchingPairList &in_correspondences, mrpt::poses::CPose2D &out_transformation, mrpt::math::CMatrixDouble33 *out_estimateCovariance=NULL)
const float normalizationStd
void TFEST_IMPEXP robustRigidTransformation(mrpt::utils::TMatchingPairList &in_correspondences, mrpt::poses::CPosePDFSOG &out_transformation, float normalizationStd, unsigned int ransac_minSetSize=3, unsigned int ransac_maxSetSize=20, float ransac_mahalanobisDistanceThreshold=3.0f, unsigned int ransac_nSimulations=0, mrpt::utils::TMatchingPairList *out_largestSubSet=NULL, bool ransac_fuseByCorrsMatch=true, float ransac_fuseMaxDiffXY=0.01f, float ransac_fuseMaxDiffPhi=mrpt::utils::DEG2RAD(0.1f), bool ransac_algorithmForLandmarks=true, double probability_find_good_model=0.999, unsigned int ransac_min_nSimulations=1500, const bool verbose=false, double max_rmse_to_end=0)
bool TFEST_IMPEXP leastSquareErrorRigidTransformation6D(const mrpt::utils::TMatchingPairList &in_correspondences, mrpt::poses::CPose3DQuat &out_transformation, double &out_scale, const bool forceScaleToUnity=false)
double DEG2RAD(const double x)
Degrees to radians.
Declares a class that represents a Probability Density function (PDF) of a 2D pose ...
const float ransac_mahalanobisDistanceThreshold
Declares a class that represents a Probability Density function (PDF) of a 2D pose ...
A class used to store a 3D pose as a translation (x,y,z) and a quaternion (qr,qx,qy,qz).
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
#define MRPT_DEPRECATED(msg)
Usage: MRPT_DEPRECATED("Use XX instead") void myFunc(double);.
std::vector< int32_t > vector_int
double TFEST_IMPEXP HornMethod(const std::vector< double > &inPoints, std::vector< double > &outQuat, bool forceScaleToUnity=false)
bool TFEST_IMPEXP leastSquareErrorRigidTransformation6DRANSAC(const mrpt::utils::TMatchingPairList &in_correspondences, mrpt::poses::CPose3D &out_transformation, double &out_scale, vector_int &out_inliers_idx, const unsigned int ransac_minSetSize=5, const unsigned int ransac_nmaxSimulations=50, const double ransac_maxSetSizePct=0.7, const bool forceScaleToUnity=false)