15 #include <mrpt/otherlibs/do_opencv_includes.h> 31 #define RANSAC_ERR_TOL 3 34 #define RANSAC_INLIER_FRAC_EST 0.25 37 #define RANSAC_PROB_BAD_SUPP 0.10 40 #define feat_ransac_data(feat) ((struct ransac_data*)(feat)->feature_data) 55 typedef CvMat* (*ransac_xform_fn)(CvPoint2D64f* pts, CvPoint2D64f* mpts,
int n);
70 typedef double (*
ransac_err_fn)(CvPoint2D64f pt, CvPoint2D64f mpt, CvMat* M);
114 struct feature*** inliers,
int* n_in);
129 extern CvMat*
lsq_homog(CvPoint2D64f* pts, CvPoint2D64f* mpts,
int n);
143 extern double homog_xfer_err(CvPoint2D64f pt, CvPoint2D64f mpt, CvMat* H);
holds feature data relevant to ransac
Structure to represent an affine invariant image feature.