Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
FiducialDetectorPluginAmoeba.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/FiducialDetectorPluginAmoeba **
00010 **          .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 <ICLMarkers/FiducialDetectorPluginHierarchical.h>
00036 
00037 namespace icl{
00038   namespace markers{
00039     
00041     class ICLMarkers_API FiducialDetectorPluginAmoeba : public FiducialDetectorPluginHierarchical{
00043       class Data;
00044       
00046       Data *data;
00047       
00049       FiducialDetectorPluginAmoeba();
00050       public:
00052       friend class FiducialDetector;
00053   
00055       ~FiducialDetectorPluginAmoeba();
00056       
00058 
00059       virtual void getCorners2D(std::vector<utils::Point32f> &dst, FiducialImpl &impl);
00060   
00062       virtual void getRotation2D(float &dst, FiducialImpl &impl);
00063   
00065       virtual void getFeatures(Fiducial::FeatureSet &dst);
00066   
00068       virtual void detect(std::vector<FiducialImpl*> &dst, const std::vector<cv::ImageRegion> &regions);
00069       
00071 
00076       virtual void addOrRemoveMarkers(bool add, const utils::Any &which, const utils::ParamList &params);
00077     };
00078   } // namespace markers
00079 }
00080 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines