15 #include <mrpt/otherlibs/do_opencv_includes.h> 37 #define FEATURE_OXFD_COLOR CV_RGB(255, 255, 0) 38 #define FEATURE_LOWE_COLOR CV_RGB(255, 0, 255) 41 #define FEATURE_MAX_D 128 double scl
scale of a Lowe-style feature
double a
Oxford-type affine region parameter.
struct feature * mdl_match
matching feature from model
void * feature_data
user-definable data
CvPoint2D64f img_pt
location in image
double ori
orientation of a Lowe-style feature
void draw_features(IplImage *img, struct feature *feat, int n)
Displays a set of features on an image
double b
Oxford-type affine region parameter.
double descr_dist_sq(struct feature *f1, struct feature *f2)
Calculates the squared Euclidian distance between two feature descriptors.
struct feature * bck_match
matching feature from backmward image
struct feature * fwd_match
matching feature from forward image
int category
all-purpose feature category
double descr[FEATURE_MAX_D]
descriptor
int export_features(char *filename, struct feature *feat, int n)
Exports a feature set to a file formatted depending on the type of features, as specified in the fea...
feature_type
FEATURE_OXFD FEATURE_LOWE.
Structure to represent an affine invariant image feature.
int type
feature type, OXFD or LOWE
feature_match_type
FEATURE_FWD_MATCH FEATURE_BCK_MATCH FEATURE_MDL_MATCH.
CvPoint2D64f mdl_pt
location in model
int import_features(char *filename, int type, struct feature **feat)
Reads image features from file.
double c
Oxford-type affine region parameter.
#define FEATURE_MAX_D
max feature descriptor length
GLuint GLuint GLsizei GLenum type