![]() |
Visual Servoing Platform version 3.6.0
|
#include <vpGaussianFilter.h>
Public Member Functions | |
| vpGaussianFilter (unsigned int width, unsigned int height, float sigma, bool deinterleave=false) | |
| void | apply (const vpImage< unsigned char > &I, vpImage< unsigned char > &I_blur) |
| void | apply (const vpImage< vpRGBa > &I, vpImage< vpRGBa > &I_blur) |
| virtual | ~vpGaussianFilter () |
Gaussian filter class.
Definition at line 51 of file vpGaussianFilter.h.
| vpGaussianFilter::vpGaussianFilter | ( | unsigned int | width, |
| unsigned int | height, | ||
| float | sigma, | ||
| bool | deinterleave = false |
||
| ) |
Gaussian filter constructor.
| [in] | width | : image width. |
| [in] | height | : image height. |
| [in] | sigma | : Standard deviation for Gaussian kernel. |
| [in] | deinterleave | : if true, deinterleave R, G, B channels and perform Gaussian filter on each individual channel. It can be faster to deinterleave when repeatedly calling Gaussian filter with the same sigma and the same image resolution. |
Definition at line 126 of file vpGaussianFilter.cpp.
|
virtual |
Definition at line 131 of file vpGaussianFilter.cpp.
| void vpGaussianFilter::apply | ( | const vpImage< unsigned char > & | I, |
| vpImage< unsigned char > & | I_blur | ||
| ) |
Apply Gaussian filter on grayscale image.
| [in] | I | : input grayscale image. |
| [out] | I_blur | : output blurred grayscale image. |
Definition at line 139 of file vpGaussianFilter.cpp.
Referenced by vp::unsharpMask(), and vp::unsharpMask().