Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
FiducialDetectorPluginHierarchical.h
Go to the documentation of this file.
00001 /********************************************************************
00002 **                Image Component Library (ICL)                    **
00003 **                                                                 **
00004 ** Copyright (C) 2006-2013 CITEC, University of Bielefeld          **
00005 **                         Neuroinformatics Group                  **
00006 ** Website: www.iclcv.org and                                      **
00007 **          http://opensource.cit-ec.de/projects/icl               **
00008 **                                                                 **
00009 ** File   : ICLMarkers/src/ICLMarkers/FiducialDetectorPluginHierar **
00010 **          chical.h                                               **
00011 ** Module : ICLMarkers                                             **
00012 ** Authors: Christof Elbrechter                                    **
00013 **                                                                 **
00014 **                                                                 **
00015 ** GNU LESSER GENERAL PUBLIC LICENSE                               **
00016 ** This file may be used under the terms of the GNU Lesser General **
00017 ** Public License version 3.0 as published by the                  **
00018 **                                                                 **
00019 ** Free Software Foundation and appearing in the file LICENSE.GPL  **
00020 ** included in the packaging of this file.  Please review the      **
00021 ** following information to ensure the license requirements will   **
00022 ** be met: http://www.gnu.org/licenses/lgpl-3.0.txt                **
00023 **                                                                 **
00024 ** The development of this software was supported by the           **
00025 ** Excellence Cluster EXC 277 Cognitive Interaction Technology.    **
00026 ** The Excellence Cluster EXC 277 is a grant of the Deutsche       **
00027 ** Forschungsgemeinschaft (DFG) in the context of the German       **
00028 ** Excellence Initiative.                                          **
00029 **                                                                 **
00030 ********************************************************************/
00031 
00032 #pragma once
00033 
00034 #include <ICLCV/ImageRegion.h>
00035 
00036 #include <ICLMarkers/FiducialDetectorPlugin.h>
00037 #include <ICLMarkers/RegionStructure.h>
00038 
00039 namespace icl{
00040   namespace markers{
00041     
00042   
00044     class FiducialDetectorPluginHierarchical : public FiducialDetectorPlugin{
00046       struct Data;
00047       
00049       Data *data;
00050       
00051       protected:
00052       
00054       FiducialDetectorPluginHierarchical();
00055       public:
00056       
00058       ~FiducialDetectorPluginHierarchical();
00059       
00061       virtual void getFeatures(Fiducial::FeatureSet &dst)=0;
00062       
00064 
00066       virtual void detect(std::vector<FiducialImpl*> &dst, const core::Img8u &image);
00067   
00069       virtual void detect(std::vector<FiducialImpl*> &dst, const std::vector<cv::ImageRegion> &regions) = 0;
00070       
00072       virtual void addOrRemoveMarkers(bool add, const utils::Any &which, const utils::ParamList &params)=0;
00073     };
00074     
00075   } // namespace markers
00076 }
00077 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines