Image Component Library (ICL)
CutfreeAdjacencyFeatureExtractor.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 : ICLGeom/src/ICLGeom/CutfreeAdjacencyFeatureExtractor.h **
10 ** Module : ICLGeom **
11 ** Authors: Andre Ueckermann **
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 <ICLCore/DataSegment.h>
34 #include <ICLCore/Img.h>
36 
37 namespace icl{
38  namespace geom{
42 
43  public:
44 
45  enum Mode {BEST, GPU, CPU};
46 
48 
51 
54 
56 
65  std::vector<std::vector<int> > &surfaces, math::DynMatrix<bool> &testMatrix, float euclideanDistance,
66  int passes, int tolerance, core::Img32s labelImage);
67 
69 
80  std::vector<std::vector<int> > &surfaces, math::DynMatrix<bool> &testMatrix, float euclideanDistance,
81  int passes, int tolerance, core::Img32s labelImage,
82  std::vector<SurfaceFeatureExtractor::SurfaceFeature> feature, float minAngle);
83 
84  private:
85 
86  struct Data;
87  Data *m_data;
88 
89  };
90  } // namespace geom
91 }
ICLIO_API void labelImage(core::ImgBase *image, const std::string &label)
draws a label into the upper left image corner
undocument this line if you encounter any issues!
Definition: Any.h:37
Definition: CutfreeAdjacencyFeatureExtractor.h:45
Mode
Definition: CutfreeAdjacencyFeatureExtractor.h:45
Definition: CutfreeAdjacencyFeatureExtractor.h:45
CutfreeAdjacencyFeatureExtractor(Mode mode=BEST)
Constructor.
Definition: CutfreeAdjacencyFeatureExtractor.h:41
Definition: CutfreeAdjacencyFeatureExtractor.h:45
math::DynMatrix< bool > apply(core::DataSegment< float, 4 > &xyzh, std::vector< std::vector< int > > &surfaces, math::DynMatrix< bool > &testMatrix, float euclideanDistance, int passes, int tolerance, core::Img32s labelImage)
Calculates the cutfree adjacency feature matrix.
Data * m_data
internal data type
Definition: CutfreeAdjacencyFeatureExtractor.h:86
The Img class implements the ImgBase Image interface with type specific functionalities .
Definition: Img.h:49