OptimalGains PrefrontalCortex implementation. More...
#include <Neuro/PrefrontalCortex.H>
Public Member Functions | |
PrefrontalCortexOG (OptionManager &mgr, const std::string &descrName="PrefrontalCortexOG", const std::string &tagName="PrefrontalCortexOG") | |
Constructor. | |
virtual | ~PrefrontalCortexOG () |
Destructor. | |
Protected Member Functions | |
SIMCALLBACK_DECLARE (PrefrontalCortexOG, SimEventInputFrame) | |
Callback for when a new input frame is available. | |
SIMCALLBACK_DECLARE (PrefrontalCortexOG, SimEventVisualCortexOutput) | |
Callback for when a new vcx output is ready. | |
Protected Attributes | |
OModelParam< std::string > | itsFilename |
file to save sT and sD values | |
OModelParam< std::string > | itsTargetMaskObjName |
target mask obj name | |
OModelParam< std::string > | itsDistractorMaskObjName |
distractor mask obj name | |
OModelParam< bool > | itsDoMax |
Image< byte > | itsTargetMask |
Image< byte > | itsDistractorMask |
OptimalGains PrefrontalCortex implementation.
This PFC computes the salience of targets and distractors and saves that info to a text file. Those text files can later be combined and used to compute optimal gains, per Navalpakkam & Itti, IEEE CVPR, 2006. The resulting optimal gains can finally be used to bias saliency computations, using a PrefrontalCortexGS.
Definition at line 138 of file PrefrontalCortex.H.
PrefrontalCortexOG::PrefrontalCortexOG | ( | OptionManager & | mgr, | |
const std::string & | descrName = "PrefrontalCortexOG" , |
|||
const std::string & | tagName = "PrefrontalCortexOG" | |||
) |
PrefrontalCortexOG::~PrefrontalCortexOG | ( | ) | [virtual] |
Destructor.
Definition at line 299 of file PrefrontalCortex.C.
PrefrontalCortexOG::SIMCALLBACK_DECLARE | ( | PrefrontalCortexOG | , | |
SimEventVisualCortexOutput | ||||
) | [protected] |
Callback for when a new vcx output is ready.
PrefrontalCortexOG::SIMCALLBACK_DECLARE | ( | PrefrontalCortexOG | , | |
SimEventInputFrame | ||||
) | [protected] |
Callback for when a new input frame is available.
distractor mask obj name
Definition at line 159 of file PrefrontalCortex.H.
OModelParam<std::string> PrefrontalCortexOG::itsFilename [protected] |
file to save sT and sD values
Definition at line 157 of file PrefrontalCortex.H.
target mask obj name
Definition at line 158 of file PrefrontalCortex.H.