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>
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 ¤t, const GrayImage &previous, const Rectangle &R1, const Rectangle &R2) |
static float | lobot::compute_dsmd_potential_R2_current (const GrayImage ¤t, 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) |
Stafford's LGMD model.
Definition in file LoStafford.C.
#define LOST_GETCONF_ARRAY | ( | key | ) |
Configuration::get(LOLM_STAFFORD, #key, m_##key, \ default_##key, NUM_NEURONS)
Definition at line 514 of file LoStafford.C.