digiKam
Digikam::DRawDecoderSettings Class Reference

Public Types

enum  DecodingQuality {
  BILINEAR = 0 , VNG = 1 , PPG = 2 , AHD = 3 ,
  DCB = 4 , DHT = 11 , AAHD = 12
}
 
enum  InputColorSpace { NOINPUTCS = 0 , EMBEDDED , CUSTOMINPUTCS }
 
enum  NoiseReduction { NONR = 0 , WAVELETSNR , FBDDNR }
 
enum  OutputColorSpace {
  RAWCOLOR = 0 , SRGB , ADOBERGB , WIDEGAMMUT ,
  PROPHOTO , CUSTOMOUTPUTCS
}
 
enum  WhiteBalance {
  NONE = 0 , CAMERA = 1 , AUTO = 2 , CUSTOM = 3 ,
  AERA = 4
}
 

Public Member Functions

 DRawDecoderSettings ()
 
 DRawDecoderSettings (const DRawDecoderSettings &o)
 
DRawDecoderSettingsoperator= (const DRawDecoderSettings &o)
 
bool operator== (const DRawDecoderSettings &o) const
 
void optimizeTimeLoading ()
 
 ~DRawDecoderSettings ()
 

Public Attributes

bool autoBrightness
 
int blackPoint
 
double brightness
 
int customWhiteBalance
 
double customWhiteBalanceGreen
 
bool dcbEnhanceFl
 
int dcbIterations
 For DCB interpolation. More...
 
QString deadPixelMap
 
bool DontStretchPixels
 
bool enableBlackPoint
 
bool enableWhitePoint
 
bool expoCorrection
 
double expoCorrectionHighlight
 
double expoCorrectionShift
 
bool fixColorsHighlights
 
bool halfSizeColorImage
 
InputColorSpace inputColorSpace
 
QString inputProfile
 
int medianFilterPasses
 
int NRThreshold
 
NoiseReduction NRType
 
OutputColorSpace outputColorSpace
 
QString outputProfile
 
DecodingQuality RAWQuality
 
bool RGBInterpolate4Colors
 
bool sixteenBitsImage
 
int unclipColors
 
WhiteBalance whiteBalance
 
QRect whiteBalanceArea
 
int whitePoint
 

Member Enumeration Documentation

◆ DecodingQuality

RAW decoding Interpolation methods

NOTE: from original dcraw demosaic

Bilinear: use high-speed but low-quality bilinear interpolation (default - for slow computer). In this method, the red value of a non-red pixel is computed as the average of the adjacent red pixels, and similar for blue and green. VNG: use Variable Number of Gradients interpolation. This method computes gradients near the pixel of interest and uses the lower gradients (representing smoother and more similar parts of the image) to make an estimate. PPG: use Patterned Pixel Grouping interpolation. Pixel Grouping uses assumptions about natural scenery in making estimates. It has fewer color artifacts on natural images than the Variable Number of Gradients method. AHD: use Adaptive Homogeneity-Directed interpolation. This method selects the direction of interpolation so as to maximize a homogeneity metric, thus typically minimizing color artifacts. DCB: DCB interpolation (see www.linuxphoto.org/html/dcb.html for details) DHT: DHT interpolation. AAHD: Enhanced Adaptive AHD interpolation.

Enumerator
BILINEAR 
VNG 
PPG 
AHD 
DCB 
DHT 
AAHD 

◆ InputColorSpace

Input color profile used to decoded image NOINPUTCS: No input color profile. EMBEDDED: Use the camera profile embedded in RAW file if exist. CUSTOMINPUTCS: Use a custom input color space profile.

Enumerator
NOINPUTCS 
EMBEDDED 
CUSTOMINPUTCS 

◆ NoiseReduction

Noise Reduction method to apply before demosaicing NONR: No noise reduction. WAVELETSNR: wavelets correction to erase noise while preserving real detail. It's applied after interpolation. FBDDNR: Fake Before Demosaicing Denoising noise reduction. It's applied before interpolation.

Enumerator
NONR 
WAVELETSNR 
FBDDNR 

◆ OutputColorSpace

Output RGB color space used to decoded image RAWCOLOR: No output color profile (Linear RAW). SRGB: Use standard sRGB color space. ADOBERGB: Use standard Adobe RGB color space. WIDEGAMMUT: Use standard RGB Wide Gamut color space. PROPHOTO: Use standard RGB Pro Photo color space. CUSTOMOUTPUTCS: Use a custom workspace color profile.

Enumerator
RAWCOLOR 
SRGB 
ADOBERGB 
WIDEGAMMUT 
PROPHOTO 
CUSTOMOUTPUTCS 

◆ WhiteBalance

White balances alternatives NONE: no white balance used : reverts to standard daylight D65 WB. CAMERA: Use the camera embedded WB if available. Reverts to NONE if not. AUTO: Averages an auto WB on the entire image. CUSTOM: Let use set it's own temperature and green factor (later converted to RGBG factors). AERA: Let use an area from image to average white balance (see whiteBalanceArea for details).

Enumerator
NONE 
CAMERA 
AUTO 
CUSTOM 
AERA 

Constructor & Destructor Documentation

◆ DRawDecoderSettings() [1/2]

Digikam::DRawDecoderSettings::DRawDecoderSettings ( )

Standard constructor with default settings

◆ DRawDecoderSettings() [2/2]

Digikam::DRawDecoderSettings::DRawDecoderSettings ( const DRawDecoderSettings o)

Equivalent to the copy constructor

◆ ~DRawDecoderSettings()

Digikam::DRawDecoderSettings::~DRawDecoderSettings ( )

Standard destructor

Member Function Documentation

◆ operator=()

◆ operator==()

◆ optimizeTimeLoading()

Member Data Documentation

◆ autoBrightness

◆ blackPoint

◆ brightness

◆ customWhiteBalance

◆ customWhiteBalanceGreen

◆ dcbEnhanceFl

◆ dcbIterations

◆ deadPixelMap

QString Digikam::DRawDecoderSettings::deadPixelMap

◆ DontStretchPixels

bool Digikam::DRawDecoderSettings::DontStretchPixels

For cameras with non-square pixels, do not stretch the image to its correct aspect ratio. In any case, this option guarantees that each output pixel corresponds to one RAW pixel.

Referenced by Digikam::DRawDecoding::decodingSettingsFromXml(), Digikam::DRawDecoding::decodingSettingsToXml(), Digikam::operator<<(), operator=(), operator==(), optimizeTimeLoading(), Digikam::DRawDecoderWidget::readSettings(), Digikam::DRawDecoderWidget::setSettings(), Digikam::DRawDecoderWidget::settings(), and Digikam::DRawDecoderWidget::writeSettings().

◆ enableBlackPoint

◆ enableWhitePoint

◆ expoCorrection

◆ expoCorrectionHighlight

double Digikam::DRawDecoderSettings::expoCorrectionHighlight

Amount of highlight preservation for exposure correction before interpolation in E.V. Usable range is from 0.0 (linear exposure shift, highlights may blow) to 1.0 (maximum highlights preservation) This settings can only take effect if expoCorrectionShift > 1.0.

Referenced by Digikam::DRawDecoding::decodingSettingsFromXml(), Digikam::DRawDecoding::decodingSettingsToXml(), Digikam::operator<<(), operator=(), operator==(), optimizeTimeLoading(), Digikam::DRawDecoderWidget::readSettings(), Digikam::DRawDecoderWidget::setSettings(), Digikam::DRawDecoderWidget::settings(), and Digikam::DRawDecoderWidget::writeSettings().

◆ expoCorrectionShift

double Digikam::DRawDecoderSettings::expoCorrectionShift

◆ fixColorsHighlights

bool Digikam::DRawDecoderSettings::fixColorsHighlights

◆ halfSizeColorImage

◆ inputColorSpace

InputColorSpace Digikam::DRawDecoderSettings::inputColorSpace

◆ inputProfile

◆ medianFilterPasses

◆ NRThreshold

int Digikam::DRawDecoderSettings::NRThreshold

◆ NRType

◆ outputColorSpace

◆ outputProfile

◆ RAWQuality

◆ RGBInterpolate4Colors

◆ sixteenBitsImage

◆ unclipColors

int Digikam::DRawDecoderSettings::unclipColors

Unclip Highlight color level: 0 = Clip all highlights to solid white. 1 = Leave highlights unclipped in various shades of pink. 2 = Blend clipped and unclipped values together for a gradual fade to white. 3-9 = Reconstruct highlights. Low numbers favor whites; high numbers favor colors.

Referenced by Digikam::DRawDecoding::decodingSettingsFromXml(), Digikam::DRawDecoding::decodingSettingsToXml(), Digikam::operator<<(), operator=(), operator==(), optimizeTimeLoading(), Digikam::DRawDecoderWidget::readSettings(), Digikam::DRawDecoderWidget::setSettings(), Digikam::DRawDecoderWidget::settings(), and Digikam::DRawDecoderWidget::writeSettings().

◆ whiteBalance

◆ whiteBalanceArea

QRect Digikam::DRawDecoderSettings::whiteBalanceArea

Rectangle used to calculate the white balance by averaging the region of image.

Referenced by Digikam::DRawDecoding::decodingSettingsFromXml(), Digikam::DRawDecoding::decodingSettingsToXml(), Digikam::operator<<(), operator=(), operator==(), and optimizeTimeLoading().

◆ whitePoint


The documentation for this class was generated from the following files: