BeobotBrainMT Class Reference

#include <Beobot/BeobotBrainMT.H>

Inheritance diagram for BeobotBrainMT:
Inheritance graph
[legend]
Collaboration diagram for BeobotBrainMT:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Constructors and Destructors

 BeobotBrainMT (OptionManager &mgr, const std::string &descrName="Beobot Brain MT", const std::string &tagName="BeobotBrainMT")
 Constructor.
virtual ~BeobotBrainMT ()
 Destructor.
Access functions

int getWinChan (uint i)
 get the winning channel
int getWinSubmapNum (uint i)
 get the winning submap number
Image< PixRGB< byte > > getCurrImage ()
 Get last inputted image.
Image< float > getCurrCMap (uint cnum)
 Get current conspicuity image.
Point2D< int > getSalPoint (uint i)
 get salient point for object i
void getFeatures (Point2D< int > p, std::vector< double > &v)
 get the pre-attentive feature vector of the passed in coordinate
Rectangle getObjRect (uint i)
 get the bounding box for object i
void getSalientFeatures (uint i, std::vector< double > &v)
 get the salient features for object i
float getProcessTime ()
 get the time it takes to produce the gist and saliency features
Image< double > getGist ()
 Get last computed Gist Vector.
Image< float > getSalMap ()
 Get last computed Saliency Map.
member functions

void input (const Image< PixRGB< byte > > img)
 Setup up with image to be processed and build the job queue.
bool outputReady ()
 Is the last given input done processing?
void threadCompute ()
 For internal thread use: Compute a conspicuity map from an image.
int getNumSalPoint ()
 get number of objects found in current image

Protected Member Functions

void start1 ()
 get started
void stop2 ()
 get stopped

Detailed Description

Brain of a Beobot this is not derived from Brain specifically used for the Beobot system

Definition at line 116 of file BeobotBrainMT.H.


Constructor & Destructor Documentation

BeobotBrainMT::BeobotBrainMT ( OptionManager mgr,
const std::string descrName = "Beobot Brain MT",
const std::string tagName = "BeobotBrainMT" 
)

Constructor.

Definition at line 65 of file BeobotBrainMT.C.

References drawDisk(), NO_INIT, rutz::shared_ptr< T >::reset(), and ZEROS.

BeobotBrainMT::~BeobotBrainMT (  )  [virtual]

Destructor.

Definition at line 158 of file BeobotBrainMT.C.


Member Function Documentation

Image< float > BeobotBrainMT::getCurrCMap ( uint  cnum  )  [inline]

Get current conspicuity image.

Definition at line 317 of file BeobotBrainMT.H.

References ASSERT.

Image< PixRGB< byte > > BeobotBrainMT::getCurrImage (  )  [inline]

Get last inputted image.

Definition at line 308 of file BeobotBrainMT.H.

void BeobotBrainMT::getFeatures ( Point2D< int >  p,
std::vector< double > &  v 
)

get the pre-attentive feature vector of the passed in coordinate

Image< double > BeobotBrainMT::getGist (  ) 

Get last computed Gist Vector.

Definition at line 242 of file BeobotBrainMT.C.

int BeobotBrainMT::getNumSalPoint (  )  [inline]

get number of objects found in current image

Definition at line 320 of file BeobotBrainMT.H.

Rectangle BeobotBrainMT::getObjRect ( uint  i  )  [inline]

get the bounding box for object i

Definition at line 326 of file BeobotBrainMT.H.

References ASSERT.

float BeobotBrainMT::getProcessTime (  )  [inline]

get the time it takes to produce the gist and saliency features

Definition at line 337 of file BeobotBrainMT.H.

void BeobotBrainMT::getSalientFeatures ( uint  i,
std::vector< double > &  v 
) [inline]

get the salient features for object i

Definition at line 329 of file BeobotBrainMT.H.

References ASSERT.

Image< float > BeobotBrainMT::getSalMap (  ) 

Get last computed Saliency Map.

Definition at line 230 of file BeobotBrainMT.C.

Point2D< int > BeobotBrainMT::getSalPoint ( uint  i  )  [inline]

get salient point for object i

Definition at line 323 of file BeobotBrainMT.H.

References ASSERT.

int BeobotBrainMT::getWinChan ( uint  i  )  [inline]

get the winning channel

Definition at line 311 of file BeobotBrainMT.H.

References ASSERT.

int BeobotBrainMT::getWinSubmapNum ( uint  i  )  [inline]

get the winning submap number

Definition at line 314 of file BeobotBrainMT.H.

References ASSERT.

void BeobotBrainMT::input ( const Image< PixRGB< byte > >  img  ) 

Setup up with image to be processed and build the job queue.

Definition at line 181 of file BeobotBrainMT.C.

References rutz::shared_ptr< T >::reset().

bool BeobotBrainMT::outputReady (  ) 

Is the last given input done processing?

Definition at line 162 of file BeobotBrainMT.C.

References Image< T >::initialized().

void BeobotBrainMT::start1 (  )  [protected, virtual]

get started

Reimplemented from ModelComponent.

Definition at line 122 of file BeobotBrainMT.C.

void BeobotBrainMT::stop2 (  )  [protected, virtual]

get stopped

Reimplemented from ModelComponent.

Definition at line 146 of file BeobotBrainMT.C.

void BeobotBrainMT::threadCompute (  ) 

The documentation for this class was generated from the following files:
Generated on Sun May 8 08:20:11 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3