You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
876 B
40 lines
876 B
#ifndef __VLFEAT_HEADERS__
|
|
#define __VLFEAT_HEADERS__
|
|
|
|
#include "../../../components/base/basicVideoAnalyzer.h"
|
|
#include "../filter/filterImage.h"
|
|
//#include "../../../data/cortex/base/basicImage.h"
|
|
#include "../vl/dsift.h"
|
|
#include "../vl/generic.h"
|
|
|
|
|
|
#define DSIFT_STEP_X 28
|
|
#define DSIFT_STEP_Y 15
|
|
#define DSIFT_BIN_SIZE 7
|
|
|
|
class vlfeatDetector : public basicVideoAnalyzer {
|
|
private:
|
|
int m_iWidth;
|
|
int m_iHeight;
|
|
|
|
filterImage *m_oFilter;
|
|
|
|
//Mat m_oMat;
|
|
//cortexImage *m_pCortexImage;
|
|
|
|
VlDsiftKeypoint *m_pOldKeyPoints;
|
|
int m_nOldKeyPoints;
|
|
VlDsiftKeypoint *m_pNewKeyPoints;
|
|
int m_nNewKeyPoints;
|
|
|
|
VlDsiftFilter *m_pVlDsiftFilter;
|
|
|
|
protected:
|
|
bool m_fImageAnalyzer(Mat &Picture);
|
|
public:
|
|
vlfeatDetector();
|
|
~vlfeatDetector();
|
|
void markup( Mat &Picture );
|
|
};
|
|
|
|
#endif
|