Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

retina.h File Reference

Retina class and associated functions. More...

#include <assert.h>
#include <algorithm>
#include "genericalgs.h"
#include "robj.h"
#include "neuralregion.h"
#include "matrix.h"

Include dependency graph for retina.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  Retina

Functions

template<classMatrix> void draw (Matrix& area, const Retinal_Obj* obj, const typename Matrix::value_type xoff=0.5, const typename Matrix::value_type yoff=0.5, const typename Matrix::value_type size_scale=1.0)
 Generic Retinal_Obj draw function into a matrix. More...


Detailed Description

Retina class and associated functions.

Header:
/u/nn/cvsroot/lissom/src/retina.h,v 1.26 2000/04/21 20:48:03 jbednar Exp

Definition in file retina.h.


Function Documentation

template<classMatrix>
void draw ( Matrix & area,
const Retinal_Obj * obj,
const typename Matrix::value_type xoff = 0.5,
const typename Matrix::value_type yoff = 0.5,
const typename Matrix::value_type size_scale = 1.0 )
 

Generic Retinal_Obj draw function into a matrix.

The integer eye matrix coordinates (r,c) are first mapped into real-valued world coordinates (x,y). This requires flipping the vertical dimension (since arrays are numbered from the top down yet the Y axis increases from the bottom up) and sampling at the center of the pixel covering (x,y) to (x+1,y+1), which requires an offset of (0.5,0.5).

Definition at line 35 of file retina.h.

Referenced by Retina::activate().


Generated at Mon Aug 21 00:31:10 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000