26 #ifndef DIGIKAM_CONTENT_AWARE_FILTER_H
27 #define DIGIKAM_CONTENT_AWARE_FILTER_H
35 #include "digikam_config.h"
61 : preserve_skin_tones(false),
68 resize_order(Qt::Horizontal)
104 QObject*
const parent =
nullptr,
108 void progressCallback(
int progress);
112 return QLatin1String(
"digikam:ContentAwareFilter");
115 static QString DisplayableName();
129 return FilterIdentifier();
133 void readParameters(
const FilterAction& action)
override;
137 void cancelFilter()
override;
138 void filterImage()
override;
140 void buildBias(
const QImage& mask);
141 void buildSkinToneBias();
142 inline bool isSkinTone(
const DColor& c);
143 void getEnergyImage();
Definition: contentawarefilter.h:44
EnergyFunction
Definition: contentawarefilter.h:49
@ SumOfAbsoluteValues
Definition: contentawarefilter.h:51
@ LumaGradientNorm
Definition: contentawarefilter.h:53
@ LumaSumOfAbsoluteValues
Definition: contentawarefilter.h:54
@ XAbsoluteValue
Definition: contentawarefilter.h:52
Qt::Orientation resize_order
Definition: contentawarefilter.h:91
double rigidity
Definition: contentawarefilter.h:86
QImage mask
Definition: contentawarefilter.h:88
int step
Definition: contentawarefilter.h:83
EnergyFunction func
Definition: contentawarefilter.h:90
uint height
Definition: contentawarefilter.h:81
bool preserve_skin_tones
Definition: contentawarefilter.h:74
int side_switch_freq
Definition: contentawarefilter.h:84
uint width
Definition: contentawarefilter.h:80
~ContentAwareContainer()
Definition: contentawarefilter.h:72
ContentAwareContainer()
Definition: contentawarefilter.h:60
Definition: contentawarefilter.h:97
QString filterIdentifier() const override
Definition: contentawarefilter.h:127
static QString FilterIdentifier()
Definition: contentawarefilter.h:110
static int CurrentVersion()
Definition: contentawarefilter.h:122
static QList< int > SupportedVersions()
Definition: contentawarefilter.h:117
Definition: dimgthreadedfilter.h:41
Definition: filteraction.h:43
@ Orientation
Definition: coredbfields.h:86
Definition: datefolderview.cpp:43