#include <Neuro/GistEstimatorFFT.H>
Public Member Functions | |
GistEstimatorFFT (OptionManager &mgr, const std::string &descrName="GistEstimatorFFT", const std::string &tagName="GistEstimatorFFT") | |
Constructor. | |
virtual | ~GistEstimatorFFT () |
Destructor. | |
void | computeGistFeatureVector (Image< float > img) |
get the gist features | |
Image< float > | getFftImage () |
visualization of the Fourier Transform of the input image | |
virtual Image< double > | getGist () |
return the gist feature values | |
Protected Member Functions | |
SIMCALLBACK_DECLARE (GistEstimatorFFT, SimEventRetinaImage) | |
Callback for when a new input (retina) frame is available. |
Extract gist of image using the Fourier Transform
Definition at line 50 of file GistEstimatorFFT.H.
GistEstimatorFFT::GistEstimatorFFT | ( | OptionManager & | mgr, | |
const std::string & | descrName = "GistEstimatorFFT" , |
|||
const std::string & | tagName = "GistEstimatorFFT" | |||
) |
Constructor.
Definition at line 64 of file GistEstimatorFFT.C.
References NO_INIT, NUM_G_LEV, and Image< T >::resize().
GistEstimatorFFT::~GistEstimatorFFT | ( | ) | [virtual] |
Destructor.
Definition at line 79 of file GistEstimatorFFT.C.
void GistEstimatorFFT::computeGistFeatureVector | ( | Image< float > | img | ) |
get the gist features
Definition at line 103 of file GistEstimatorFFT.C.
References Image< T >::beginw(), Image< T >::getDims(), getFftImage(), Image< T >::getHeight(), getMinMax(), Image< T >::getWidth(), inplacePaste(), log(), NUM_G_LEV, Image< T >::resize(), sum(), and ZEROS.
Image< float > GistEstimatorFFT::getFftImage | ( | ) |
visualization of the Fourier Transform of the input image
Definition at line 384 of file GistEstimatorFFT.C.
Referenced by computeGistFeatureVector().
Image< double > GistEstimatorFFT::getGist | ( | ) | [virtual] |
return the gist feature values
Implements GistEstimator.
Definition at line 83 of file GistEstimatorFFT.C.
GistEstimatorFFT::SIMCALLBACK_DECLARE | ( | GistEstimatorFFT | , | |
SimEventRetinaImage | ||||
) | [protected] |
Callback for when a new input (retina) frame is available.