21 #ifndef __lfeat_keypoint_h
22 #define __lfeat_keypoint_h
37 KeyPoint(
double x,
double y,
double s,
double score,
int trace);
60 _x(x), _y(y), _scale(s), _score(score), _trace(trace), _ori(0), _vec(0)
66 _x(k._x), _y(k._y), _scale(k._scale), _score(k._score), _trace(k._trace), _ori(0), _vec(0)
98 _vec =
new double[iSize];
119 if (a->_score < b->_score)
123 else if (a->_score > b->_score)
130 return (a->_scale < b->_scale);
137 #endif //__lfeat_keypoint_h
bool operator<(const KeyPoint &iA, const KeyPoint &iB)
std::vector< KeyPointPtr > KeyPointVect_t
KeyPoint & operator=(const KeyPoint &k)
void allocVector(int iSize)
std::shared_ptr< KeyPoint > KeyPointPtr
std::vector< KeyPointPtr >::iterator KeyPointVectIt_t
bool operator()(const KeyPointPtr &a, const KeyPointPtr &b) const