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

LoStafford.C File Reference


Detailed Description

Stafford's LGMD model.

Definition in file LoStafford.C.

#include "Robots/LoBot/lgmd/rind/LoStafford.H"
#include "Robots/LoBot/config/LoConfig.H"
#include "Robots/LoBot/misc/LoRegistry.H"
#include "Robots/LoBot/misc/LoUtils.H"
#include "Image/Convolver.H"
#include "Image/CutPaste.H"
#include "Image/MathOps.H"
#include "Image/Rectangle.H"
#include <numeric>
#include <algorithm>
#include <functional>
#include <utility>
#include <cmath>

Include dependency graph for LoStafford.C:

Go to the source code of this file.

Namespaces

namespace  lobot

Defines

#define LOSTU_DUMP(array)   dump(array, array + NUM_NEURONS, "StaffordUpdate", #array)
#define LOST_GETCONF_ARRAY(key)

Functions

 StaffordModel::StaffordModel ()
void StaffordModel::compute_layers ()
void StaffordModel::reset_layers ()
void StaffordModel::prime_previous_layers ()
static int lobot::dsmd_block_size (int dim, int ideal, int alt)
template<typename rect_dim, typename rect_comp, typename pot_comp>
double StaffordModel::compute_dsmd_potential (rect_dim dimension, rect_comp compute_dsmd_rect, pot_comp compute_potential)
static int lobot::rect_width (const Rectangle &R)
static int lobot::rect_height (const Rectangle &R)
static Rectangle lobot::compute_horz_dsmd_rect (int i, int block_size, const Rectangle &R)
static Rectangle lobot::compute_vert_dsmd_rect (int i, int block_size, const Rectangle &R)
static double lobot::membrane_potential (const GrayImage &I, const Rectangle &R)
static double lobot::compute_dsmd_potential_R1_current (const GrayImage &current, const GrayImage &previous, const Rectangle &R1, const Rectangle &R2)
static double lobot::compute_dsmd_potential_R2_current (const GrayImage &current, const GrayImage &previous, const Rectangle &R1, const Rectangle &R2)
static bool lobot::lateral_motion (double p1, double p2, double threshold)
void StaffordModel::update ()
bool StaffordModel::suppress_lgmd (const double spikes[], const double potentials[])
 StaffordModel::~StaffordModel ()
template<typename T>
static T lobot::conf (const std::string &key, const T &default_value)


Define Documentation

#define LOST_GETCONF_ARRAY key   ) 
 

Value:

Configuration::get(LOLM_STAFFORD, #key, m_##key, \
                              default_##key, NUM_NEURONS)

Definition at line 517 of file LoStafford.C.


Generated on Mon Nov 23 15:49:09 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4