keypoint.h

来自「SIFT的c++实现」· C头文件 代码 · 共 35 行

H
35
字号
#ifndef _KEYPOINT_H#define _KEYPOINT_H#include <vector>using namespace std;class Keypoint{  public:        // its location in the image, subpixel precision, so use float    float xi;    float yi;            // its magnitude and orientation    vector<double> mag;    vector<double> orien;            // the scale where it is detected    unsigned int scale;            // the trival constructor    Keypoint (){}    Keypoint(float x, float y):xi(x),yi(y){}        Keypoint(float x, float y, vector<double> const& m, vector<double> const& o, unsigned int s)        : xi(x), yi(y), mag(m), orien(o), scale(s){}    };#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?