25 #ifndef DIGIKAM_CB_FILTER_H
26 #define DIGIKAM_CB_FILTER_H
74 explicit CBFilter(QObject*
const parent =
nullptr);
76 QObject*
const parent =
nullptr,
82 int progressBegin = 0,
83 int progressEnd = 100);
88 return QLatin1String(
"digikam:ColorBalanceFilter");
91 static QString DisplayableName();
103 void readParameters(
const FilterAction& action)
override;
107 return FilterIdentifier();
114 void filterImage()
override;
117 void setGamma(
double val);
118 void setTables(
int*
const redMap,
int*
const greenMap,
int*
const blueMap,
int*
const alphaMap,
bool sixteenBit);
119 void getTables(
int*
const redMap,
int*
const greenMap,
int*
const blueMap,
int*
const alphaMap,
bool sixteenBit);
120 void adjustRGB(
double r,
double g,
double b,
double a,
bool sixteenBit);
121 void applyCBFilter(
DImg& image,
double r,
double g,
double b,
double a);
Definition: cbfilter.h:40
double blue
Definition: cbfilter.h:61
~CBContainer()
Definition: cbfilter.h:53
double green
Definition: cbfilter.h:60
double gamma
Definition: cbfilter.h:63
double red
Definition: cbfilter.h:55
double alpha
Definition: cbfilter.h:62
CBContainer()
Definition: cbfilter.h:44
Definition: cbfilter.h:69
static int CurrentVersion()
Definition: cbfilter.h:98
static QList< int > SupportedVersions()
Definition: cbfilter.h:93
QString filterIdentifier() const override
Definition: cbfilter.h:105
static QString FilterIdentifier()
Definition: cbfilter.h:86
Definition: dimgthreadedfilter.h:41
Definition: filteraction.h:43
Definition: datefolderview.cpp:43