kaleidoscope
1.4.0
|
Kaleidoscope effect generator. More...
#include <kaleidoscope.hpp>
Public Member Functions | |
Kaleidoscope (int nImage, int width, int height, int nComponents, double scaleDown, double dimConst) | |
Construct a new Kaleidoscope object. More... | |
void | processImage (uint8_t *inImg, uint8_t *outImg, size_t size, double dimConst) |
Creates kaleidoscope effect. More... | |
void | processImage (uint8_t *inImg, uint8_t *outImg, size_t size) |
Creates kaleidoscope effect. Uses dim constant provided in constructor. More... | |
~Kaleidoscope () | |
Destroy the Kaleidoscope object. More... | |
Kaleidoscope effect generator.
Definition at line 15 of file kaleidoscope.hpp.
|
inline |
Construct a new Kaleidoscope object.
[in] | nImage | Number of images for effect |
[in] | width | Image width |
[in] | height | Image height |
[in] | nComponents | Number of color components (eg 3 for RGB) |
[in] | scaleDown | Scale down ratio to shrink image. Must be between 0.0 and 1.0 |
[in] | dimConst | Variable to dim background. Should be between 0.0 and 1.0 |
Definition at line 31 of file kaleidoscope.hpp.
|
inline |
Destroy the Kaleidoscope object.
Definition at line 61 of file kaleidoscope.hpp.
|
inline |
Creates kaleidoscope effect. Uses dim constant provided in constructor.
inImg | Input image |
outImg | Output image |
size | Size of the images |
Definition at line 56 of file kaleidoscope.hpp.
|
inline |
Creates kaleidoscope effect.
inImg | Input image |
outImg | Output image |
size | Size of the images |
dimConst | Variable to dim background. Should be between 0.0 and 1.0 |
Definition at line 45 of file kaleidoscope.hpp.