Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

app-build-salObjDB.C File Reference


Detailed Description

Build a database of salient VisualObject from a stream input

Definition in file app-build-salObjDB.C.

#include "Beobot/Landmark.H"
#include "Channels/ChannelOpts.H"
#include "Component/GlobalOpts.H"
#include "Component/ModelManager.H"
#include "Component/ModelOptionDef.H"
#include "Component/OptionManager.H"
#include "GUI/XWinManaged.H"
#include "Gist/FFN.H"
#include "Gist/trainUtils.H"
#include "Image/ColorOps.H"
#include "Image/CutPaste.H"
#include "Image/DrawOps.H"
#include "Image/MathOps.H"
#include "Image/Pixels.H"
#include "Image/ShapeOps.H"
#include "Image/Transforms.H"
#include "Media/MPEGStream.H"
#include "Media/MediaOpts.H"
#include "Media/MediaSimEvents.H"
#include "Neuro/GistEstimator.H"
#include "Neuro/InferoTemporal.H"
#include "Neuro/NeuroOpts.H"
#include "Neuro/NeuroSimEvents.H"
#include "Neuro/Retina.H"
#include "Neuro/ShapeEstimator.H"
#include "Neuro/ShapeEstimatorModes.H"
#include "Neuro/SpatialMetrics.H"
#include "Neuro/StdBrain.H"
#include "Neuro/gistParams.H"
#include "Neuro/VisualCortex.H"
#include "Raster/Raster.H"
#include "SIFT/Histogram.H"
#include "SIFT/Keypoint.H"
#include "SIFT/VisualObject.H"
#include "SIFT/VisualObjectDB.H"
#include "Simulation/SimEventQueueConfigurator.H"
#include "Util/Timer.H"

Include dependency graph for app-build-salObjDB.C:

Go to the source code of this file.

Defines

#define DB_NAME   "out_database"
#define W_ASPECT_RATIO   320
#define H_ASPECT_RATIO   240

Functions

void setupDispWin (int w, int h)
Image< PixRGB< byte > > getGistDispImg (Image< PixRGB< byte > > img, Image< float > gistImg, Image< float > gistPcaImg, Image< float > outHistImg)
Image< PixRGB< byte > > getSalDispImg (Image< PixRGB< byte > > img, Image< float > roiImg, Image< PixRGB< byte > > objImg, Point2D< int > winner, int fNum)
void processSalCue (Image< PixRGB< byte > > inputImg, nub::soft_ref< StdBrain > brain, Point2D< int > winner, int fNum, std::vector< rutz::shared_ptr< Landmark > > &landmarks, const Image< float > &semask, const std::string &selabel)
void setupCases (const char *fname)
int main (const int argc, const char **argv)

Variables

FeedForwardNetworkffn_place
double ** gistW = NULL
CloseButtonListener wList
XWinManagedsalWin
XWinManagedgistWin
rutz::shared_ptr< XWinManagedobjWin
int wDisp
int hDisp
int sDisp
int scaleDisp
int wDispWin
int hDispWin
int pcaW = 16
int pcaH = 5
int winBarW = 5
int winBarH = 25
int numObj = 0
uint nCat = 0
std::vector< std::string > * clipList


Function Documentation

int main const int  argc,
const char **  argv
 

Load a database, enrich it with new VisualObject entities extracted from the given images, and save it back.

Definition at line 126 of file app-build-salObjDB.C.

References ModelManager::allowOptions(), brain, convertToString(), crop(), e, fNum, nub::soft_ref< T >::get(), Dims::h(), h, Point2D< T >::i, i, Image< T >::initialized(), inplacePaste(), Point2D< T >::j, l, LINFO, MC_RECURSE, MYLOGVERB, nCat, OPT_InputFrameDims, OPT_InputMPEGStreamPreload, OPT_IORtype, OPT_MaxNormType, OPT_RawVisualCortexChans, OPT_ShapeEstimatorMode, OPT_ShapeEstimatorSmoothMethod, OPT_UseRandom, OPTEXP_ALL, OPTEXP_SAVE, pos, processSalCue(), REQUEST_OPTIONALIAS_NEURO(), setupCases(), setupDispWin(), sformat(), status, Rectangle::tlbrI(), Dims::w(), w, Raster::waitForKey(), SimTime::ZERO(), and ZEROS.


Generated on Sun Nov 22 13:43:27 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4