
#include <Neuro/getSaliency.H>
Inheritance diagram for GetSaliency:


It uses the Brain class in order to create a list of the coordinates and evolution times for the salient spots of an image.
Definition at line 60 of file getSaliency.H.
Public Member Functions | |
| GetSaliency (OptionManager &mgr) | |
| Constructor. | |
| ~GetSaliency () | |
| Destructor. | |
| const int | compute (const Image< PixRGB< byte > > &img, const SimTime &max_time) |
| Compute the table of salient spots. | |
| const Image< float > & | getSalmap () |
| Returns the initial saliency map prior to the evolution. | |
| const std::vector< Point2D< int > > & | getCoords () |
| Returns the coordinates of the salient spots. | |
| const std::vector< SimTime > & | getTimes () |
| Returns the evolution times. | |
| const std::vector< subMap > & | getSubMaps () |
| Returns the submaps. | |
Protected Member Functions | |
| SIMCALLBACK_DECLARE (GetSaliency, SimEventWTAwinner) | |
| Callback for when a new attention shift occurs. | |
Protected Attributes | |
| nub::ref< SimEventQueue > | itsQ |
| Image< float > | itsSalmap |
| std::vector< Point2D< int > > | itsCoords |
| std::vector< SimTime > | itsTimes |
| std::vector< subMap > | itsSubMaps |
|
|
Constructor.
Definition at line 55 of file getSaliency.C. References ModelComponent::addSubComponent(), itsQ, OPT_RawVisualCortexChans, OPT_TaskRelevanceMapType, and OptionManager::setOptionValString(). |
|
|
Destructor.
Definition at line 70 of file getSaliency.C. |
|
||||||||||||
|
Compute the table of salient spots. Required parameters:
Definition at line 82 of file getSaliency.C. References e, itsCoords, itsQ, itsSalmap, itsTimes, and LINFO. |
|
|
Returns the coordinates of the salient spots.
Definition at line 112 of file getSaliency.C. References itsCoords. |
|
|
Returns the initial saliency map prior to the evolution. Should be called after compute.
Definition at line 108 of file getSaliency.C. References itsSalmap. |
|
|
Returns the submaps.
Definition at line 120 of file getSaliency.C. References downSize(), i, itsQ, itsSubMaps, NamedImage< T >::name(), rescale(), and Dims::w(). |
|
|
Returns the evolution times.
Definition at line 116 of file getSaliency.C. References itsTimes. |
|
||||||||||||
|
Callback for when a new attention shift occurs.
|
1.4.4