49 bool forceScaleToUnity =
false);
57 const std::vector<mrpt::math::TPoint3D>& in_points_this,
58 const std::vector<mrpt::math::TPoint3D>& in_points_other,
60 bool forceScaleToUnity =
false);
double ransac_maxSetSizePct
(Default=0.5) The minimum ratio (0.0 - 1.0) of the input set that is considered to be inliers...
Parameters for se3_l2_robust().
std::function< bool(const TPotentialMatch &)> TFunctorCheckPotentialMatch
bool forceScaleToUnity
(Default=true)
bool verbose
(Default=false)
unsigned int ransac_nmaxSimulations
(Default=50) The maximum number of iterations of the RANSAC algorithm
double ransac_threshold_ang
(Default=1 deg) The maximum angle (yaw,pitch,roll) for a solution to be considered as matching a cand...
constexpr double DEG2RAD(const double x)
Degrees to radians.
std::vector< uint32_t > inliers_idx
Indexes within the in_correspondences list which corresponds with inliers.
double scale
The estimated scale of the rigid transformation (should be very close to 1.0)
A class used to store a 3D pose as a translation (x,y,z) and a quaternion (qr,qx,qy,qz).
double ransac_threshold_scale
(Default=0.03) The maximum difference in scale for a solution to be considered as matching a candidat...
TFunctorCheckPotentialMatch user_individual_compat_callback
If provided, this user callback will be invoked to determine the individual compatibility between eac...
double ransac_threshold_lin
(Default=0.05) The maximum distance in X,Y,Z for a solution to be considered as matching a candidate ...
unsigned int ransac_minSetSize
(Default=5) The minimum amount of points in a set to start a consensus set.
bool se3_l2(const mrpt::tfest::TMatchingPairList &in_correspondences, mrpt::poses::CPose3DQuat &out_transform, double &out_scale, bool forceScaleToUnity=false)
Least-squares (L2 norm) solution to finding the optimal SE(3) transform between two reference frames ...
bool se3_l2_robust(const mrpt::tfest::TMatchingPairList &in_correspondences, const TSE3RobustParams &in_params, TSE3RobustResult &out_results)
Least-squares (L2 norm) solution to finding the optimal SE(3) transform between two reference frames ...
mrpt::poses::CPose3DQuat transformation
The best transformation found.
Functions for estimating the optimal transformation between two frames of references given measuremen...
Output placeholder for se3_l2_robust()