25 #ifndef DIGIKAM_GREY_CSTORATION_FILTER_H
26 #define DIGIKAM_GREY_CSTORATION_FILTER_H
59 setRestorationDefaultSettings();
74 interp = NearestNeighbor;
94 interp = NearestNeighbor;
114 interp = NearestNeighbor;
177 int newWidth = 0,
int newHeight = 0,
178 const QImage& inPaintingMask = QImage(),
179 QObject*
const parent =
nullptr);
183 void setMode(
int mode,
int newWidth = 0,
int newHeight = 0);
185 void setInPaintingMask(
const QImage& inPaintingMask);
189 void cancelFilter()
override;
191 static QString cimgVersionString();
195 return QLatin1String(
"digikam:GreycstorationFilter");
198 static QString DisplayableName();
212 return FilterIdentifier();
216 void readParameters(
const FilterAction& action)
override;
220 void computeChildrenThreads();
225 void iterationLoop(uint iter);
227 void initFilter()
override;
228 void filterImage()
override;
Definition: dimgthreadedfilter.h:41
Definition: filteraction.h:43
Definition: greycstorationfilter.h:44
float amplitude
Definition: greycstorationfilter.h:136
float sharpness
Definition: greycstorationfilter.h:137
uint nbIter
Definition: greycstorationfilter.h:133
float anisotropy
Definition: greycstorationfilter.h:138
float da
Definition: greycstorationfilter.h:143
void setRestorationDefaultSettings()
Definition: greycstorationfilter.h:66
uint interp
Definition: greycstorationfilter.h:134
~GreycstorationContainer()
Definition: greycstorationfilter.h:62
void setResizeDefaultSettings()
Definition: greycstorationfilter.h:106
void setInpaintingDefaultSettings()
Definition: greycstorationfilter.h:86
float sigma
Definition: greycstorationfilter.h:140
float alpha
Definition: greycstorationfilter.h:139
bool fastApprox
Definition: greycstorationfilter.h:124
float gaussPrec
Definition: greycstorationfilter.h:141
float dl
Definition: greycstorationfilter.h:142
int tile
Definition: greycstorationfilter.h:130
GreycstorationContainer()
Definition: greycstorationfilter.h:57
int btile
Definition: greycstorationfilter.h:131
INTERPOLATION
Definition: greycstorationfilter.h:49
@ Linear
Definition: greycstorationfilter.h:51
Definition: greycstorationfilter.h:149
static int CurrentVersion()
Definition: greycstorationfilter.h:205
QString filterIdentifier() const override
Definition: greycstorationfilter.h:210
static QList< int > SupportedVersions()
Definition: greycstorationfilter.h:200
MODE
Definition: greycstorationfilter.h:155
@ Resize
Definition: greycstorationfilter.h:158
@ InPainting
Definition: greycstorationfilter.h:157
static QString FilterIdentifier()
Definition: greycstorationfilter.h:193
Definition: datefolderview.cpp:43