
#include <Component/RawGistEstimatorStd.H>


Public Member Functions | |
| RawGistEstimatorStd (OptionManager &mgr, const std::string &descrName="Raw Gist Estimator", const std::string &tagName="rawgistestimator") | |
| Constructor. | |
| virtual | ~RawGistEstimatorStd () |
| Destructor. | |
| void | computeFeatureVector (rutz::shared_ptr< ChannelMaps > chm) |
| Update the gist feature vector. | |
| Image< float > | compute (rutz::shared_ptr< ChannelMaps > chm) |
| std::vector< float > | computeOnPolygon (rutz::shared_ptr< ChannelMaps > chm, std::vector< Point2D< float > > polygon) |
| 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< double > | diffGist (Image< double > in) |
implementation of the gist estimation procedure yet to be published
Definition at line 66 of file RawGistEstimatorStd.H.
| RawGistEstimatorStd::RawGistEstimatorStd | ( | OptionManager & | mgr, | |
| const std::string & | descrName = "Raw Gist Estimator", |
|||
| const std::string & | tagName = "rawgistestimator" | |||
| ) |
Constructor.
Definition at line 294 of file RawGistEstimatorStd.C.
References NO_INIT, and Image< T >::resize().
| RawGistEstimatorStd::~RawGistEstimatorStd | ( | ) | [virtual] |
Destructor.
Definition at line 303 of file RawGistEstimatorStd.C.
| void RawGistEstimatorStd::computeFeatureVector | ( | rutz::shared_ptr< ChannelMaps > | chm | ) |
Update the gist feature vector.
Definition at line 478 of file RawGistEstimatorStd.C.
References ASSERT, Image< T >::getHeight(), getSubSum(), inplacePaste(), rutz::shared_ptr< T >::is_valid(), and split().
return the similarity measure between 2 sets of gist features
Definition at line 728 of file RawGistEstimatorStd.C.
References Image< T >::getVal(), sqrt(), and Raster::waitForKey().
| Image< float > RawGistEstimatorStd::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
Definition at line 615 of file RawGistEstimatorStd.C.
References drawPatch(), Image< T >::getVal(), max(), and ZEROS.
1.6.3