26 #ifndef DIGIKAM_REFOCUS_FILTER_H
27 #define DIGIKAM_REFOCUS_FILTER_H
44 struct Q_DECL_HIDDEN Args
69 explicit RefocusFilter(
DImg*
const orgImage, QObject*
const parent =
nullptr,
int matrixSize=5,
double radius=0.9,
70 double gauss=0.0,
double correlation=0.5,
double noise=0.01);
74 static int maxMatrixSize();
78 return QLatin1String(
"digikam:RefocusFilter");
81 static QString DisplayableName();
95 return FilterIdentifier();
99 void readParameters(
const FilterAction& action)
override;
104 void filterImage()
override;
106 void refocusImage(uchar*
const data,
int width,
int height,
bool sixteenBit,
107 int matrixSize,
double radius,
double gauss,
108 double correlation,
double noise);
110 void convolveImage(
const Args& prm);
112 void convolveImageMultithreaded(uint start, uint stop, uint y1,
const Args& prm);
Definition: dimgthreadedfilter.h:41
Definition: filteraction.h:43
Definition: refocusfilter.h:39
QString filterIdentifier() const override
Definition: refocusfilter.h:93
static QString FilterIdentifier()
Definition: refocusfilter.h:76
static int CurrentVersion()
Definition: refocusfilter.h:88
static QList< int > SupportedVersions()
Definition: refocusfilter.h:83
MetaEngineRotation matrix(MetaEngineRotation::TransformationAction action)
Definition: metaengine_rotation.cpp:81
Definition: datefolderview.cpp:43