Reduce sharpness on input image.
More...
#include <ProceduralTextureModifiers.h>
Reduce sharpness on input image.
Blurs the input image by a specified algorithm.
Examples: BLUR_MEAN (default)
BLUR_GAUSSIAN
◆ BLUR_TYPE
List of algorithms to blur.
Enumerator |
---|
BLUR_BOX | Use simplified block filter to blur.
|
BLUR_MEAN | Use mean filter to blur.
|
BLUR_GAUSSIAN | Use gaussian filter to blur.
|
◆ Blur()
Default constructor.
- Parameters
-
pBuffer | Image buffer where to modify the image. |
◆ getName()
Get name of the filter as string.
◆ logMsg()
void Procedural::TextureProcessing::logMsg |
( |
Ogre::String |
msg | ) |
|
|
protectedinherited |
◆ process()
◆ setLog()
void Procedural::TextureProcessing::setLog |
( |
bool |
enable = true | ) |
|
|
inherited |
Enable/Disable logging.
- Parameters
-
enable | true enables logging of filter actions |
◆ setSigma()
Set sigma constant for gaussian filter.
- Parameters
-
sigma | New sigma constant for gaussian blur filter [0, 255] (default 92) |
◆ setSize()
Set the gaussian block size.
- Parameters
-
size | New block size for gaussian blur filter [3, 255] (default 5) |
◆ setType()
Set the algorithm to blur.
- Parameters
-
type | New algorithm to blur (default BLUR_BOX) |
◆ mBuffer
◆ mLog
bool Procedural::TextureProcessing::mLog |
|
protectedinherited |
◆ mName
The documentation for this class was generated from the following file:
- ProceduralTextureModifiers.h
class to store image data while processing
Definition: ProceduralTextureBuffer.h:50