Bug 307314 - Digikam uses AHD when set to AMaZE, AFD etc.
Summary: Digikam uses AHD when set to AMaZE, AFD etc.
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-RAW (show other bugs)
Version: 3.0.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-24 08:52 UTC by S. Burmeister
Modified: 2012-09-24 09:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 3.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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