
#include <Neuro/GistEstimatorGen.H>


Public Member Functions | |
| GistEstimatorGen (OptionManager &mgr, const std::string &descrName="Gist Estimator", const std::string &tagName="gistestimator") | |
| Constructor. | |
| virtual | ~GistEstimatorGen () |
| Destructor. | |
Protected Member Functions | |
| virtual Image< double > | getGist () |
| return the gist feature values | |
| void | getFeatureVector (rutz::shared_ptr< ChannelMaps > chm) |
| Image< float > | getGistImage (int sqSize, const float minO=-1.0, const float maxO=-1.0, const float minC=-1.0, const float maxC=-1.0, const float minI=-1.0, const float maxI=-1.0) |
| get the gist display of the current gist | |
| Image< float > | diffGist (Image< float > in) |
| int | getGistSize () |
| virtual void | start1 () |
| Get started. See ModelComponent. | |
| SIMCALLBACK_DECLARE (GistEstimatorGen, SimEventVisualCortexOutput) | |
| Callback for when new data is available from Visuc=alCortex. | |
implementation of the gist estimation procedure yet to be published
Definition at line 56 of file GistEstimatorGen.H.
| GistEstimatorGen::GistEstimatorGen | ( | OptionManager & | mgr, | |
| const std::string & | descrName = "Gist Estimator", |
|||
| const std::string & | tagName = "gistestimator" | |||
| ) |
Constructor.
Definition at line 150 of file GistEstimatorGen.C.
| GistEstimatorGen::~GistEstimatorGen | ( | ) | [virtual] |
Destructor.
Definition at line 162 of file GistEstimatorGen.C.
return the similarity measure between 2 sets of gist features
Definition at line 391 of file GistEstimatorGen.C.
References Image< T >::getVal(), sqrt(), and Raster::waitForKey().
| void GistEstimatorGen::getFeatureVector | ( | rutz::shared_ptr< ChannelMaps > | chm | ) | [protected] |
first get the gist feature size and allocate the gist vector size
get the center-surround feature values
get the non center-surround feature values
Definition at line 197 of file GistEstimatorGen.C.
References ASSERT, getSubSumGen(), OModelParam< T >::getVal(), inplacePaste(), NO_INIT, PYR_LEVEL, and Image< T >::resize().
| Image< double > GistEstimatorGen::getGist | ( | ) | [protected, virtual] |
return the gist feature values
Implements GistEstimator.
Definition at line 184 of file GistEstimatorGen.C.
| Image< float > GistEstimatorGen::getGistImage | ( | int | sqSize, | |
| const float | minO = -1.0, |
|||
| const float | maxO = -1.0, |
|||
| const float | minC = -1.0, |
|||
| const float | maxC = -1.0, |
|||
| const float | minI = -1.0, |
|||
| const float | maxI = -1.0 | |||
| ) | [protected] |
get the gist display of the current gist
Definition at line 269 of file GistEstimatorGen.C.
References drawPatch(), Image< T >::getVal(), max(), and ZEROS.
| GistEstimatorGen::SIMCALLBACK_DECLARE | ( | GistEstimatorGen | , | |
| SimEventVisualCortexOutput | ||||
| ) | [protected] |
Callback for when new data is available from Visuc=alCortex.
| void GistEstimatorGen::start1 | ( | ) | [protected, virtual] |
Get started. See ModelComponent.
Reimplemented from SimModule.
Definition at line 190 of file GistEstimatorGen.C.
References ModelComponent::getManager(), and OptionManager::setOptionValString().
1.6.3