Basic Image AlgorithmS Library 2.8.0
Static Public Member Functions | Static Protected Member Functions

BIAS::GenerateGauss Class Reference

compute one and two dimensional gauss normal distribution More...

#include <Base/Math/GenerateGauss.hh>

List of all members.

Static Public Member Functions

template<class T >
static void Gauss1D (const unsigned size, const double &sigma, BIAS::Vector< T > &result, const bool normalize=true)
template<class T >
static void Gauss1DSigma (const double &sigma, const double &ratio, BIAS::Vector< T > &result, const bool normalize=true)
template<class T >
static void Gauss1DSize (const unsigned size, const double &ratio, BIAS::Vector< T > &result, double &sigma, const bool normalize=true)
template<class T >
static void Gauss2D (const unsigned size, const double &sigma, BIAS::Matrix< T > &result, const bool normalize=true)
template<class T >
static void Gauss2DSigma (const double &sigma, const double &ratio, BIAS::Matrix< T > &result, const bool normalize=true)
template<class T >
static void Gauss2DSize (const unsigned size, const double &ratio, BIAS::Matrix< T > &result, double &sigma, const bool normalize=true)

Static Protected Member Functions

static void Sigma2Size_ (const double &sigma, const double &ratio, unsigned &size)
 Given a sigma and fixed ratio between biggest and smallest entry of the discrete gauss distribution, compute the required size of the vector.
static void Size2Sigma_ (const unsigned size, const double &ratio, double &sigma)
 Given a size and fixed ratio between biggest and smallest entry of the discrete gauss distribution, compute the required sigma of the distribution.

Detailed Description

compute one and two dimensional gauss normal distribution

Author:
woelk 01/2008 (c) www.vision-n.de

Definition at line 36 of file GenerateGauss.hh.


Member Function Documentation

template<class T >
void GenerateGauss::Gauss1D ( const unsigned  size,
const double &  sigma,
BIAS::Vector< T > &  result,
const bool  normalize = true 
) [static]
Examples:
ExampleGenerateGauss.cpp.

Definition at line 32 of file GenerateGauss.cpp.

References TNT::Vector< T >::newsize().

template<class T >
void GenerateGauss::Gauss1DSigma ( const double &  sigma,
const double &  ratio,
BIAS::Vector< T > &  result,
const bool  normalize = true 
) [static]
Examples:
ExampleGenerateGauss.cpp.

Definition at line 11 of file GenerateGauss.cpp.

template<class T >
void GenerateGauss::Gauss1DSize ( const unsigned  size,
const double &  ratio,
BIAS::Vector< T > &  result,
double &  sigma,
const bool  normalize = true 
) [static]
Examples:
ExampleGenerateGauss.cpp.

Definition at line 22 of file GenerateGauss.cpp.

template<class T >
void GenerateGauss::Gauss2D ( const unsigned  size,
const double &  sigma,
BIAS::Matrix< T > &  result,
const bool  normalize = true 
) [static]
template<class T >
void GenerateGauss::Gauss2DSigma ( const double &  sigma,
const double &  ratio,
BIAS::Matrix< T > &  result,
const bool  normalize = true 
) [static]
Examples:
ExampleGenerateGauss.cpp.

Definition at line 68 of file GenerateGauss.cpp.

template<class T >
void GenerateGauss::Gauss2DSize ( const unsigned  size,
const double &  ratio,
BIAS::Matrix< T > &  result,
double &  sigma,
const bool  normalize = true 
) [static]
Examples:
ExampleGenerateGauss.cpp.

Definition at line 79 of file GenerateGauss.cpp.

static void BIAS::GenerateGauss::Sigma2Size_ ( const double &  sigma,
const double &  ratio,
unsigned &  size 
) [inline, static, protected]

Given a sigma and fixed ratio between biggest and smallest entry of the discrete gauss distribution, compute the required size of the vector.

Definition at line 69 of file GenerateGauss.hh.

static void BIAS::GenerateGauss::Size2Sigma_ ( const unsigned  size,
const double &  ratio,
double &  sigma 
) [inline, static, protected]

Given a size and fixed ratio between biggest and smallest entry of the discrete gauss distribution, compute the required sigma of the distribution.

Definition at line 76 of file GenerateGauss.hh.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends