31 Kaleidoscope(
int nImage,
int width,
int height,
int nComponents,
double scaleDown,
double dimConst)
36 throw std::invalid_argument(
"Can't init kaleidoscope structure for these inputs");
46 void processImage(uint8_t *inImg, uint8_t *outImg,
double dimConst)
Kaleidoscope effect generator.
~Kaleidoscope()
Destroy the Kaleidoscope object.
void processImage(uint8_t *inImg, uint8_t *outImg, double dimConst)
Creates kaleidoscope effect.
void processImage(uint8_t *inImg, uint8_t *outImg)
Creates kaleidoscope effect. Uses dim constant provided in constructor.
KaleidoscopeHandle handler
Kaleidoscope(int nImage, int width, int height, int nComponents, double scaleDown, double dimConst)
Construct a new Kaleidoscope object.
void processKaleidoscope(const KaleidoscopeHandle *handler, double k, const unsigned char *imgIn, unsigned char *imgOut)
Applies kaleidoscope effect to image.
int initKaleidoscope(KaleidoscopeHandle *handler, int n, int width, int height, int nComponents, double scaleDown)
Initializes kaleidoscope handler.
void deInitKaleidoscope(KaleidoscopeHandle *handler)
Deinitializes kaleidoscope handler.
Struct for kaleidoscope effect generator.