SimEventSaliencyMapOutput Class Reference

A new output is available from the SaliencyMap. More...

#include <Neuro/NeuroSimEvents.H>

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

List of all members.

Public Member Functions

 SimEventSaliencyMapOutput (SimModule *src, const Image< float > &smout, const int maplevel)
 Constuctor.
virtual ~SimEventSaliencyMapOutput ()
 Destructor.
virtual std::string toString () const
 Get a description for printing out.
const Image< float > sm (const float factor=1.0F) const
 Get the SaliencyMap output.
Point2D< int > smToOrig (const Point2D< int > &p) const
 Transform coordinates from saliency map to original image.
Point2D< int > origToSm (const Point2D< int > &p) const
 Transform coordinates from original image to saliency map.

Detailed Description

A new output is available from the SaliencyMap.

Definition at line 190 of file NeuroSimEvents.H.


Constructor & Destructor Documentation

SimEventSaliencyMapOutput::SimEventSaliencyMapOutput ( SimModule src,
const Image< float > &  smout,
const int  maplevel 
)

Constuctor.

Definition at line 195 of file NeuroSimEvents.C.

SimEventSaliencyMapOutput::~SimEventSaliencyMapOutput (  )  [virtual]

Destructor.

Definition at line 199 of file NeuroSimEvents.C.


Member Function Documentation

Point2D< int > SimEventSaliencyMapOutput::origToSm ( const Point2D< int > &  p  )  const

Transform coordinates from original image to saliency map.

Definition at line 221 of file NeuroSimEvents.C.

References Point2D< T >::i.

const Image< float > SimEventSaliencyMapOutput::sm ( const float  factor = 1.0F  )  const

Get the SaliencyMap output.

A factor of 1.0 will return the raw, unnormalized map. A factor of 0.0F will normalize the map to a range of [0..255]. Any other factor will be used to multiply the map values.

Definition at line 208 of file NeuroSimEvents.C.

References inplaceNormalize().

Point2D< int > SimEventSaliencyMapOutput::smToOrig ( const Point2D< int > &  p  )  const

Transform coordinates from saliency map to original image.

Definition at line 216 of file NeuroSimEvents.C.

References Point2D< T >::i.

std::string SimEventSaliencyMapOutput::toString (  )  const [virtual]

Get a description for printing out.

Reimplemented from SimEvent.

Definition at line 202 of file NeuroSimEvents.C.

References Image< T >::getHeight(), Image< T >::getWidth(), and sformat().


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