LoStafford.C File Reference

Stafford's LGMD model. More...

#include "Robots/LoBot/lgmd/rind/LoStafford.H"
#include "Robots/LoBot/config/LoConfig.H"
#include "Robots/LoBot/misc/LoRegistry.H"
#include "Robots/LoBot/util/LoMath.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.

Defines

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

Functions

static int lobot::dsmd_block_size (int dim, int ideal, int alt)
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 float lobot::membrane_potential (const GrayImage &I, const Rectangle &R)
static float lobot::compute_dsmd_potential_R1_current (const GrayImage &current, const GrayImage &previous, const Rectangle &R1, const Rectangle &R2)
static float lobot::compute_dsmd_potential_R2_current (const GrayImage &current, const GrayImage &previous, const Rectangle &R1, const Rectangle &R2)
static bool lobot::lateral_motion (float p1, float p2, float threshold)
template<typename T >
static T lobot::conf (const std::string &key, const T &default_value)

Detailed Description

Stafford's LGMD model.

Definition in file LoStafford.C.


Define Documentation

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

Definition at line 514 of file LoStafford.C.

Generated on Sun May 8 08:42:49 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3