digiKam usually does a decent job of decoding RAW files using the default settings. But if you prefer to have complete control of how the application processes RAW files, choose Settings » Configure digiKam, switch to the RAW Decoding section, and enable the Always open the Raw Import Tool to customize settings option. Next time you open a RAW file for editing, digiKam drops you into the RAW Import interface where you can tweak the RAW import and post-processing settings. digiKam relies on the LibRaw library for all RAW processing. LibRaw is a pure C++ library which includes demosaicing algorithms from the dcraw software as well as algorithms from other projects like Rawtherapee.
The RAW Import sidebar contains three tabs: RAW Decoding, Post Processing, and Info. The RAW Decoding section gives you access to settings that let you tweak demosaicing, white balance, noise reduction and chromatic aberration correction, and color management settings.
Demosaicing is a process of reconstructing a full color image from the raw output of an image sensor. To better understand what demosaicing is and how it works, you might want to check the Understanding Digital Camera Sensors article. digiKam (or rather the LibRaw library) supports several demosaicing algorithms, including Bilinear, VNG, AHD, LMMSE, and others. You can use the Shift+F1 keyboard shortcut to view a brief, and rather technical, description of each algorithm. But the best way to see the differences between different algorithms is to try to apply them to the currently opened RAW file. Select the algorithm you want, and press the Update button to preview the result. The preview pane displays an image that will be imported in the editor, and you can use the zoom slider at the bottom of the window to zoom in on the image for closer examination.
By default, digiKam converts RAW files into 8-bit color images, but you can choose the 16-bit mode instead by enabling the 16 bits color depth option. The 8-bit mode is faster, but the 16-bit conversion is by far the best way to go, as it provides better tonal range. If you choose to work in the 16-bit mode, it’s recommended that you enable and configure color management options in the Color Management section to prevent dark rendering of the image in the editor. Due to the way certain algorithms process green pixels, the resulting image can contain undesirable patterns and artifacts. Enabling the Interpolate RGB as four colors option can fix that. The Do not stretch or rotate pixels option is there specifically for Fujifilm’s cameras with the Super CCD sensors and cameras using sensors with non-square pixels. When this option is enabled, the image is titled 45 degrees, so that each output pixel corresponds to one RAW pixel. This option also prevents the image from stretching to its correct aspect ratio.
In the White Balance section, you can adjust white balance settings and specify how the system should handle highlight clippings (overexposed areas in the photo). LibRaw offers several algorithms for restoring highlight clippings — Solid White, Unclip, Bend, and Rebuild — and you can view their brief description by using the Shift+F1 keyboard shortcut. To process highlights more accurately, enable the Correct false colors in highlights option. And if you want LibRaw to automatically adjust brightness, tick the Auto Brightness check box. Besides white balance, you can also enable and adjust the Exposure Correction option and manually tweak exposure compensation settings. The under- and overexposure buttons at the bottom can identify under- and overexposed areas of the photo in the preview pane, which can help you to adjust exposure settings.
Using the options in the Corrections section, you can choose to apply one of the supported noise reduction algorithms to the image as well as enable the chromatic aberration correction option and adjust its settings. And in the Color Management section, you can specify a color profile and a color space (refer to Color Management in digiKam for more info on color management).
Under the Post Processing tab, you can adjust several exposure settings (e.g., brightness, contrast, gamma, and exposure) as well as adjust the luminosity curve. While these adjustments can be performed later when editing the converted image, you can choose to do this during the RAW import to streamline the editing process. digiKam applies all adjustments to the preview image, so you can immediately see the result of your tweaking without performing the actual conversion.
Once you’re satisfied with the settings and adjustments you made, press the Import button to import and process the RAW file. And remember: if in doubt, you can always press the Use Default button to let digiKam import the RAW file using the default settings.
I really like the import tool feature wise, but from a performance perspective, I’m less happy. I have a quite modern i7 machine with plenty of RAM so no problem there.
Comparing the speed of changing e.g. the luminosity curve to the speed you have in RawTherapee, the difference is enormous and really almost made me switch to RawTherapee if it wouldn’t crash so often.
I don’t know why there is such a dramatic difference, but I’d like to point it out in hope some improvements can be made
I have problems with performance too. In a modern computer, raw import (and test, algoritms for example) is very slow
Speed performance for RAW processing is delegate to libkdcraw/libraw. Compile this library in final not debug to turn on all optimization. Also, take a care to install libgomp (OpenMP), which will enable parallelization of demozaicing operations. Computation time will be increased a lots…
In my case, I installed digikam using gentoo ebuilds, so all is optimized and stripped. I’m unsure about openmp though, have to check. But I’d be surprised to see it get such a performance boost
Oh, and another thing – adjusting the gradiation curve or the brightness (in the raw importer) use libraw? Because that sortof seems independent to me
Gilles, I guess we need to add “-fopenmp” to the command line options for GCC. I did this and digiKam became so much faster now. It seems like the default settings are not enabling openmp, at least not on my system.
Gilles, look here:
I don’t think it is activated by default.
@Benjamin You are right. Exposure and curve adjustments don’t rely on LibRaw. I should have made it clear in the article.
i almost never use digikam to process RAW…..but i love the basic features that it has….
In terms of RAW i always use darktable…which is quite good, fast and stable compared to RAWTHERAPEE!!