The PrecomputedGaussian class.
More...
#include <display.hpp>
◆ PrecomputedGaussian() [1/2]
pic::pic::PrecomputedGaussian::PrecomputedGaussian |
( |
| ) |
|
|
inline |
◆ PrecomputedGaussian() [2/2]
pic::pic::PrecomputedGaussian::PrecomputedGaussian |
( |
float |
sigma | ) |
|
|
inline |
◆ ~PrecomputedGaussian()
pic::pic::PrecomputedGaussian::~PrecomputedGaussian |
( |
| ) |
|
|
inline |
◆ calculateKernel()
void pic::pic::PrecomputedGaussian::calculateKernel |
( |
float |
sigma, |
|
|
int |
kernelSize = -1 |
|
) |
| |
|
inline |
calculateKernel computes a Gaussian kernel of size sigma
- Parameters
-
◆ getKernelSize()
static int pic::pic::PrecomputedGaussian::getKernelSize |
( |
float |
sigma | ) |
|
|
inlinestatic |
KernelSize computes the size of a kernel in pixel give its sigma.
- Parameters
-
sigma | is the sigma value of a Gaussian kernel. |
- Returns
- It returns the size of the kernel in pixels.
◆ precomputeCoefficients()
void pic::pic::PrecomputedGaussian::precomputeCoefficients |
( |
| ) |
|
|
inlineprotected |
precomputeCoefficients precomputes a Gaussian kernel.
◆ coeff
float* pic::pic::PrecomputedGaussian::coeff |
◆ halfKernelSize
int pic::pic::PrecomputedGaussian::halfKernelSize |
◆ kernelSize
int pic::pic::PrecomputedGaussian::kernelSize |
◆ sigma
float pic::pic::PrecomputedGaussian::sigma |
The documentation for this class was generated from the following file:
- C:/Users/Francesco/Documents/GitHub/piccante/include/util/gl/display.hpp