#include <Gaussian.h>
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 |
Definition at line 9 of file Gaussian.h.
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 |
aoff | |
alen | |
f | |
r | the resultant array of pixels |
roff |
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.
Definition at line 8 of file Gaussian.cc.
bool AprilTags::Gaussian::warned = false [static] |
Definition at line 12 of file Gaussian.h.