Image Component Library (ICL)
ORBFeatureDetector.h
Go to the documentation of this file.
1 /********************************************************************
2 ** Image Component Library (ICL) **
3 ** **
4 ** Copyright (C) 2006-2013 CITEC, University of Bielefeld **
5 ** Neuroinformatics Group **
6 ** Website: www.iclcv.org and **
7 ** http://opensource.cit-ec.de/projects/icl **
8 ** **
9 ** File : ICLCV/src/ICLCV/ORBFeatureDetector.h **
10 ** Module : ICLCV **
11 ** Authors: Christof Elbrechter **
12 ** **
13 ** **
14 ** GNU LESSER GENERAL PUBLIC LICENSE **
15 ** This file may be used under the terms of the GNU Lesser General **
16 ** Public License version 3.0 as published by the **
17 ** **
18 ** Free Software Foundation and appearing in the file LICENSE.LGPL **
19 ** included in the packaging of this file. Please review the **
20 ** following information to ensure the license requirements will **
21 ** be met: http://www.gnu.org/licenses/lgpl-3.0.txt **
22 ** **
23 ** The development of this software was supported by the **
24 ** Excellence Cluster EXC 277 Cognitive Interaction Technology. **
25 ** The Excellence Cluster EXC 277 is a grant of the Deutsche **
26 ** Forschungsgemeinschaft (DFG) in the context of the German **
27 ** Excellence Initiative. **
28 ** **
29 ********************************************************************/
30 
31 #pragma once
32 
33 #ifndef ICL_HAVE_OPENCV_FEATURES_2D
34 #warning "This header must not be included without ICL_HAVE_OPENCV_FEATURES_2D defined"
35 #endif
36 
37 #include <ICLCore/Img.h>
38 #include <ICLUtils/Uncopyable.h>
39 #include <ICLUtils/Configurable.h>
40 #include <ICLUtils/Point32f.h>
42 
43 namespace icl{
44  namespace cv{
45 
47  struct Data;
48  Data *m_data;
49 
50  public:
52 
54 
56  struct Impl;
57  Impl *impl;
59  ~FeatureSetClass();
61  };
62 
64 
65 
66  struct Match{
68  float distance;
69  };
70 
71  FeatureSet detect(const core::Img8u &image);
72 
73  const core::ImgBase *getIntermediateImage(const std::string &id);
74 
75  std::vector<Match> match(const FeatureSet &a, const FeatureSet &b);
76  };
77  }
78 }
Definition: ORBFeatureDetector.h:66
float distance
Definition: ORBFeatureDetector.h:68
ICLUtils_API MatchResult match(const std::string &text, const std::string &regex, int numSubMatches=0)
Applies a regular expression match on given text and regex pattern (internally using regex....
undocument this line if you encounter any issues!
Definition: Any.h:37
Class interface for un-copyable classes.
Definition: Uncopyable.h:64
Definition: ORBFeatureDetector.h:46
utils::Point32f b
Definition: ORBFeatureDetector.h:67
#define ICLCV_API
Definition: CompatMacros.h:177
Impl * impl
Definition: ORBFeatureDetector.h:56
Data * m_data
Definition: ORBFeatureDetector.h:47
Abstract class for visualization tasks.
Definition: VisualizationDescription.h:73
Single precission 3D Vectors Point class of the ICL.
Definition: Point32f.h:41
Definition: ORBFeatureDetector.h:55
Interface for classes that can be configured from configuration-files and GUI-Components.
Definition: Configurable.h:194
utils::SmartPtr< FeatureSetClass > FeatureSet
Definition: ORBFeatureDetector.h:63
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
Specialization of the SmartPtrBase class for Pointers.
Definition: SmartPtr.h:75