SaliencyModuleI.H

00001 #include "Component/ModelComponent.H"
00002 #include "Component/ModelParam.H"
00003 #include "GUI/ImageDisplayStream.H"
00004 #include "GUI/XWinManaged.H"
00005 #include "Image/Image.H"
00006 #include "Image/Image.H"
00007 #include "Image/Pixels.H"
00008 #include "Media/FrameSeries.H"
00009 #include "Neuro/EnvVisualCortex.H"
00010 #include "Raster/GenericFrame.H"
00011 #include "Transport/FrameInfo.H"
00012 #include "Robots/SeaBeeIII/VisionBrainComponentI.H"
00013 
00014 #include "Ice/RobotBrainObjects.ice.H"
00015 #include "Ice/RobotSimEvents.ice.H"
00016 #include "Ice/IceImageUtils.H"
00017 #include <IceUtil/Thread.h>
00018 
00019 
00020 #ifndef SALIENCYMODULEI_H
00021 #define SALIENCYMODULEI_H
00022 
00023 class SaliencyModuleI : public VisionBrainComponentI
00024 {
00025 public:
00026 
00027   SaliencyModuleI(OptionManager& mgr,
00028       const std::string& descrName = "SaliencyModule",
00029       const std::string& tagName = "SaliencyModule");
00030 
00031   void updateFrame(Image<PixRGB<byte> > img, bool isFwdCamera);
00032 
00033         //Get rid of this function! There should only be one update frame...
00034         void updateFrame(Image<PixRGB<byte> > img, string cameraId);
00035 
00036   virtual void registerTopics();
00037 
00038 private:
00039   nub::soft_ref<EnvVisualCortex>  itsEvc;
00040 
00041   OModelParam<std::string>        itsImageDescr;
00042 
00043   bool itsRunning;
00044 
00045 };
00046 
00047 #endif
00048 
Generated on Sun May 8 08:05:58 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3