digiKam
rawpostprocessing.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 : 2008-13-08
7  * Description : Raw post processing corrections.
8  *
9  * Copyright (C) 2008-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_RAW_POST_PROCESSING_H
25 #define DIGIKAM_RAW_POST_PROCESSING_H
26 
27 // Local includes
28 
29 #include "dimgthreadedfilter.h"
30 
31 using namespace Digikam;
32 
34 {
35 
37 {
38 
39 public:
40 
41  explicit RawPostProcessing(DImg* const orgImage,
42  QObject* const parent = nullptr,
43  const DRawDecoding& settings = DRawDecoding());
44 
48  RawPostProcessing(DImgThreadedFilter* const parentFilter,
49  const DImg& orgImage,
50  const DImg& destImage,
51  int progressBegin = 0,
52  int progressEnd = 100,
53  const DRawDecoding& settings = DRawDecoding());
54 
56 
57 private:
58 
59  void rawPostProcessing();
60 
61  virtual void filterImage() override;
62 
66  virtual FilterAction filterAction() override
67  {
68  return FilterAction();
69  }
70 
71  virtual void readParameters(const FilterAction&) override
72  {
73  }
74 
75  virtual QString filterIdentifier() const override
76  {
77  return QString();
78  }
79 
80 private:
81 
82  DRawDecoding m_customRawSettings;
83 };
84 
85 } // namespace DigikamRawImportNativePlugin
86 
87 #endif // DIGIKAM_RAW_POST_PROCESSING_H
Definition: rawpostprocessing.h:37
Definition: dimgthreadedfilter.h:41
Definition: dimg.h:62
Definition: drawdecoding.h:48
Definition: filteraction.h:43
Definition: rawimport.cpp:48
Definition: datefolderview.cpp:43