AlbumShaper
1.0a3
|
#include <qimage.h>
#include <qstring.h>
#include <cstdlib>
#include <time.h>
#include "pointillism.h"
#include "blackWhite.h"
#include "manipulationOptions.h"
Go to the source code of this file.
Functions | |
void | pickRandomPixelWithinBlock (int width, int height, int blockX, int blockY, int BLOCK_SIZE, int &x, int &y) |
bool | pixelValid (QImage *image, int x, int y) |
double | computeLocalGrayVal (QImage *image, int x, int y) |
void | drawDotAt (QImage *image, int x, int y, int) |
QImage * | pointillismEffect (QString filename, ManipulationOptions *) |
double computeLocalGrayVal | ( | QImage * | image, |
int | x, | ||
int | y | ||
) |
void drawDotAt | ( | QImage * | image, |
int | x, | ||
int | y, | ||
int | |||
) |
Definition at line 98 of file pointillism.cpp.
Referenced by pointillismEffect().
void pickRandomPixelWithinBlock | ( | int | width, |
int | height, | ||
int | blockX, | ||
int | blockY, | ||
int | BLOCK_SIZE, | ||
int & | x, | ||
int & | y | ||
) |
bool pixelValid | ( | QImage * | image, |
int | x, | ||
int | y | ||
) |
Definition at line 58 of file pointillism.cpp.
QImage* pointillismEffect | ( | QString | filename, |
ManipulationOptions * | |||
) |
Definition at line 109 of file pointillism.cpp.
References blackWhiteEffect(), computeLocalGrayVal(), drawDotAt(), editedImage, height, pickRandomPixelWithinBlock(), and width.
Referenced by EditingInterface::applyEffect().