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

RadialFunction Namespace Reference

This family of generic routines return the value of a mathematical function parameterized by a sigma (half-width), evaluated at a given radius. More...


Functions

template<classT> T Constant ( T, T )
 Returns a constant value regardless of radius. More...

template<classT> T Gaussian ( T x_sq, T sig_sq)
 Returns the value of a Gaussian at the given radius. More...

template<classT> T LoG ( T x_sq, T sig_sq)
 Returns the Laplacian of a Gaussian, which is an operator from \cite{marr:vision} and, in turn, from \cite{marr:prslb80}. More...

template<classmatrix_type, classradial_function, classradius_type> matrix_type matrix ( radial_function radial_fn, radius_type radius, typename matrix_type::size_type max_radius, string& errors, bool circular=true, bool normalize=true )
 Generates a square matrix of values given a function, params, and bounds. More...


Detailed Description

This family of generic routines return the value of a mathematical function parameterized by a sigma (half-width), evaluated at a given radius.

For convenience, both parameters are supplied as squares, since the underlying functions are almost always specified in terms of the squares.

The matrix routine will evaluate one of these functions (or another you supply with the same parameter list and semantics) at discrete values over a certain range, and return the result as a matrix.

A similar set of PlanarFunctions could also be provided, taking two half-width parameters and two position parameters.


Function Documentation

template<classT>
T RadialFunction::Constant ( T,
T ) [inline]
 

Returns a constant value regardless of radius.

Definition at line 38 of file radialfunction.h.

template<classT>
T RadialFunction::Gaussian ( T x_sq,
T sig_sq ) [inline]
 

Returns the value of a Gaussian at the given radius.

Definition at line 43 of file radialfunction.h.

template<classT>
T RadialFunction::LoG ( T x_sq,
T sig_sq ) [inline]
 

Returns the Laplacian of a Gaussian, which is an operator from \cite{marr:vision} and, in turn, from \cite{marr:prslb80}.

It does not currently have the intended effect, perhaps because of normalization.

Definition at line 52 of file radialfunction.h.

template<classmatrix_type, classradial_function, classradius_type>
matrix_type RadialFunction::matrix ( radial_function radial_fn,
radius_type radius,
typename matrix_type::size_type max_radius,
string & errors,
bool circular = true,
bool normalize = true )
 

Generates a square matrix of values given a function, params, and bounds.

Definition at line 61 of file radialfunction.h.


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