26 #ifndef DIGIKAM_WB_FILTER_H
27 #define DIGIKAM_WB_FILTER_H
51 explicit WBFilter(QObject*
const parent =
nullptr);
53 QObject*
const parent =
nullptr,
58 const DImg& destImage,
59 int progressBegin = 0,
60 int progressEnd = 100);
64 static void autoExposureAdjustement(
const DImg*
const img,
double& black,
double& expo);
65 static void autoWBAdjustementFromColor(
const QColor& tc,
double& temperature,
double& green);
69 return QLatin1String(
"digikam:WhiteBalanceFilter");
72 static QString DisplayableName();
84 void readParameters(
const FilterAction& action)
override;
88 return FilterIdentifier();
95 void filterImage()
override;
104 void adjustWhiteBalance(uchar*
const data,
int width,
int height,
bool sixteenBit);
105 inline unsigned short pixelColor(
int colorMult,
int index);
107 static void setRGBmult(
const double& temperature,
const double& green,
double& mr,
double& mg,
double& mb);
Definition: dimgthreadedfilter.h:41
Definition: filteraction.h:43
Definition: wbcontainer.h:43
Definition: wbfilter.h:46
static int CurrentVersion()
Definition: wbfilter.h:79
static QString FilterIdentifier()
Definition: wbfilter.h:67
WBContainer m_settings
Definition: wbfilter.h:99
QString filterIdentifier() const override
Definition: wbfilter.h:86
static QList< int > SupportedVersions()
Definition: wbfilter.h:74
Definition: datefolderview.cpp:43