Bug 307314

Summary: Digikam uses AHD when set to AMaZE, AFD etc.
Product: [Applications] digikam Reporter: S. Burmeister <sven.burmeister>
Component: Plugin-DImg-RAWAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version First Reported In: 3.0.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 3.0.0
Sentry Crash Report:

Description S. Burmeister 2012-09-24 08:52:57 UTC
If one sets the raw import utility in the editor to use bilinear digikam's debug output shows that it uses bilinear. If one sets it to AMaZE or e.g. AFD it shows:

AHD interpolation...

Should this not be AMaZE, AFD etc.?

Reproducible: Always
Comment 1 caulier.gilles 2012-09-24 09:09:03 UTC
Not reproducible. Settings is show through this trace :

-- RAW DECODING SETTINGS --------------------------------
-- autoBrightness:          true
-- sixteenBitsImage:        true
-- brightness:              1
-- RAWQuality:              9
-- inputColorSpace:         0
-- outputColorSpace:        1
-- RGBInterpolate4Colors:   false
-- DontStretchPixels:       false
-- unclipColors:            2
-- whiteBalance:            1
-- customWhiteBalance:      6500
-- customWhiteBalanceGreen: 1
-- halfSizeColorImage:      false
-- enableBlackPoint:        false
-- blackPoint:              0
-- enableWhitePoint:        false
-- whitePoint:              0
-- NoiseReductionType:      0
-- NoiseReductionThreshold: 0
-- enableCACorrection:      false
-- caMultiplier:            0, 0
-- medianFilterPasses:      0
-- inputProfile:            ""
-- outputProfile:           ""
-- deadPixelMap:            ""
-- whiteBalanceArea:        QRect(0,0 0x0)
-- dcbIterations:           -1
-- dcbEnhanceFl:            false
-- eeciRefine:              false
-- esMedPasses:             0
-- NRChrominaceThreshold:   0
-- expoCorrection:          false
-- expoCorrectionShift:     1
-- expoCorrectionHighlight: 0
---------------------------------------------------------

Where " -- RAWQuality:              9" here mean LMMSE, in this example. Changing quality in GUI, change RAW settings passed to LibRaw accordingly.

The message "AHD interpolation..." printed after settings trace come from LibRaw, not digiKam. I think it's a generic printf to indicate which action is done, not which interpolation method is used exactly. As you can see in source code :

https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw/repository/revisions/master/entry/libraw/internal/dcraw_common.cpp#L4114

...printed message is hardcoded...

Gilles Caulier