app-egomotion.C File Reference

#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/CameraIntrinsicParam.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 <iostream>
#include <fstream>
#include "SIFT/SIFTegomotion.H"
Include dependency graph for app-egomotion.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 > > getSalDispImg (Image< PixRGB< byte > > img, Image< float > roiImg, Image< PixRGB< byte > > objImg, Image< PixRGB< byte > > objImg2)
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 getGistFileList (std::string fName, std::vector< std::string > &tag, std::vector< int > &start, std::vector< int > &num)
Image< PixRGB< byte > > getTrajImg (std::vector< Image< double > > traj, int w, int h)
int main (const int argc, const char **argv)

Variables

FeedForwardNetworkffn_place
double ** gistW = NULL
CloseButtonListener wList
rutz::shared_ptr< XWinManagedsalWin
rutz::shared_ptr< XWinManagedobjWin
rutz::shared_ptr< XWinManagedtrajWin
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

Detailed Description

application to demonstrate egomotion from visual data - input is MPEG or list (in gistlist format) of image files (assume .ppm files) Note: reading the velocity: right hand rule, x-positive to the left, y-positive to the north, z-positive forward

Definition in file app-egomotion.C.


Function Documentation

int main ( const int  argc,
const char **  argv 
)
Generated on Sun May 8 08:08:11 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3