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

Function_2D Namespace Reference


Compounds

class  Base_2D
 Base class for the other functions. More...

class  Canny_Deriche
  Not normalized. More...

class  Direct_interface_2D
 Provides a direct interface to the class Base_2D. More...

class  FFT_normalized_gaussian
 FFT of a gaussian function normalized to 1. More...

class  Filter_interface_2D
 Extends Base_2D class to control scale with sigma values. More...

class  Gabor
 Gabor filter (normalized gaussian modulated by a sine: ). More...

class  Gaussian
 Very basic gaussian function . More...

class  Gaussian_step
  . More...

class  Gaussian_x_2nd_derivative
  . More...

class  Gaussian_x_derivative
  . More...

class  Gaussian_y_derivative
  . More...

class  Minus
class  Normalized_gaussian
 Gaussian function normalized to 1. More...

class  Normalized_gaussian_step
 Gaussian function normalized to 1 multiplied by . More...

class  Normalized_gaussian_x_2nd_derivative
 Second X-derivative of a gaussian function normalized to 1. More...

class  Normalized_gaussian_x_derivative
 X-derivative of a gaussian function normalized to 1. More...

class  Normalized_gaussian_y_derivative
 X-derivative of a gaussian function normalized to 1. More...

class  Riesz_1
  More...

class  Riesz_2
  More...

class  Shen_Castan
  More...


Typedefs

typedef double real_type
typedef unsigned int size_type

Functions

template<typename Function, typename Array> void fill (const Function &f, Array *const array, const bool normalize_sum=false, const bool zero_in_the_middle=false)
template<typename Function> void output_to_GNUPLOT (const char *file_name, const Function &f, const real_type x_begin=-16, const real_type x_end=16, const real_type x_step=1, const real_type y_begin=-16, const real_type y_end=16, const real_type y_step=1)


Typedef Documentation

typedef double Function_2D::real_type
 

typedef unsigned int Function_2D::size_type
 


Function Documentation

template<typename Function, typename Array>
void Function_2D::fill const Function &    f,
Array *const    array,
const bool    normalize_sum = false,
const bool    zero_in_the_middle = false
 

Parameters:
f  The function that provides the values to store in the array.
array  The array that stores the function values.
normalize_sum  If true, the sum of all the stored values is scaled to 1.
zero_in_the_middle  If true, f(0,0) is stored at the array index (x_size/2,y_size/2). If false, indices over x_size/2 store negative values i.e. array(x_size-1,0) stores f(-1,0).

template<typename Function>
void Function_2D::output_to_GNUPLOT const char *    file_name,
const Function &    f,
const real_type    x_begin = -16,
const real_type    x_end = 16,
const real_type    x_step = 1,
const real_type    y_begin = -16,
const real_type    y_end = 16,
const real_type    y_step = 1
 

Creates a file that can be viewed with GNUPLOT using command : splot 'file.gnuplot'


Generated on Fri Aug 20 12:08:01 2004 by doxygen1.2.18