source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/SURF-V1.0.8/ipoint.h @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 1.6 KB
Line 
1/*
2 * Speeded-Up Robust Features (SURF)
3 * http://people.ee.ethz.ch/~surf
4 *
5 * Authors: Herbert Bay, Andreas Ess, Geert Willems
6 * Windows port by Stefan Saur
7 *
8 * Copyright (2006): ETH Zurich, Switzerland
9 * Katholieke Universiteit Leuven, Belgium
10 * All rights reserved.
11 *
12 * For details, see the paper:
13 * Herbert Bay,  Tinne Tuytelaars,  Luc Van Gool,
14 *  "SURF: Speeded Up Robust Features"
15 * Proceedings of the ninth European Conference on Computer Vision, May 2006
16 *
17 * Permission to use, copy, modify, and distribute this software and
18 * its documentation for educational, research, and non-commercial
19 * purposes, without fee and without a signed licensing agreement, is
20 * hereby granted, provided that the above copyright notice and this
21 * paragraph appear in all copies modifications, and distributions.
22 *
23 * Any commercial use or any redistribution of this software
24 * requires a license from one of the above mentioned establishments.
25 *
26 * For further details, contact Andreas Ess (aess@vision.ee.ethz.ch).
27 */
28
29#ifndef IPOINT_H
30#define IPOINT_H
31
32#include <stdlib.h>
33
34namespace surf {
35
36class Ipoint {
37  public:
38  // Constructor
39  Ipoint(){
40    ivec = NULL;
41    ori = 0.0;
42  };
43
44  // Destructor
45  ~Ipoint(){
46    if (ivec)
47      delete [] ivec;
48  };
49
50  // Allocate space
51  void allocIvec(const int si){
52    ivec = new double[si];
53  };
54
55    // x, y value of the interest point
56    double x, y;
57    // detected scale
58    double scale;
59    // strength of the interest point
60    double strength;
61    // orientation
62    double ori;
63    // sign of Laplacian
64    int laplace;
65    // descriptor
66    double *ivec;
67};
68
69}
70
71#endif // IPOINT_H
Note: See TracBrowser for help on using the repository browser.