Increase sharpness on input image.
More...
#include <ProceduralTextureModifiers.h>
Increase sharpness on input image.
Sharp the input image by a specified algorithm.
Examples: SHARP_BASIC
SHARP_GAUSSIAN
◆ SHARP_TYPE
List of algorithms to blur.
Enumerator |
---|
SHARP_BASIC | Use simplified block filter to sharp.
|
SHARP_GAUSSIAN | Use gaussian filter to sharp.
|
◆ Sharpen()
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 sharp filter [0, 255] (default 92) |
◆ setSize()
Set the gaussian block size.
- Parameters
-
size | New block size for gaussian sharp filter [3, 255] (default 5) |
◆ setType()
Set the algorithm to sharp.
- Parameters
-
type | New algorithm to sharp (default SHARP_BASIC) |
◆ 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