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.LGPL **
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 <ICLUtils/CompatMacros.h>
00035 #include <ICLCV/ImageRegion.h>
00036 
00037 #include <ICLMarkers/FiducialDetectorPlugin.h>
00038 #include <ICLMarkers/RegionStructure.h>
00039 
00040 namespace icl{
00041   namespace markers{
00042     
00043   
00045     class ICLMarkers_API FiducialDetectorPluginHierarchical : public FiducialDetectorPlugin{
00047       struct Data;
00048       
00050       Data *data;
00051       
00052       protected:
00053       
00055       FiducialDetectorPluginHierarchical();
00056       public:
00057       
00059       ~FiducialDetectorPluginHierarchical();
00060       
00062       virtual void getFeatures(Fiducial::FeatureSet &dst)=0;
00063       
00065 
00067       virtual void detect(std::vector<FiducialImpl*> &dst, const core::Img8u &image);
00068   
00070       virtual void detect(std::vector<FiducialImpl*> &dst, const std::vector<cv::ImageRegion> &regions) = 0;
00071       
00073       virtual void addOrRemoveMarkers(bool add, const utils::Any &which, const utils::ParamList &params)=0;
00074     };
00075     
00076   } // namespace markers
00077 }
00078 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines