digiKam
noisereductiontool.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 : 2004-08-24
7  * Description : a tool to reduce CCD noise.
8  *
9  * Copyright (C) 2004-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_EDITOR_NOISE_REDUCTION_TOOL_H
25 #define DIGIKAM_EDITOR_NOISE_REDUCTION_TOOL_H
26 
27 // Local includes
28 
29 #include "editortool.h"
30 
31 using namespace Digikam;
32 
34 {
35 
37 {
38  Q_OBJECT
39 
40 public:
41 
42  explicit NoiseReductionTool(QObject* const parent);
43  ~NoiseReductionTool() override;
44 
45 private:
46 
47  void readSettings() override;
48  void writeSettings() override;
49  void preparePreview() override;
50  void prepareFinal() override;
51  void setPreviewImage() override;
52  void setFinalImage() override;
53  void analyserCompleted() override;
54 
55 private Q_SLOTS:
56 
57  void slotResetSettings() override;
58  void slotLoadSettings() override;
59  void slotSaveAsSettings() override;
60  void slotEstimateNoise();
61 
62 private:
63 
64  class Private;
65  Private* const d;
66 };
67 
68 } // namespace DigikamEditorNoiseReductionToolPlugin
69 
70 #endif // DIGIKAM_EDITOR_NOISE_REDUCTION_TOOL_H
Definition: editortool.h:136
Definition: noisereductiontool.cpp:49
Definition: datefolderview.cpp:43