00001 /*!@file Neuro/VisualCortex.H A */ 00002 00003 // //////////////////////////////////////////////////////////////////// // 00004 // The iLab Neuromorphic Vision C++ Toolkit - Copyright (C) 2001 by the // 00005 // University of Southern California (USC) and the iLab at USC. // 00006 // See http://iLab.usc.edu for information about this project. // 00007 // //////////////////////////////////////////////////////////////////// // 00008 // Major portions of the iLab Neuromorphic Vision Toolkit are protected // 00009 // under the U.S. patent ``Computation of Intrinsic Perceptual Saliency // 00010 // in Visual Environments, and Applications'' by Christof Koch and // 00011 // Laurent Itti, California Institute of Technology, 2001 (patent // 00012 // pending; application number 09/912,225 filed July 23, 2001; see // 00013 // http://pair.uspto.gov/cgi-bin/final/home.pl for current status). // 00014 // //////////////////////////////////////////////////////////////////// // 00015 // This file is part of the iLab Neuromorphic Vision C++ Toolkit. // 00016 // // 00017 // The iLab Neuromorphic Vision C++ Toolkit is free software; you can // 00018 // redistribute it and/or modify it under the terms of the GNU General // 00019 // Public License as published by the Free Software Foundation; either // 00020 // version 2 of the License, or (at your option) any later version. // 00021 // // 00022 // The iLab Neuromorphic Vision C++ Toolkit is distributed in the hope // 00023 // that it will be useful, but WITHOUT ANY WARRANTY; without even the // 00024 // implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // 00025 // PURPOSE. See the GNU General Public License for more details. // 00026 // // 00027 // You should have received a copy of the GNU General Public License // 00028 // along with the iLab Neuromorphic Vision C++ Toolkit; if not, write // 00029 // to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, // 00030 // Boston, MA 02111-1307 USA. // 00031 // //////////////////////////////////////////////////////////////////// // 00032 // 00033 // Primary maintainer for this file: Lior Elazary 00034 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/plugins/SceneUnderstanding/VisualCortex.H $ 00035 // $Id: VisualCortex.H 13765 2010-08-06 18:56:17Z lior $ 00036 // 00037 00038 00039 #ifndef VISUALCORTEX_H_DEFINED 00040 #define VISUALCORTEX_H_DEFINED 00041 00042 //#include "Image/OpenCVUtil.H" // must be first to avoid conflicting defs of int64, uint64 00043 00044 #include "Component/ModelComponent.H" 00045 #include "Component/ModelParam.H" 00046 #include "Simulation/SimEventQueue.H" 00047 #include "Simulation/SimModule.H" 00048 #include "Image/VisualTracker.H" 00049 00050 #include "plugins/SceneUnderstanding/LGN.H" 00051 #include "plugins/SceneUnderstanding/V1.H" 00052 #include "plugins/SceneUnderstanding/V2.H" 00053 #include "plugins/SceneUnderstanding/CornersFeatures.H" 00054 //#include "plugins/SceneUnderstanding/TwoHalfDSketch.H" 00055 #include "plugins/SceneUnderstanding/Geons3D.H" 00056 00057 #include "plugins/SceneUnderstanding/PCamera.H" 00058 //#include "plugins/SceneUnderstanding/Contour.H" 00059 //#include "plugins/SceneUnderstanding/TensorVoting.H" 00060 #include "plugins/SceneUnderstanding/SMap.H" 00061 //#include "plugins/SceneUnderstanding/Regions.H" 00062 //#include "plugins/SceneUnderstanding/V4d.H" 00063 //#include "plugins/SceneUnderstanding/V4.H" 00064 //#include "plugins/SceneUnderstanding/Objects.H" 00065 ////#include "plugins/SceneUnderstanding/Geons2D.H" 00066 //#include "plugins/SceneUnderstanding/IT.H" 00067 //#include "Neuro/VisualCortexConfigurator.H" 00068 00069 class ModelManager; 00070 00071 class VisualCortex : public SimModule 00072 { 00073 public: 00074 //! Construct using a VisualCortex object with standard channels 00075 /*! @param mgr our ModelManager (see ModelManager.H) 00076 @param descrName descriptive name for human useage 00077 @param tagName name for ParamMap usage */ 00078 VisualCortex(OptionManager& mgr, 00079 const std::string& descrName = "VC", 00080 const std::string& tagName = "VC"); 00081 00082 //! virtual destructor for safe inheritance 00083 virtual ~VisualCortex(); 00084 00085 private: 00086 nub::ref<PCamera> itsPCamera; 00087 nub::ref<LGN> itsLGN; 00088 nub::ref<SMap> itsSMap; 00089 nub::ref<V1> itsV1; 00090 nub::ref<V2> itsV2; 00091 nub::ref<CornersFeatures> itsCornersFeatures; 00092 // nub::ref<Regions> itsRegions; 00093 // nub::ref<TwoHalfDSketch> itsTwoHalfDSketch; 00094 nub::ref<Geons3D> itsGeons3D; 00095 // nub::ref<Objects> itsObjects; 00096 // nub::ref<V2> itsV2; 00097 // nub::ref<V4d> itsV4d; 00098 // nub::ref<V4> itsV4; 00099 //// nub::ref<Geons2D> itsGeons2D; 00100 // nub::ref<IT> itsIT; 00101 00102 // nub::ref<VisualCortexConfigurator> itsVcc; 00103 00104 00105 00106 // nub::ref<VisualTracker> itsVisualTracker; 00107 }; 00108 00109 #endif 00110 00111 // ###################################################################### 00112 /* So things look consistent in everyone's emacs... */ 00113 /* Local Variables: */ 00114 /* indent-tabs-mode: nil */ 00115 /* End: */