AlbumShaper
1.0a3
|
#include <qimage.h>
#include <qstring.h>
#include <qapplication.h>
#include <math.h>
#include "painting.h"
#include "manipulationOptions.h"
#include "../../gui/statusWidget.h"
Go to the source code of this file.
Classes | |
struct | Triplet |
struct | Histogram |
Macros | |
#define | MIN(x, y) ((x) < (y) ? (x) : (y)) |
#define | MAX(x, y) ((x) < (y) ? (x) : (y)) |
Functions | |
void | resetHistogram () |
void | findHighestCounts () |
QImage * | oilPaintingEffect (QString filename, ManipulationOptions *options) |
Variables | |
Histogram | histogram |
#define MAX | ( | x, | |
y | |||
) | ((x) < (y) ? (x) : (y)) |
Definition at line 18 of file painting.cpp.
Referenced by oilPaintingEffect().
#define MIN | ( | x, | |
y | |||
) | ((x) < (y) ? (x) : (y)) |
Definition at line 17 of file painting.cpp.
Referenced by oilPaintingEffect().
void findHighestCounts | ( | ) |
Definition at line 90 of file painting.cpp.
References Triplet::b, Triplet::g, Histogram::highestCountIndex, Triplet::r, and Histogram::values.
Referenced by oilPaintingEffect().
QImage* oilPaintingEffect | ( | QString | filename, |
ManipulationOptions * | options | ||
) |
Definition at line 106 of file painting.cpp.
References Triplet::b, editedImage, findHighestCounts(), Triplet::g, ManipulationOptions::getStatus(), Histogram::highestCountIndex, StatusWidget::incrementProgress(), MAX, MIN, newProgress, Triplet::r, resetHistogram(), StatusWidget::showProgressBar(), status, updateIncrement, and Histogram::values.
Referenced by EditingInterface::applyEffect().
void resetHistogram | ( | ) |
Definition at line 76 of file painting.cpp.
References Triplet::b, Triplet::g, Histogram::highestCountIndex, Triplet::r, and Histogram::values.
Referenced by oilPaintingEffect().
Histogram histogram |
Definition at line 74 of file painting.cpp.