24 #ifndef _FIREVISION_CLASSIFIERS_SIFTPP_H_
25 #define _FIREVISION_CLASSIFIERS_SIFTPP_H_
28 # error SIFTPP not available, you may not use the SiftppClassifier
31 #include <fvclassifiers/classifier.h>
32 #include <utils/time/clock.h>
33 #include <utils/time/tracker.h>
38 #include <siftpp/sift.hpp>
45 namespace firevision {
56 int unnormalized = 0);
65 VL::Sift::Keypoint
key;
72 int findMatch(
const Feature &ip1,
const std::vector<Feature> &ipts);
76 double distSquare(VL::float_t *v1, VL::float_t *v2,
int n);
79 VL::PgmBuffer * obj_img_;
80 std::vector<Feature> obj_features_;
81 int obj_num_features_;
84 VL::PgmBuffer * image_;
85 std::vector<Feature> img_features_;
86 int img_num_features_;
95 VL::float_t threshold_;
96 VL::float_t edgeThreshold_;
125 unsigned int loop_count_;
126 unsigned int ttc_objconv_;
127 unsigned int ttc_objfeat_;
128 unsigned int ttc_imgconv_;
129 unsigned int ttc_imgfeat_;
130 unsigned int ttc_matchin_;
131 unsigned int ttc_roimerg_;