KeyPoint.h
Go to the documentation of this file.
00001 /*
00002 * This file is part of Parallel SURF, which implements the SURF algorithm
00003 * using multi-threading.
00004 *
00005 * Copyright (C) 2010 David Gossow
00006 *
00007 * It is based on the SURF implementation included in Pan-o-matic 0.9.4, 
00008 * written by Anael Orlinski.
00009 * 
00010 * Parallel SURF is free software; you can redistribute it and/or modify
00011 * it under the terms of the GNU General Public License as published by
00012 * the Free Software Foundation; either version 3 of the License, or
00013 * (at your option) any later version.
00014 * 
00015 * Parallel SURF is distributed in the hope that it will be useful,
00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018 * GNU General Public License for more details.
00019 * 
00020 * You should have received a copy of the GNU General Public License
00021 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00022 */
00023 
00024 #ifndef __parallelsurf_keypoint_h
00025 #define __parallelsurf_keypoint_h
00026 
00027 #include <vector>
00028 
00029 namespace parallelsurf {
00030 
00031 class KeyPoint
00032 {
00033 public:
00034         KeyPoint();
00035         KeyPoint(double x, double y, double s, double score, int trace);
00036         
00037         double          _x, _y;
00038         double          _scale;
00039         double          _score;
00040         int                     _trace;
00041         double          _ori;
00042 
00043         std::vector<double> _vec;
00044 };
00045 
00046 inline KeyPoint::KeyPoint()
00047 {
00048 
00049 }
00050 
00051 inline KeyPoint::KeyPoint(double x, double y, double s, double score, int trace) : 
00052         _x(x), _y(y), _scale(s), _score(score), _trace(trace), _vec(0)
00053 {
00054 
00055 }
00056 
00057 inline bool operator < (const KeyPoint & iA, const KeyPoint & iB)
00058 {
00059         return (iA._score < iB._score);
00060 }
00061 
00062 }
00063 
00064 #endif //__parallelsurf_keypoint_h
00065 


or_libs
Author(s): raphael
autogenerated on Mon Oct 6 2014 02:53:18