Tekkotsu Homepage
Dev. Resources

AprilTags::Gaussian Class Reference

#include <Gaussian.h>

Detailed Description

Definition at line 9 of file Gaussian.h.

List of all members.

Static Public Member Functions

static std::vector< floatmakeGaussianFilter (float sigma, int n)
 Returns a Gaussian filter of size n.
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 Public Attributes

static bool warned = false

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.

a input vector of pixels
r the resultant array of pixels

Definition at line 33 of file Gaussian.cc.

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

Returns a Gaussian filter of size n.

sigma standard deviation of the Gaussian
n length of the Gaussian (must be odd)

Definition at line 8 of file Gaussian.cc.

Referenced by AprilTags::TagDetector::extractTags().

Member Data Documentation

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

Definition at line 12 of file Gaussian.h.

Referenced by convolveSymmetricCentered().

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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:19 2016 by Doxygen 1.6.3