AlbumShaper
1.0a3
|
#include <qimage.h>
#include <qstring.h>
#include <qapplication.h>
#include "contrast.h"
#include "../tools/imageTools.h"
#include "../../gui/statusWidget.h"
Go to the source code of this file.
Macros | |
#define | MIN(x, y) ((x) < (y) ? (x) : (y)) |
#define | MAX(x, y) ((x) < (y) ? (x) : (y)) |
Functions | |
QImage * | enhanceImageContrast (QString filename, StatusWidget *status) |
void | enhanceImageContrast (QImage *editedImage, StatusWidget *status) |
#define MAX | ( | x, | |
y | |||
) | ((x) < (y) ? (x) : (y)) |
Definition at line 22 of file contrast.cpp.
Referenced by enhanceImageContrast().
#define MIN | ( | x, | |
y | |||
) | ((x) < (y) ? (x) : (y)) |
Definition at line 21 of file contrast.cpp.
Referenced by enhanceImageContrast().
QImage* enhanceImageContrast | ( | QString | filename, |
StatusWidget * | status | ||
) |
Definition at line 88 of file contrast.cpp.
References editedImage, and enhanceImageContrast().
Referenced by EdgeDetect::constructEdgeImage(), EditingInterface::enhanceContrast(), and enhanceImageContrast().
void enhanceImageContrast | ( | QImage * | editedImage, |
StatusWidget * | status | ||
) |
Definition at line 108 of file contrast.cpp.
References b, HSVtoRGB(), StatusWidget::incrementProgress(), MAX, MIN, newProgress, RGBtoHSV(), RGBtoL(), StatusWidget::setStatus(), StatusWidget::showProgressBar(), and updateIncrement.