VisualCortexSurprise Class Reference

This is a derivation of VisualCortex using SingleChannelSurprise channels. More...

#include <Neuro/VisualCortexSurprise.H>

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

List of all members.

Public Member Functions

 VisualCortexSurprise (OptionManager &mgr, const std::string &descrName="Visual Cortex Surprise", const std::string &tagName="VisualCortexSurprise")
 Constructor without any channels.
virtual ~VisualCortexSurprise ()
 Virtual destructor for safe inheritance.

Static Public Member Functions

static void registerSurpriseTypes (OptionManager &mgr)
 Register surprise channel types with SubmapAlgorithm::getFactory().

Protected Member Functions

virtual Image< float > postProcessOutputMap (const Image< float > &outmap)
 post-process raw weighted sum of channel output maps, surprise-style
virtual void paramChanged (ModelParamBase *const param, const bool valueChanged, ParamClient::ChangeStatus *status)
 Rebuild our channels if surprise model type changes.

Protected Attributes

OModelParam< std::stringitsStype
 type of surprise models
OModelParam< int > itsNormSurp
OModelParam< float > itsSurpriseThresh
 apply weak spatial competition to output?
OModelParam< float > itsSurpriseSemisat
 surprise nonlinerity semisat
OModelParam< float > itsSurpriseExp
 surprise nonlinerity exponent

Detailed Description

This is a derivation of VisualCortex using SingleChannelSurprise channels.

It computes Surprise instead of computing saliency.

Definition at line 46 of file VisualCortexSurprise.H.


Constructor & Destructor Documentation

VisualCortexSurprise::VisualCortexSurprise ( OptionManager mgr,
const std::string descrName = "Visual Cortex Surprise",
const std::string tagName = "VisualCortexSurprise" 
)

Constructor without any channels.

Definition at line 83 of file VisualCortexSurprise.C.

References OModelParam< T >::getVal(), itsStype, registerSurpriseTypes(), and OptionManager::setOptionValString().

VisualCortexSurprise::~VisualCortexSurprise (  )  [virtual]

Virtual destructor for safe inheritance.

Definition at line 101 of file VisualCortexSurprise.C.


Member Function Documentation

void VisualCortexSurprise::paramChanged ( ModelParamBase *const   param,
const bool  valueChanged,
ParamClient::ChangeStatus status 
) [protected, virtual]

Rebuild our channels if surprise model type changes.

Reimplemented from RawVisualCortex.

Definition at line 134 of file VisualCortexSurprise.C.

References ModelComponent::getManager(), OModelParam< T >::getVal(), itsStype, and OptionManager::setOptionValString().

Image< float > VisualCortexSurprise::postProcessOutputMap ( const Image< float > &  outmap  )  [protected, virtual]
void VisualCortexSurprise::registerSurpriseTypes ( OptionManager mgr  )  [static]

Register surprise channel types with SubmapAlgorithm::getFactory().

Definition at line 105 of file VisualCortexSurprise.C.

References rutz::factory< nub::ref< P > >::is_valid_key().

Referenced by SingleChannelBeoServer::SingleChannelBeoServer(), and VisualCortexSurprise().


Member Data Documentation

type of surprise models

Definition at line 61 of file VisualCortexSurprise.H.

Referenced by paramChanged(), and VisualCortexSurprise().

surprise nonlinerity exponent

Definition at line 65 of file VisualCortexSurprise.H.

Referenced by postProcessOutputMap().

surprise nonlinerity semisat

Definition at line 64 of file VisualCortexSurprise.H.

Referenced by postProcessOutputMap().

apply weak spatial competition to output?

surprise nonlinerity threshold

Definition at line 63 of file VisualCortexSurprise.H.

Referenced by postProcessOutputMap().


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