GistEstimatorContextBased Class Reference

Gist estimator for ``Context-based vision system...'' by Torralba, et al. More...

#include <Neuro/GistEstimatorContextBased.H>

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

List of all members.

Public Types

typedef float PixelType
typedef Image< PixelType > ImageType

Public Member Functions

 GistEstimatorContextBased (OptionManager &mgr, const std::string &descrName="GistEstimatorContextBased", const std::string &tagName="GistEstimatorContextBased")
Image< double > getGist ()

Static Public Attributes

static const uint NUM_ORIENTATIONS = 6
static const uint NUM_SCALES = 4
static const uint NUM_FILTERS = NUM_ORIENTATIONS * NUM_SCALES
static const uint GRID_SIZE = 4
static const uint NUM_FEATURES = GRID_SIZE * GRID_SIZE * NUM_FILTERS

Protected Member Functions

 SIMCALLBACK_DECLARE (GistEstimatorContextBased, SimEventVisualCortexOutput)
 Callback for when new data is available from Visuc=alCortex.

Detailed Description

Gist estimator for ``Context-based vision system...'' by Torralba, et al.

This class computes the gist vector for an input image using the technique described in section 2 of ``Context-based vision system for place and object recognition'' by Torralba, et al.

In their paper, the authors apply 24 filters to the image (6 orientations, 4 scales) and average the results over 4x4 grids to get a total of 384 texture features which comprise the gist vector. This class computes and returns this vector of 384 numbers.

Definition at line 93 of file GistEstimatorContextBased.H.


Constructor & Destructor Documentation

GistEstimatorContextBased::GistEstimatorContextBased ( OptionManager mgr,
const std::string descrName = "GistEstimatorContextBased",
const std::string tagName = "GistEstimatorContextBased" 
)

The constructor expects to be passed an option manager, which it uses to set itself up in the INVT simulation framework.

Definition at line 70 of file GistEstimatorContextBased.C.


Member Function Documentation

Image< double > GistEstimatorContextBased::getGist (  )  [inline, virtual]

This method returns the gist vector computed for the input image. The gist vector consists of 384 numbers that are obtained by averaging the pixel values in each of the 16 subimages of each of the 24 filteration results.

Implements GistEstimator.

Definition at line 129 of file GistEstimatorContextBased.H.

GistEstimatorContextBased::SIMCALLBACK_DECLARE ( GistEstimatorContextBased  ,
SimEventVisualCortexOutput   
) [protected]

Callback for when new data is available from Visuc=alCortex.


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