24 #ifndef _FIREVISION_CLASSIFIERS_SIFT_H_
25 #define _FIREVISION_CLASSIFIERS_SIFT_H_
28 # error SIFT not available, you may not use the SiftClassifier
31 #include <fvclassifiers/classifier.h>
40 typedef struct _IplImage IplImage;
44 namespace firevision {
49 unsigned int pixel_width,
50 unsigned int pixel_height,
51 int kdtree_bbf_max_nn_chks = 200,
52 float nn_sq_dist_ratio_thr = 0.49,
60 const char **features_files_;
63 feature * obj_features_;
64 int obj_num_features_;
66 CvMemStorage *storage_;
69 feature *img_features_;
71 float nn_sq_dist_ratio_thr_;
72 int kdtree_bbf_max_nn_chks_;
77 unsigned int loop_count_;
78 unsigned int ttc_objconv_;
79 unsigned int ttc_objfeat_;
80 unsigned int ttc_imgconv_;
81 unsigned int ttc_imgfeat_;
82 unsigned int ttc_matchin_;
83 unsigned int ttc_roimerg_;
Classifier to extract regions of interest.
SiftClassifier(const char *features_file, unsigned int pixel_width, unsigned int pixel_height, int kdtree_bbf_max_nn_chks=200, float nn_sq_dist_ratio_thr=0.49, int flags=0)
Constructor.
virtual ~SiftClassifier()
Destructor.
virtual std::list< ROI > * classify()
Classify image.
Fawkes library namespace.