Static Public Member Functions | Static Public Attributes
AprilTags::Gaussian Class Reference

#include <Gaussian.h>

List of all members.

Static Public Member Functions

static void convolveSymmetricCentered (const std::vector< float > &a, unsigned int aoff, unsigned int alen, const std::vector< float > &f, std::vector< float > &r, unsigned int roff)
 Convolve the input 'a' (which begins at offset aoff and is alen elements in length) with the filter 'f'.
static std::vector< float > makeGaussianFilter (float sigma, int n)
 Returns a Gaussian filter of size n.

Static Public Attributes

static bool warned = false

Detailed Description

Definition at line 9 of file Gaussian.h.

Member Function Documentation

void AprilTags::Gaussian::convolveSymmetricCentered ( const std::vector< float > &  a,
unsigned int  aoff,
unsigned int  alen,
const std::vector< float > &  f,
std::vector< float > &  r,
unsigned int  roff 
) [static]

Convolve the input 'a' (which begins at offset aoff and is alen elements in length) with the filter 'f'.

The result is deposited in 'r' at offset 'roff'. f.size() should be odd. The output is shifted by -f.size()/2, so that there is no net time delay.

ainput vector of pixels
rthe resultant array of pixels

Definition at line 33 of file

std::vector< float > AprilTags::Gaussian::makeGaussianFilter ( float  sigma,
int  n 
) [static]

Returns a Gaussian filter of size n.

sigmastandard deviation of the Gaussian
nlength of the Gaussian (must be odd)

Definition at line 8 of file

Member Data Documentation

bool AprilTags::Gaussian::warned = false [static]

Definition at line 12 of file Gaussian.h.

The documentation for this class was generated from the following files:

Author(s): Mitchell Wills
autogenerated on Thu Aug 27 2015 12:23:28