digiKam
nrestimate.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2012-10-18
7  * Description : Wavelets YCrCb Noise Reduction settings estimation by image content analys.
8  *
9  * Copyright (C) 2012-2013 by Sayantan Datta <sayantan dot knz at gmail dot com>
10  * Copyright (C) 2012-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_NR_ESTIMATE_H
26 #define DIGIKAM_NR_ESTIMATE_H
27 
28 // Qt includes
29 
30 #include <QString>
31 
32 // Local includes
33 
34 #include "digikam_export.h"
35 #include "nrfilter.h"
36 #include "dimg.h"
37 #include "dimgthreadedanalyser.h"
38 
39 namespace Digikam
40 {
41 
42 class DIGIKAM_EXPORT NREstimate : public DImgThreadedAnalyser
43 {
44  Q_OBJECT
45 
46 public:
47 
51  explicit NREstimate(DImg* const img, QObject* const parent = nullptr);
52  ~NREstimate() override;
53 
57  void startAnalyse() override;
58 
62  NRContainer settings() const;
63 
68  void setLogFilesPath(const QString& path);
69 
70 private:
71 
76  void readImage() const;
77 
78 private:
79 
80  class Private;
81  Private* const d;
82 };
83 
84 } // namespace Digikam
85 
86 #endif // DIGIKAM_NR_ESTIMATE_H
Definition: dimgthreadedanalyser.h:38
Definition: dimg.h:62
Definition: nrfilter.h:43
Definition: nrestimate.h:43
Definition: datefolderview.cpp:43