-
Notifications
You must be signed in to change notification settings - Fork 17
/
SIFT_keypoint.hpp
62 lines (55 loc) · 2.4 KB
/
SIFT_keypoint.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*===========================================================================*\
* *
* ACG Localizer *
* Copyright (C) 2011 by Computer Graphics Group, RWTH Aachen *
* www.rwth-graphics.de *
* *
*---------------------------------------------------------------------------*
* This file is part of ACG Localizer *
* *
* ACG Localizer is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* ACG Localizer is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with ACG Localizer. If not, see <http://www.gnu.org/licenses/>. *
* *
\*===========================================================================*/
#ifndef SIFT_KEYPOINT_HH
#define SIFT_KEYPOINT_HH
/**
* Simple class defining a SIFT-keypoint, excluding its descriptor.
*
* author : Torsten Sattler (tsattler@cs.rwth-aachen.de)
* date : 11-02-2011
**/
class SIFT_keypoint
{
public:
float x;
float y;
float scale;
float orientation;
SIFT_keypoint( )
{
x = y = scale = orientation = 0.0;
}
SIFT_keypoint( float x_, float y_, float scale_, float orientation_ )
{
x = x_;
y = y_;
scale = scale_;
orientation = orientation_;
}
};
enum SIFT_FORMAT{
LOWE = 0,
UNDEFINED = 3
};
#endif