Image Component Library (ICL)
FiducialDetectorPluginICL1.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 : ICLMarkers/src/ICLMarkers/FiducialDetectorPluginICL1.h **
10 ** Module : ICLMarkers **
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 #include <ICLUtils/CompatMacros.h>
35 
36 namespace icl{
37  namespace markers{
38 
40  class FiducialDetector;
44 
48  struct Data;
49  Data *data;
50 
53  public:
54 
57 
59  // for static initialization
60  friend struct StaticConfigurableRegistrationFor_FiducialDetectorPluginICL1;
65 
67 
68  virtual void getCorners2D(std::vector<utils::Point32f> &dst, FiducialImpl &impl);
69 
71  virtual void getRotation2D(float &dst, FiducialImpl &impl);
72 
74  virtual void getFeatures(Fiducial::FeatureSet &dst);
75 
77  virtual void detect(std::vector<FiducialImpl*> &dst, const std::vector<cv::ImageRegion> &regions);
78 
80 
85  virtual void addOrRemoveMarkers(bool add, const utils::Any &which, const utils::ParamList &params);
86 
88 
91  virtual void getKeyPoints2D(std::vector<Fiducial::KeyPoint> &dst, FiducialImpl &impl);
92 
94  virtual core::Img8u createMarker(const utils::Any &whichOne,const utils::Size &size, const utils::ParamList &params);
95 
96 
97  };
98  } // namespace markers
99 }
100 
undocument this line if you encounter any issues!
Definition: Any.h:37
std::bitset<(int) FeatureCount > FeatureSet
FeatureSet class.
Definition: Fiducial.h:80
Extra abstraction layer that defines a basic skeleton for the detection of hierarchical fiducials.
Definition: FiducialDetectorPluginHierarchical.h:45
Utility structure that utilizes an std::map as parameter list.
Definition: ParamList.h:44
Size class of the ICL.
Definition: Size.h:61
FiducialDetectorPlugin for ARToolkit+ like markers using BCH coded IDs.
Definition: FiducialDetectorPluginICL1.h:47
Data * data
Definition: FiducialDetectorPluginICL1.h:48
Hidden implemetation for fiduical classes.
Definition: FiducialImpl.h:76
Main Fiducial Detector class.
Definition: FiducialDetector.h:48
#define ICLMarkers_API
Definition: CompatMacros.h:180
Simple generic data type implementation that uses a string based data representation.
Definition: Any.h:109