digiKam
drawdecodersettings.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 : 2006-12-09
7  * Description : Raw decoding settings
8  *
9  * Copyright (C) 2006-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2006-2013 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
11  * Copyright (C) 2007-2008 by Guillaume Castagnino <casta at xwing dot info>
12  *
13  * This program is free software; you can redistribute it
14  * and/or modify it under the terms of the GNU General
15  * Public License as published by the Free Software Foundation;
16  * either version 2, or (at your option)
17  * any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * ============================================================ */
25 
26 #ifndef DIGIKAM_DRAW_DECODER_SETTINGS_H
27 #define DIGIKAM_DRAW_DECODER_SETTINGS_H
28 
29 // Qt includes
30 
31 #include <QRect>
32 #include <QString>
33 #include <QDebug>
34 
35 // Local includes
36 
37 #include "digikam_export.h"
38 
39 namespace Digikam
40 {
41 
42 class DIGIKAM_EXPORT DRawDecoderSettings
43 {
44 
45 public:
46 
72  {
73  BILINEAR = 0,
74  VNG = 1,
75  PPG = 2,
76  AHD = 3,
77  DCB = 4,
78  DHT = 11,
79  AAHD = 12
80  };
81 
91  {
92  NONE = 0,
93  CAMERA = 1,
94  AUTO = 2,
95  CUSTOM = 3,
96  AERA = 4
97  };
98 
106  {
107  NONR = 0,
109  FBDDNR
110  };
111 
119  {
120  NOINPUTCS = 0,
122  CUSTOMINPUTCS
123  };
124 
135  {
136  RAWCOLOR = 0,
141  CUSTOMOUTPUTCS
142  };
143 
148 
153  DRawDecoderSettings& operator=(const DRawDecoderSettings& o);
154 
158  bool operator==(const DRawDecoderSettings& o) const;
159 
164 
168  void optimizeTimeLoading();
169 
170 public:
171 
177 
182 
187 
194 
199 
205 
210 
217 
228 
234 
240 
245 
251 
255  double brightness;
256 
261 
266 
271 
276 
282 
286  QString inputProfile;
287 
293 
297  QString outputProfile;
298 
302  QString deadPixelMap;
303 
308 
309  //-- Extended demosaicing settings ----------------------------------------------------------
310 
312 
319 
324 
329 
335 
342 };
343 
345 QDebug operator<<(QDebug dbg, const DRawDecoderSettings& s);
346 
347 } // namespace Digikam
348 
349 #endif // DIGIKAM_DRAW_DECODER_SETTINGS_H
Definition: drawdecodersettings.h:43
NoiseReduction
Definition: drawdecodersettings.h:106
@ WAVELETSNR
Definition: drawdecodersettings.h:108
bool dcbEnhanceFl
Definition: drawdecodersettings.h:323
double customWhiteBalanceGreen
Definition: drawdecodersettings.h:204
DecodingQuality RAWQuality
Definition: drawdecodersettings.h:233
WhiteBalance whiteBalance
Definition: drawdecodersettings.h:198
QRect whiteBalanceArea
Definition: drawdecodersettings.h:307
WhiteBalance
Definition: drawdecodersettings.h:91
int medianFilterPasses
Definition: drawdecodersettings.h:239
int dcbIterations
For DCB interpolation.
Definition: drawdecodersettings.h:318
int NRThreshold
Definition: drawdecodersettings.h:250
bool expoCorrection
Definition: drawdecodersettings.h:328
OutputColorSpace outputColorSpace
Definition: drawdecodersettings.h:292
double brightness
Definition: drawdecodersettings.h:255
bool enableBlackPoint
Definition: drawdecodersettings.h:260
QString outputProfile
Definition: drawdecodersettings.h:297
InputColorSpace
Definition: drawdecodersettings.h:119
@ EMBEDDED
Definition: drawdecodersettings.h:121
bool DontStretchPixels
Definition: drawdecodersettings.h:216
int customWhiteBalance
Definition: drawdecodersettings.h:203
DecodingQuality
Definition: drawdecodersettings.h:72
int unclipColors
Definition: drawdecodersettings.h:227
int blackPoint
Definition: drawdecodersettings.h:265
bool enableWhitePoint
Definition: drawdecodersettings.h:270
int whitePoint
Definition: drawdecodersettings.h:275
bool RGBInterpolate4Colors
Definition: drawdecodersettings.h:209
InputColorSpace inputColorSpace
Definition: drawdecodersettings.h:281
NoiseReduction NRType
Definition: drawdecodersettings.h:244
QString inputProfile
Definition: drawdecodersettings.h:286
bool halfSizeColorImage
Definition: drawdecodersettings.h:193
OutputColorSpace
Definition: drawdecodersettings.h:135
@ PROPHOTO
Definition: drawdecodersettings.h:140
@ ADOBERGB
Definition: drawdecodersettings.h:138
@ WIDEGAMMUT
Definition: drawdecodersettings.h:139
@ SRGB
Definition: drawdecodersettings.h:137
bool fixColorsHighlights
Definition: drawdecodersettings.h:176
double expoCorrectionShift
Definition: drawdecodersettings.h:334
QString deadPixelMap
Definition: drawdecodersettings.h:302
bool autoBrightness
Definition: drawdecodersettings.h:181
bool sixteenBitsImage
Definition: drawdecodersettings.h:186
double expoCorrectionHighlight
Definition: drawdecodersettings.h:341
@ NONE
Definition: dngconverteractions.h:44
Definition: datefolderview.cpp:43
QDebug operator<<(QDebug dbg, const DbEngineParameters &p)
Definition: dbengineparameters.cpp:863
bool operator==(const SearchTextSettings &a, const SearchTextSettings &b)
Definition: searchtextbar.cpp:49