15 #include <mrpt/otherlibs/do_opencv_includes.h> 32 #define RANSAC_ERR_TOL 3 35 #define RANSAC_INLIER_FRAC_EST 0.25 38 #define RANSAC_PROB_BAD_SUPP 0.10 41 #define feat_ransac_data( feat ) ( (struct ransac_data*) (feat)->feature_data ) 57 typedef CvMat* (*ransac_xform_fn)( CvPoint2D64f* pts, CvPoint2D64f* mpts,
74 typedef double (*
ransac_err_fn)( CvPoint2D64f pt, CvPoint2D64f mpt, CvMat* M );
120 double err_tol,
struct feature*** inliers,
137 extern CvMat*
lsq_homog( CvPoint2D64f* pts, CvPoint2D64f* mpts,
int n );
152 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.