In file mydocsrc/iml_rofn.h:

class iml_gaussian_rofn : public iml_rofn

An n-dimensional Gaussian

Inheritance:

iml_gaussian_rofn < iml_rofn


Public Methods

IML_DOUBLE get_mean (IML_USINT Dim)
Get the mean of the gaussian in the requested dimension (in pixel coords)
IML_DOUBLE get_sdev (IML_USINT Dim)
Get the standard deviation of the gaussian in the requested dimension (in pixels)
void set_domain_sd (IML_USINT Dim, IML_DOUBLE NSDev=3.0)
Set the clipping of the dimension to some multiple of standard deviations
void set_mean (IML_USINT Dim, IML_DOUBLE Mean)
Set the mean of the gaussian in the requested dimension (in pixel coords)
void set_sdev (IML_USINT Dim, IML_DOUBLE SDev)
Set the standard deviation of the gaussian in the requested dimension (in pixels)

Inherited from iml_rofn:

Public Methods

IML_DOUBLE get_value( iml_index IML_REF Index)
IML_DOUBLE operator()(IML_DOUBLE X0, IML_DOUBLE X1, IML_DOUBLE X2)
IML_DOUBLE operator()(IML_DOUBLE X0, IML_DOUBLE X1)
IML_DOUBLE operator()(IML_DOUBLE X0)
IML_DOUBLE operator()(IML_DOUBLE X0, IML_DOUBLE X1, IML_DOUBLE X2, ...)

Documentation

An n-dimensional Gaussian. This function generates the value:

[ -(x1-m1)^2        -(xn-mn)^2]
Magnitude *  exp [  --------  + . . + ---------]
[    s1^2              sn^2   ]

where the mi are the n means, and si are the n space constants.

void set_domain_sd(IML_USINT Dim, IML_DOUBLE NSDev=3.0)
Set the clipping of the dimension to some multiple of standard deviations. The default is 3.0. This saves time when assigning a small gaussian to a large image.

void set_mean(IML_USINT Dim, IML_DOUBLE Mean)
Set the mean of the gaussian in the requested dimension (in pixel coords).

IML_DOUBLE get_mean(IML_USINT Dim)
Get the mean of the gaussian in the requested dimension (in pixel coords).

void set_sdev(IML_USINT Dim, IML_DOUBLE SDev)
Set the standard deviation of the gaussian in the requested dimension (in pixels).

IML_DOUBLE get_sdev(IML_USINT Dim)
Get the standard deviation of the gaussian in the requested dimension (in pixels).


Direct child classes:
iml_gabor_rofn

alphabetic index hierarchy of classes


generated by doc++