• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegraphics API Reference
  • KDE Home
  • Contact Us
 

libs/libkdcraw/libkdcraw

  • sources
  • kde-4.14
  • kdegraphics
  • libs
  • libkdcraw
  • libkdcraw
rawdecodingsettings.cpp
Go to the documentation of this file.
1 
30 #define OPTIONFIXCOLORSHIGHLIGHTSENTRY "FixColorsHighlights"
31 #define OPTIONDECODESIXTEENBITENTRY "SixteenBitsImage"
32 #define OPTIONWHITEBALANCEENTRY "White Balance"
33 #define OPTIONCUSTOMWHITEBALANCEENTRY "Custom White Balance"
34 #define OPTIONCUSTOMWBGREENENTRY "Custom White Balance Green"
35 #define OPTIONFOURCOLORRGBENTRY "Four Color RGB"
36 #define OPTIONUNCLIPCOLORSENTRY "Unclip Color"
37 // Wrong spelling, but do not fix it since it is a configuration key
38 // krazy:cond=spelling
39 #define OPTIONDONTSTRETCHPIXELSENTRY "Dont Stretch Pixels"
40 // krazy:endcond=spelling
41 #define OPTIONMEDIANFILTERPASSESENTRY "Median Filter Passes"
42 #define OPTIONNOISEREDUCTIONTYPEENTRY "Noise Reduction Type"
43 #define OPTIONNOISEREDUCTIONTHRESHOLDENTRY "Noise Reduction Threshold"
44 #define OPTIONUSECACORRECTIONENTRY "EnableCACorrection"
45 #define OPTIONCAREDMULTIPLIERENTRY "caRedMultiplier"
46 #define OPTIONCABLUEMULTIPLIERENTRY "caBlueMultiplier"
47 #define OPTIONAUTOBRIGHTNESSENTRY "AutoBrightness"
48 #define OPTIONDECODINGQUALITYENTRY "Decoding Quality"
49 #define OPTIONINPUTCOLORSPACEENTRY "Input Color Space"
50 #define OPTIONOUTPUTCOLORSPACEENTRY "Output Color Space"
51 #define OPTIONINPUTCOLORPROFILEENTRY "Input Color Profile"
52 #define OPTIONOUTPUTCOLORPROFILEENTRY "Output Color Profile"
53 #define OPTIONBRIGHTNESSMULTIPLIERENTRY "Brightness Multiplier"
54 #define OPTIONUSEBLACKPOINTENTRY "Use Black Point"
55 #define OPTIONBLACKPOINTENTRY "Black Point"
56 #define OPTIONUSEWHITEPOINTENTRY "Use White Point"
57 #define OPTIONWHITEPOINTENTRY "White Point"
58 
59 //-- Extended demosaicing settings ----------------------------------------------------------
60 
61 #define OPTIONDCBITERATIONSENTRY "Dcb Iterations"
62 #define OPTIONDCBENHANCEFLENTRY "Dcb Enhance Filter"
63 #define OPTIONEECIREFINEENTRY "Eeci Refine"
64 #define OPTIONESMEDPASSESENTRY "Es Median Filter Passes"
65 #define OPTIONNRCHROMINANCETHRESHOLDENTRY "Noise Reduction Chrominance Threshold"
66 #define OPTIONEXPOCORRECTIONENTRY "Expo Correction"
67 #define OPTIONEXPOCORRECTIONSHIFTENTRY "Expo Correction Shift"
68 #define OPTIONEXPOCORRECTIONHIGHLIGHTENTRY "Expo Correction Highlight"
69 
70 #include "rawdecodingsettings.h"
71 
72 namespace KDcrawIface
73 {
74 
75 RawDecodingSettings::RawDecodingSettings()
76 {
77  fixColorsHighlights = false;
78  autoBrightness = true;
79  sixteenBitsImage = false;
80  brightness = 1.0;
81  RAWQuality = BILINEAR;
82  inputColorSpace = NOINPUTCS;
83  outputColorSpace = SRGB;
84  RGBInterpolate4Colors = false;
85  DontStretchPixels = false;
86  unclipColors = 0;
87  whiteBalance = CAMERA;
88  customWhiteBalance = 6500;
89  customWhiteBalanceGreen = 1.0;
90  medianFilterPasses = 0;
91 
92  halfSizeColorImage = false;
93 
94  enableBlackPoint = false;
95  blackPoint = 0;
96 
97  enableWhitePoint = false;
98  whitePoint = 0;
99 
100  NRType = NONR;
101  NRThreshold = 0;
102 
103  enableCACorrection = false;
104  caMultiplier[0] = 0.0;
105  caMultiplier[1] = 0.0;
106 
107  inputProfile = QString();
108  outputProfile = QString();
109 
110  deadPixelMap = QString();
111 
112  whiteBalanceArea = QRect();
113 
114  //-- Extended demosaicing settings ----------------------------------------------------------
115 
116  dcbIterations = -1;
117  dcbEnhanceFl = false;
118  eeciRefine = false;
119  esMedPasses = 0;
120  NRChroThreshold = 0;
121  expoCorrection = false;
122  expoCorrectionShift = 1.0;
123  expoCorrectionHighlight = 0.0;
124 }
125 
126 RawDecodingSettings::~RawDecodingSettings()
127 {
128 }
129 
130 RawDecodingSettings& RawDecodingSettings::operator=(const RawDecodingSettings& o)
131 {
132  fixColorsHighlights = o.fixColorsHighlights;
133  autoBrightness = o.autoBrightness;
134  sixteenBitsImage = o.sixteenBitsImage;
135  brightness = o.brightness;
136  RAWQuality = o.RAWQuality;
137  inputColorSpace = o.inputColorSpace;
138  outputColorSpace = o.outputColorSpace;
139  RGBInterpolate4Colors = o.RGBInterpolate4Colors;
140  DontStretchPixels = o.DontStretchPixels;
141  unclipColors = o.unclipColors;
142  whiteBalance = o.whiteBalance;
143  customWhiteBalance = o.customWhiteBalance;
144  customWhiteBalanceGreen = o.customWhiteBalanceGreen;
145  halfSizeColorImage = o.halfSizeColorImage;
146  enableBlackPoint = o.enableBlackPoint;
147  blackPoint = o.blackPoint;
148  enableWhitePoint = o.enableWhitePoint;
149  whitePoint = o.whitePoint;
150  NRType = o.NRType;
151  NRThreshold = o.NRThreshold;
152  enableCACorrection = o.enableCACorrection;
153  caMultiplier[0] = o.caMultiplier[0];
154  caMultiplier[1] = o.caMultiplier[1];
155  medianFilterPasses = o.medianFilterPasses;
156  inputProfile = o.inputProfile;
157  outputProfile = o.outputProfile;
158  deadPixelMap = o.deadPixelMap;
159  whiteBalanceArea = o.whiteBalanceArea;
160 
161  //-- Extended demosaicing settings ----------------------------------------------------------
162 
163  dcbIterations = o.dcbIterations;
164  dcbEnhanceFl = o.dcbEnhanceFl;
165  eeciRefine = o.eeciRefine;
166  esMedPasses = o.esMedPasses;
167  NRChroThreshold = o.NRChroThreshold;
168  expoCorrection = o.expoCorrection;
169  expoCorrectionShift = o.expoCorrectionShift;
170  expoCorrectionHighlight = o.expoCorrectionHighlight;
171 
172  return *this;
173 }
174 
175 bool RawDecodingSettings::operator==(const RawDecodingSettings& o) const
176 {
177  return fixColorsHighlights == o.fixColorsHighlights
178  && autoBrightness == o.autoBrightness
179  && sixteenBitsImage == o.sixteenBitsImage
180  && brightness == o.brightness
181  && RAWQuality == o.RAWQuality
182  && inputColorSpace == o.inputColorSpace
183  && outputColorSpace == o.outputColorSpace
184  && RGBInterpolate4Colors == o.RGBInterpolate4Colors
185  && DontStretchPixels == o.DontStretchPixels
186  && unclipColors == o.unclipColors
187  && whiteBalance == o.whiteBalance
188  && customWhiteBalance == o.customWhiteBalance
189  && customWhiteBalanceGreen == o.customWhiteBalanceGreen
190  && halfSizeColorImage == o.halfSizeColorImage
191  && enableBlackPoint == o.enableBlackPoint
192  && blackPoint == o.blackPoint
193  && enableWhitePoint == o.enableWhitePoint
194  && whitePoint == o.whitePoint
195  && NRType == o.NRType
196  && NRThreshold == o.NRThreshold
197  && enableCACorrection == o.enableCACorrection
198  && caMultiplier[0] == o.caMultiplier[0]
199  && caMultiplier[1] == o.caMultiplier[1]
200  && medianFilterPasses == o.medianFilterPasses
201  && inputProfile == o.inputProfile
202  && outputProfile == o.outputProfile
203  && deadPixelMap == o.deadPixelMap
204  && whiteBalanceArea == o.whiteBalanceArea
205 
206  //-- Extended demosaicing settings ----------------------------------------------------------
207 
208  && dcbIterations == o.dcbIterations
209  && dcbEnhanceFl == o.dcbEnhanceFl
210  && eeciRefine == o.eeciRefine
211  && esMedPasses == o.esMedPasses
212  && NRChroThreshold == o.NRChroThreshold
213  && expoCorrection == o.expoCorrection
214  && expoCorrectionShift == o.expoCorrectionShift
215  && expoCorrectionHighlight == o.expoCorrectionHighlight
216  ;
217 }
218 
219 void RawDecodingSettings::optimizeTimeLoading()
220 {
221  fixColorsHighlights = false;
222  autoBrightness = true;
223  sixteenBitsImage = true;
224  brightness = 1.0;
225  RAWQuality = BILINEAR;
226  inputColorSpace = NOINPUTCS;
227  outputColorSpace = SRGB;
228  RGBInterpolate4Colors = false;
229  DontStretchPixels = false;
230  unclipColors = 0;
231  whiteBalance = CAMERA;
232  customWhiteBalance = 6500;
233  customWhiteBalanceGreen = 1.0;
234  halfSizeColorImage = true;
235  medianFilterPasses = 0;
236 
237  enableBlackPoint = false;
238  blackPoint = 0;
239 
240  enableWhitePoint = false;
241  whitePoint = 0;
242 
243  NRType = NONR;
244  NRThreshold = 0;
245 
246  enableCACorrection = false;
247  caMultiplier[0] = 0.0;
248  caMultiplier[1] = 0.0;
249 
250  inputProfile = QString();
251  outputProfile = QString();
252 
253  deadPixelMap = QString();
254 
255  whiteBalanceArea = QRect();
256 
257  //-- Extended demosaicing settings ----------------------------------------------------------
258 
259  dcbIterations = -1;
260  dcbEnhanceFl = false;
261  eeciRefine = false;
262  esMedPasses = 0;
263  NRChroThreshold = 0;
264  expoCorrection = false;
265  expoCorrectionShift = 1.0;
266  expoCorrectionHighlight = 0.0;
267 }
268 
269 void RawDecodingSettings::readSettings(KConfigGroup& group)
270 {
271  RawDecodingSettings defaultPrm;
272 
273  fixColorsHighlights = group.readEntry(OPTIONFIXCOLORSHIGHLIGHTSENTRY, defaultPrm.fixColorsHighlights);
274  sixteenBitsImage = group.readEntry(OPTIONDECODESIXTEENBITENTRY, defaultPrm.sixteenBitsImage);
275  whiteBalance = (WhiteBalance)
276  group.readEntry(OPTIONWHITEBALANCEENTRY, (int)defaultPrm.whiteBalance);
277  customWhiteBalance = group.readEntry(OPTIONCUSTOMWHITEBALANCEENTRY, defaultPrm.customWhiteBalance);
278  customWhiteBalanceGreen = group.readEntry(OPTIONCUSTOMWBGREENENTRY, defaultPrm.customWhiteBalanceGreen);
279  RGBInterpolate4Colors = group.readEntry(OPTIONFOURCOLORRGBENTRY, defaultPrm.RGBInterpolate4Colors);
280  unclipColors = group.readEntry(OPTIONUNCLIPCOLORSENTRY, defaultPrm.unclipColors);
281  DontStretchPixels = group.readEntry(OPTIONDONTSTRETCHPIXELSENTRY, defaultPrm.DontStretchPixels);
282  NRType = (NoiseReduction)
283  group.readEntry(OPTIONNOISEREDUCTIONTYPEENTRY, (int)defaultPrm.NRType);
284  brightness = group.readEntry(OPTIONBRIGHTNESSMULTIPLIERENTRY, defaultPrm.brightness);
285  enableBlackPoint = group.readEntry(OPTIONUSEBLACKPOINTENTRY, defaultPrm.enableBlackPoint);
286  blackPoint = group.readEntry(OPTIONBLACKPOINTENTRY, defaultPrm.blackPoint);
287  enableWhitePoint = group.readEntry(OPTIONUSEWHITEPOINTENTRY, defaultPrm.enableWhitePoint);
288  whitePoint = group.readEntry(OPTIONWHITEPOINTENTRY, defaultPrm.whitePoint);
289  medianFilterPasses = group.readEntry(OPTIONMEDIANFILTERPASSESENTRY, defaultPrm.medianFilterPasses);
290  NRThreshold = group.readEntry(OPTIONNOISEREDUCTIONTHRESHOLDENTRY, defaultPrm.NRThreshold);
291  enableCACorrection = group.readEntry(OPTIONUSECACORRECTIONENTRY, defaultPrm.enableCACorrection);
292  caMultiplier[0] = group.readEntry(OPTIONCAREDMULTIPLIERENTRY, defaultPrm.caMultiplier[0]);
293  caMultiplier[1] = group.readEntry(OPTIONCABLUEMULTIPLIERENTRY, defaultPrm.caMultiplier[1]);
294  RAWQuality = (DecodingQuality)
295  group.readEntry(OPTIONDECODINGQUALITYENTRY, (int)defaultPrm.RAWQuality);
296  outputColorSpace = (OutputColorSpace)
297  group.readEntry(OPTIONOUTPUTCOLORSPACEENTRY, (int)defaultPrm.outputColorSpace);
298  autoBrightness = group.readEntry(OPTIONAUTOBRIGHTNESSENTRY, defaultPrm.autoBrightness);
299 
300  //-- Extended demosaicing settings ----------------------------------------------------------
301 
302  dcbIterations = group.readEntry(OPTIONDCBITERATIONSENTRY, defaultPrm.dcbIterations);
303  dcbEnhanceFl = group.readEntry(OPTIONDCBENHANCEFLENTRY, defaultPrm.dcbEnhanceFl);
304  eeciRefine = group.readEntry(OPTIONEECIREFINEENTRY, defaultPrm.eeciRefine);
305  esMedPasses = group.readEntry(OPTIONESMEDPASSESENTRY, defaultPrm.esMedPasses);
306  NRChroThreshold = group.readEntry(OPTIONNRCHROMINANCETHRESHOLDENTRY, defaultPrm.NRChroThreshold);
307  expoCorrection = group.readEntry(OPTIONEXPOCORRECTIONENTRY, defaultPrm.expoCorrection);
308  expoCorrectionShift = group.readEntry(OPTIONEXPOCORRECTIONSHIFTENTRY, defaultPrm.expoCorrectionShift);
309  expoCorrectionHighlight = group.readEntry(OPTIONEXPOCORRECTIONHIGHLIGHTENTRY, defaultPrm.expoCorrectionHighlight);
310 }
311 
312 void RawDecodingSettings::writeSettings(KConfigGroup& group)
313 {
314  group.writeEntry(OPTIONFIXCOLORSHIGHLIGHTSENTRY, fixColorsHighlights);
315  group.writeEntry(OPTIONDECODESIXTEENBITENTRY, sixteenBitsImage);
316  group.writeEntry(OPTIONWHITEBALANCEENTRY, (int)whiteBalance);
317  group.writeEntry(OPTIONCUSTOMWHITEBALANCEENTRY, customWhiteBalance);
318  group.writeEntry(OPTIONCUSTOMWBGREENENTRY, customWhiteBalanceGreen);
319  group.writeEntry(OPTIONFOURCOLORRGBENTRY, RGBInterpolate4Colors);
320  group.writeEntry(OPTIONUNCLIPCOLORSENTRY, unclipColors);
321  group.writeEntry(OPTIONDONTSTRETCHPIXELSENTRY, DontStretchPixels);
322  group.writeEntry(OPTIONNOISEREDUCTIONTYPEENTRY, (int)NRType);
323  group.writeEntry(OPTIONBRIGHTNESSMULTIPLIERENTRY, brightness);
324  group.writeEntry(OPTIONUSEBLACKPOINTENTRY, enableBlackPoint);
325  group.writeEntry(OPTIONBLACKPOINTENTRY, blackPoint);
326  group.writeEntry(OPTIONUSEWHITEPOINTENTRY, enableWhitePoint);
327  group.writeEntry(OPTIONWHITEPOINTENTRY, whitePoint);
328  group.writeEntry(OPTIONMEDIANFILTERPASSESENTRY, medianFilterPasses);
329  group.writeEntry(OPTIONNOISEREDUCTIONTHRESHOLDENTRY, NRThreshold);
330  group.writeEntry(OPTIONUSECACORRECTIONENTRY, enableCACorrection);
331  group.writeEntry(OPTIONCAREDMULTIPLIERENTRY, caMultiplier[0]);
332  group.writeEntry(OPTIONCABLUEMULTIPLIERENTRY, caMultiplier[1]);
333  group.writeEntry(OPTIONDECODINGQUALITYENTRY, (int)RAWQuality);
334  group.writeEntry(OPTIONOUTPUTCOLORSPACEENTRY, (int)outputColorSpace);
335  group.writeEntry(OPTIONAUTOBRIGHTNESSENTRY, autoBrightness);
336 
337  //-- Extended demosaicing settings ----------------------------------------------------------
338 
339  group.writeEntry(OPTIONDCBITERATIONSENTRY, dcbIterations);
340  group.writeEntry(OPTIONDCBENHANCEFLENTRY, dcbEnhanceFl);
341  group.writeEntry(OPTIONEECIREFINEENTRY, eeciRefine);
342  group.writeEntry(OPTIONESMEDPASSESENTRY, esMedPasses);
343  group.writeEntry(OPTIONNRCHROMINANCETHRESHOLDENTRY, NRChroThreshold);
344  group.writeEntry(OPTIONEXPOCORRECTIONENTRY, expoCorrection);
345  group.writeEntry(OPTIONEXPOCORRECTIONSHIFTENTRY, expoCorrectionShift);
346  group.writeEntry(OPTIONEXPOCORRECTIONHIGHLIGHTENTRY, expoCorrectionHighlight);
347 }
348 
349 QDebug operator<<(QDebug dbg, const RawDecodingSettings& s)
350 {
351  dbg.nospace() << endl;
352  dbg.nospace() << "-- RAW DECODING SETTINGS --------------------------------" << endl;
353  dbg.nospace() << "-- autoBrightness: " << s.autoBrightness << endl;
354  dbg.nospace() << "-- sixteenBitsImage: " << s.sixteenBitsImage << endl;
355  dbg.nospace() << "-- brightness: " << s.brightness << endl;
356  dbg.nospace() << "-- RAWQuality: " << s.RAWQuality << endl;
357  dbg.nospace() << "-- inputColorSpace: " << s.inputColorSpace << endl;
358  dbg.nospace() << "-- outputColorSpace: " << s.outputColorSpace << endl;
359  dbg.nospace() << "-- RGBInterpolate4Colors: " << s.RGBInterpolate4Colors << endl;
360  dbg.nospace() << "-- DontStretchPixels: " << s.DontStretchPixels << endl;
361  dbg.nospace() << "-- unclipColors: " << s.unclipColors << endl;
362  dbg.nospace() << "-- whiteBalance: " << s.whiteBalance << endl;
363  dbg.nospace() << "-- customWhiteBalance: " << s.customWhiteBalance << endl;
364  dbg.nospace() << "-- customWhiteBalanceGreen: " << s.customWhiteBalanceGreen << endl;
365  dbg.nospace() << "-- halfSizeColorImage: " << s.halfSizeColorImage << endl;
366  dbg.nospace() << "-- enableBlackPoint: " << s.enableBlackPoint << endl;
367  dbg.nospace() << "-- blackPoint: " << s.blackPoint << endl;
368  dbg.nospace() << "-- enableWhitePoint: " << s.enableWhitePoint << endl;
369  dbg.nospace() << "-- whitePoint: " << s.whitePoint << endl;
370  dbg.nospace() << "-- NoiseReductionType: " << s.NRType << endl;
371  dbg.nospace() << "-- NoiseReductionThreshold: " << s.NRThreshold << endl;
372  dbg.nospace() << "-- enableCACorrection: " << s.enableCACorrection << endl;
373  dbg.nospace() << "-- caMultiplier: " << s.caMultiplier[0]
374  << ", " << s.caMultiplier[1] << endl;
375  dbg.nospace() << "-- medianFilterPasses: " << s.medianFilterPasses << endl;
376  dbg.nospace() << "-- inputProfile: " << s.inputProfile << endl;
377  dbg.nospace() << "-- outputProfile: " << s.outputProfile << endl;
378  dbg.nospace() << "-- deadPixelMap: " << s.deadPixelMap << endl;
379  dbg.nospace() << "-- whiteBalanceArea: " << s.whiteBalanceArea << endl;
380 
381  //-- Extended demosaicing settings ----------------------------------------------------------
382 
383  dbg.nospace() << "-- dcbIterations: " << s.dcbIterations << endl;
384  dbg.nospace() << "-- dcbEnhanceFl: " << s.dcbEnhanceFl << endl;
385  dbg.nospace() << "-- eeciRefine: " << s.eeciRefine << endl;
386  dbg.nospace() << "-- esMedPasses: " << s.esMedPasses << endl;
387  dbg.nospace() << "-- NRChrominanceThreshold: " << s.NRChroThreshold << endl;
388  dbg.nospace() << "-- expoCorrection: " << s.expoCorrection << endl;
389  dbg.nospace() << "-- expoCorrectionShift: " << s.expoCorrectionShift << endl;
390  dbg.nospace() << "-- expoCorrectionHighlight: " << s.expoCorrectionHighlight << endl;
391  dbg.nospace() << "---------------------------------------------------------" << endl;
392 
393  return dbg.space();
394 }
395 
396 } // namespace KDcrawIface
KDcrawIface::RawDecodingSettings::whiteBalance
WhiteBalance whiteBalance
White balance type to use.
Definition: rawdecodingsettings.h:217
KDcrawIface::RawDecodingSettings::unclipColors
int unclipColors
Unclip Highlight color level: 0 = Clip all highlights to solid white.
Definition: rawdecodingsettings.h:242
OPTIONEXPOCORRECTIONENTRY
#define OPTIONEXPOCORRECTIONENTRY
Definition: rawdecodingsettings.cpp:66
KDcrawIface::RawDecodingSettings::NONR
Definition: rawdecodingsettings.h:132
KDcrawIface::RawDecodingSettings::halfSizeColorImage
bool halfSizeColorImage
Half-size color image decoding (twice as fast as "enableRAWQuality").
Definition: rawdecodingsettings.h:213
KDcrawIface::RawDecodingSettings::brightness
double brightness
Brightness of output image.
Definition: rawdecodingsettings.h:276
OPTIONCABLUEMULTIPLIERENTRY
#define OPTIONCABLUEMULTIPLIERENTRY
Definition: rawdecodingsettings.cpp:46
KDcrawIface::RawDecodingSettings::dcbIterations
int dcbIterations
For DCB interpolation.
Definition: rawdecodingsettings.h:328
KDcrawIface::RawDecodingSettings::eeciRefine
bool eeciRefine
For VCD_AHD interpolation.
Definition: rawdecodingsettings.h:338
KDcrawIface::RawDecodingSettings::RGBInterpolate4Colors
bool RGBInterpolate4Colors
Turn on RAW file decoding using RGB interpolation as four colors.
Definition: rawdecodingsettings.h:226
OPTIONOUTPUTCOLORSPACEENTRY
#define OPTIONOUTPUTCOLORSPACEENTRY
Definition: rawdecodingsettings.cpp:50
KDcrawIface::RawDecodingSettings::deadPixelMap
QString deadPixelMap
Path to text file including dead pixel list.
Definition: rawdecodingsettings.h:314
OPTIONFOURCOLORRGBENTRY
#define OPTIONFOURCOLORRGBENTRY
Definition: rawdecodingsettings.cpp:35
KDcrawIface::RawDecodingSettings::inputProfile
QString inputProfile
Path to custom input ICC profile to define the camera's raw colorspace.
Definition: rawdecodingsettings.h:301
OPTIONEXPOCORRECTIONSHIFTENTRY
#define OPTIONEXPOCORRECTIONSHIFTENTRY
Definition: rawdecodingsettings.cpp:67
KDcrawIface::RawDecodingSettings::RAWQuality
DecodingQuality RAWQuality
RAW quality decoding factor value.
Definition: rawdecodingsettings.h:247
OPTIONCUSTOMWHITEBALANCEENTRY
#define OPTIONCUSTOMWHITEBALANCEENTRY
Definition: rawdecodingsettings.cpp:33
OPTIONWHITEPOINTENTRY
#define OPTIONWHITEPOINTENTRY
Definition: rawdecodingsettings.cpp:57
KDcrawIface::RawDecodingSettings::expoCorrectionHighlight
double expoCorrectionHighlight
Amount of highlight preservation for exposure correction before interpolation in E.V.
Definition: rawdecodingsettings.h:364
OPTIONAUTOBRIGHTNESSENTRY
#define OPTIONAUTOBRIGHTNESSENTRY
Definition: rawdecodingsettings.cpp:47
KDcrawIface::RawDecodingSettings::esMedPasses
int esMedPasses
Use edge-sensitive median filtering for artifact supression after VCD demosaicing.
Definition: rawdecodingsettings.h:344
QDebug::nospace
QDebug & nospace()
KDcrawIface::RawDecodingSettings::outputProfile
QString outputProfile
Path to custom output ICC profile to define the color workspace.
Definition: rawdecodingsettings.h:310
KDcrawIface::RawDecodingSettings::sixteenBitsImage
bool sixteenBitsImage
Turn on RAW file decoding in 16 bits per color per pixel instead 8 bits.
Definition: rawdecodingsettings.h:207
KDcrawIface::RawDecodingSettings::~RawDecodingSettings
virtual ~RawDecodingSettings()
Standard destructor.
Definition: rawdecodingsettings.cpp:126
KDcrawIface::RawDecodingSettings::outputColorSpace
OutputColorSpace outputColorSpace
The output color profile used to decoded RAW data.
Definition: rawdecodingsettings.h:306
OPTIONNOISEREDUCTIONTHRESHOLDENTRY
#define OPTIONNOISEREDUCTIONTHRESHOLDENTRY
Definition: rawdecodingsettings.cpp:43
OPTIONDCBITERATIONSENTRY
#define OPTIONDCBITERATIONSENTRY
Definition: rawdecodingsettings.cpp:61
KDcrawIface::RawDecodingSettings::dcbEnhanceFl
bool dcbEnhanceFl
Turn on the DCB interpolation with enhance interpolated colors.
Definition: rawdecodingsettings.h:332
KDcrawIface::RawDecodingSettings::NRThreshold
int NRThreshold
Noise reduction threshold value.
Definition: rawdecodingsettings.h:261
KDcrawIface::RawDecodingSettings::writeSettings
void writeSettings(KConfigGroup &group)
Definition: rawdecodingsettings.cpp:312
QRect
KDcrawIface::RawDecodingSettings::enableCACorrection
bool enableCACorrection
Turn on chromatic aberrations correction.
Definition: rawdecodingsettings.h:265
OPTIONDCBENHANCEFLENTRY
#define OPTIONDCBENHANCEFLENTRY
Definition: rawdecodingsettings.cpp:62
KDcrawIface::RawDecodingSettings::WhiteBalance
WhiteBalance
White balances alternatives NONE: no white balance used : reverts to standard daylight D65 WB...
Definition: rawdecodingsettings.h:114
KDcrawIface::RawDecodingSettings::DecodingQuality
DecodingQuality
RAW decoding Interpolation methods.
Definition: rawdecodingsettings.h:89
KDcrawIface::operator<<
QDebug operator<<(QDebug dbg, const DcrawInfoContainer &c)
kDebug() stream operator. Writes container c to the debug output in a nicely formatted way...
Definition: dcrawinfocontainer.cpp:152
KDcrawIface::RawDecodingSettings::caMultiplier
double caMultiplier[2]
Magnification factor for Red and Blue layers.
Definition: rawdecodingsettings.h:272
rawdecodingsettings.h
===========================================================This file is a part of digiKam project htt...
KDcrawIface::RawDecodingSettings::whitePoint
int whitePoint
White Point value of output image.
Definition: rawdecodingsettings.h:292
KDcrawIface::RawDecodingSettings::optimizeTimeLoading
void optimizeTimeLoading()
Method to use a settings to optimize time loading, for exemple to compute image histogram.
Definition: rawdecodingsettings.cpp:219
OPTIONBLACKPOINTENTRY
#define OPTIONBLACKPOINTENTRY
Definition: rawdecodingsettings.cpp:55
KDcrawIface::RawDecodingSettings::blackPoint
int blackPoint
Black Point value of output image.
Definition: rawdecodingsettings.h:284
OPTIONEECIREFINEENTRY
#define OPTIONEECIREFINEENTRY
Definition: rawdecodingsettings.cpp:63
QString
OPTIONNOISEREDUCTIONTYPEENTRY
#define OPTIONNOISEREDUCTIONTYPEENTRY
Definition: rawdecodingsettings.cpp:42
OPTIONUNCLIPCOLORSENTRY
#define OPTIONUNCLIPCOLORSENTRY
Definition: rawdecodingsettings.cpp:36
KDcrawIface::RawDecodingSettings::NOINPUTCS
Definition: rawdecodingsettings.h:146
QDebug::space
QDebug & space()
OPTIONWHITEBALANCEENTRY
#define OPTIONWHITEBALANCEENTRY
Definition: rawdecodingsettings.cpp:32
OPTIONNRCHROMINANCETHRESHOLDENTRY
#define OPTIONNRCHROMINANCETHRESHOLDENTRY
Definition: rawdecodingsettings.cpp:65
KDcrawIface::RawDecodingSettings::OutputColorSpace
OutputColorSpace
Output RGB color space used to decoded image RAWCOLOR: No output color profile (Linear RAW)...
Definition: rawdecodingsettings.h:159
KDcrawIface::RawDecodingSettings::CAMERA
Definition: rawdecodingsettings.h:117
KDcrawIface::RawDecodingSettings::customWhiteBalance
int customWhiteBalance
The temperature and the green multiplier of the custom white balance.
Definition: rawdecodingsettings.h:221
QDebug
KDcrawIface::RawDecodingSettings::NRChroThreshold
int NRChroThreshold
For IMPULSENR Noise reduction.
Definition: rawdecodingsettings.h:349
OPTIONEXPOCORRECTIONHIGHLIGHTENTRY
#define OPTIONEXPOCORRECTIONHIGHLIGHTENTRY
Definition: rawdecodingsettings.cpp:68
OPTIONDONTSTRETCHPIXELSENTRY
#define OPTIONDONTSTRETCHPIXELSENTRY
Definition: rawdecodingsettings.cpp:39
OPTIONFIXCOLORSHIGHLIGHTSENTRY
#define OPTIONFIXCOLORSHIGHLIGHTSENTRY
Definition: rawdecodingsettings.cpp:30
KDcrawIface::RawDecodingSettings::enableBlackPoint
bool enableBlackPoint
Turn on the black point setting to decode RAW image.
Definition: rawdecodingsettings.h:280
KDcrawIface::RawDecodingSettings::expoCorrection
bool expoCorrection
Turn on the Exposure Correction before interpolation.
Definition: rawdecodingsettings.h:353
OPTIONCUSTOMWBGREENENTRY
#define OPTIONCUSTOMWBGREENENTRY
Definition: rawdecodingsettings.cpp:34
OPTIONUSECACORRECTIONENTRY
#define OPTIONUSECACORRECTIONENTRY
Definition: rawdecodingsettings.cpp:44
OPTIONUSEBLACKPOINTENTRY
#define OPTIONUSEBLACKPOINTENTRY
Definition: rawdecodingsettings.cpp:54
KDcrawIface::RawDecodingSettings::operator=
RawDecodingSettings & operator=(const RawDecodingSettings &prm)
Equivalent to the copy constructor.
Definition: rawdecodingsettings.cpp:130
KDcrawIface::RawDecodingSettings::operator==
bool operator==(const RawDecodingSettings &o) const
Compare for equality.
Definition: rawdecodingsettings.cpp:175
OPTIONUSEWHITEPOINTENTRY
#define OPTIONUSEWHITEPOINTENTRY
Definition: rawdecodingsettings.cpp:56
KDcrawIface::RawDecodingSettings::whiteBalanceArea
QRect whiteBalanceArea
Rectangle used to calculate the white balance by averaging the region of image.
Definition: rawdecodingsettings.h:318
OPTIONESMEDPASSESENTRY
#define OPTIONESMEDPASSESENTRY
Definition: rawdecodingsettings.cpp:64
KDcrawIface::RawDecodingSettings::readSettings
void readSettings(KConfigGroup &group)
Methods to read/write settings from/to a config file.
Definition: rawdecodingsettings.cpp:269
OPTIONMEDIANFILTERPASSESENTRY
#define OPTIONMEDIANFILTERPASSESENTRY
Definition: rawdecodingsettings.cpp:41
OPTIONDECODESIXTEENBITENTRY
#define OPTIONDECODESIXTEENBITENTRY
Definition: rawdecodingsettings.cpp:31
OPTIONDECODINGQUALITYENTRY
#define OPTIONDECODINGQUALITYENTRY
Definition: rawdecodingsettings.cpp:48
KDcrawIface::RawDecodingSettings::customWhiteBalanceGreen
double customWhiteBalanceGreen
Definition: rawdecodingsettings.h:222
KDcrawIface::RawDecodingSettings::inputColorSpace
InputColorSpace inputColorSpace
The input color profile used to decoded RAW data.
Definition: rawdecodingsettings.h:297
KDcrawIface::RawDecodingSettings
Definition: rawdecodingsettings.h:50
KDcrawIface::RawDecodingSettings::BILINEAR
Definition: rawdecodingsettings.h:92
KDcrawIface::RawDecodingSettings::RawDecodingSettings
RawDecodingSettings()
Standard constructor with default settings.
Definition: rawdecodingsettings.cpp:75
KDcrawIface::RawDecodingSettings::SRGB
Definition: rawdecodingsettings.h:162
KDcrawIface::RawDecodingSettings::NoiseReduction
NoiseReduction
Noise Reduction method to apply before demosaicing NONR: No noise reduction.
Definition: rawdecodingsettings.h:130
KDcrawIface::RawDecodingSettings::enableWhitePoint
bool enableWhitePoint
Turn on the white point setting to decode RAW image.
Definition: rawdecodingsettings.h:288
KDcrawIface::RawDecodingSettings::DontStretchPixels
bool DontStretchPixels
For cameras with non-square pixels, do not stretch the image to its correct aspect ratio...
Definition: rawdecodingsettings.h:232
KDcrawIface::RawDecodingSettings::NRType
NoiseReduction NRType
Noise reduction method to apply before demosaicing.
Definition: rawdecodingsettings.h:256
KDcrawIface::RawDecodingSettings::expoCorrectionShift
double expoCorrectionShift
Shift of Exposure Correction before interpolation in linear scale.
Definition: rawdecodingsettings.h:358
OPTIONCAREDMULTIPLIERENTRY
#define OPTIONCAREDMULTIPLIERENTRY
Definition: rawdecodingsettings.cpp:45
OPTIONBRIGHTNESSMULTIPLIERENTRY
#define OPTIONBRIGHTNESSMULTIPLIERENTRY
Definition: rawdecodingsettings.cpp:53
KDcrawIface::RawDecodingSettings::medianFilterPasses
int medianFilterPasses
After interpolation, clean up color artifacts by repeatedly applying a 3x3 median filter to the R-G a...
Definition: rawdecodingsettings.h:252
KDcrawIface::RawDecodingSettings::fixColorsHighlights
bool fixColorsHighlights
If true, images with overblown channels are processed much more accurate, without 'pink clouds' (and ...
Definition: rawdecodingsettings.h:199
KDcrawIface::RawDecodingSettings::autoBrightness
bool autoBrightness
If false, use a fixed white level, ignoring the image histogram.
Definition: rawdecodingsettings.h:203
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libs/libkdcraw/libkdcraw

Skip menu "libs/libkdcraw/libkdcraw"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal